treesheets icon indicating copy to clipboard operation
treesheets copied to clipboard

Strange rendering of Strike-Through text

Open despens opened this issue 7 years ago • 3 comments

This is how TreeSheets renders strike-through text:

selection_999 316

This is how the rest of my system renders that formatting:

selection_999 317

Depending on font size, TreeSheets' strike can be hard to see and at a weird position. Also, it is always in the same color, no matter what's the font or background color:

selection_999 318

This is on Linux, so I'm not sure if there is a "standard" way to render this formatting, but TreeSheets is the only application where I see this looking differently from the rest of the system.

despens avatar Apr 19 '17 14:04 despens

That's because TreeSheets doesn't use the font rendering system for a strike-thru, it renders its own line. Not sure why I did that :)

aardappel avatar Apr 19 '17 15:04 aardappel

This is on Linux

Same problem on Windows, too, version Apr 29 2018:

2019-01-24 10_53_38-treesheets - _

endolith avatar Jan 24 '19 15:01 endolith

I fixed it here: https://github.com/aardappel/treesheets/commit/6439f631e87e66d178d02a86dd39f630f4feb4b4 (now uses proper font rendering)

aardappel avatar Jan 25 '19 04:01 aardappel