You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Blackbox values in GLYPHMETRICS don't seem to account for hinting.
The appended image should be illustrative.
I also posted this at stackoverflow.
To Reproduce
Steps to reproduce the behavior:
Look at individual glyph bitmaps drawn with DrawText() using the font Consolas.ttf
Look at GLYPHMETRICS data loaded with GetGlyphOutlineA.
See that the black box values designate a smaller rectangle than the drawn glyph's rectangle.
Expected behavior
The black box values are explicitly said to enclose the glyph.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Additional context
Hinting is pain.
The text was updated successfully, but these errors were encountered:
Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).
Hi - sorry for taking so long to get back to you. Unfortunately this doesn't appear to be a documentation issue. My advice would be to ask on the Microsoft Q&A website. If you still need to resolve the issue, please re-open the bug and we can try and find more answers. https://docs.microsoft.com/en-us/answers/products/
Describe the bug
Blackbox values in GLYPHMETRICS don't seem to account for hinting.
The appended image should be illustrative.
I also posted this at stackoverflow.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The black box values are explicitly said to enclose the glyph.
Screenshots
Desktop (please complete the following information):
Additional context
Hinting is pain.
The text was updated successfully, but these errors were encountered: