cardmaker
cardmaker copied to clipboard
FormattedText bold tag and word spacing issues
I'm getting some strange behavior with FormattedText and long words. You'll also get different results (characters spread out or are shift closer together) when increasing or decreasing the font size. I also have problems with some characters overlapping bolded characters (like in the last line in the picture).
<b>thistextisvery bold</b>\nthistextisnotveryveryveryvery bold\n<b>this text is very bold too</b>\nthis is also <b>bold</b>!
Hmm are you using any windows scaling functionality (display settings)?
This is how it looks for me with 100% scaling.
Weird test: what does the exported version look like?
I have windows 10 and here are my display settings if this is what you mean:
The exported image looks exactly as it does in the editor.
It look like you have the outline thickness set to 1. When I adjusted mine I saw the result you have. Can you switch it to 0? Outline has no impact on spacing.
Ohh, I see now. The letters shift around as soon as I set it to 1. Would it be possible to fix? I think the outline makes my text look sharper and easier to read, when it's not bugging out.
I'm not actually sure if it's possible to fix it and guarantee a good result. Bold in particular with and outline really messes up the spacing. I'll have to check it out. Letter spacing might be the next level of configurable setting.
The image in last reply is generally the use I've gone with and has looked fine (depending on the font).
I've noticed that the preview sometimes has weird spacing but when I go to export, it comes out looking perfectly. I don't know if I consider this to be a bug, just an artifact of trying to render real-time and possibility at lower fidelity?
Here's some examples, in order, of preview followed by output.