
Hello,
I initially posted this at
stackoverflow and
github but was advised that this might be a better place:
The problem is that values gmBlackBoxX and gmBlackBoxY are supposed to give the dimensions of the rectangle enclosing the glyph. It seems like they are calculated before the hinting process takes place and this is a bug. Maybe you guys can tell me if it's something else.
Thanks
Comments
Background: Windows has a ton of different rendering modes. Seems like the GLYPHMETRICS structure is a basic Win32 API listed here: https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-glyphmetrics
This call exists in Windows 2000, which tells me that it is very old stuff. Certainly not part of any modern rendering stack. I imagine it must assume GDI rendering.
Windows has several text modes, introduced over the years.