Some font can't display '-' flag

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

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.

2 Likes

Then, maybe this could fix that per font?

2 Likes


I use this to fix it.

1 Like