Archive 17/01/2023.

Some font can’t display ‘-’ flag

spwork

some font can’t display ‘-’ flag,but that font can display ‘-’ n other applications
image
,how should i fix it?

SirNate0

Pretty sure it’s a known issue. Unfortunately, I have no idea how to fix it. My suspicion is that it’s some sort of off-by-one bug where a font library is using base 1 positions and we are using base 0 positions or it is saying the bounds of a character are given as a rectangle with the upper bounds meant to be included and we treat it as upper bounds that are meant to be excluded. But I have no evidence for that, so take it with a grain of salt.

Modanung

Then, maybe this could fix that per font?

Modanung
spwork


I use this to fix it.