,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.
Then, maybe this could fix that per font?
I use this to fix it.