writemonkey / wm3

168 stars 5 forks source link

Can indentation be improved? #278

Open jmcd040 opened 5 years ago

jmcd040 commented 5 years ago

I modified a Theme to use the "Segoe UI" font since I prefer that font. It works well except for indentation. This only affects the edit pane, not the preview or preview output.

As you can see from the sample below, when creating lists or indenting with spaces, the right edge of the text does not line up. The offset between the first line and successive lines gets worse the more spaces or indentation the paragraph has. It works ok if I use the fonts in your stock themes, but not Segoe UI. Is there something in the way your formatted the edit pane that can be improved to fix this? 2019-03-29-12-34-55-3798647

writemonkey commented 5 years ago

This is a known bug (with all proportional fonts). I am yet to find a solution for it. i.

jmcd040 commented 5 years ago

And yet whatever renders the preview doesn't have that problem. Hope you stumble onto something eventually.