[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Change in behaviour when loading a glyphs from a font file in 2.13.2
From: |
Ciaran Kearney |
Subject: |
Change in behaviour when loading a glyphs from a font file in 2.13.2 |
Date: |
Tue, 21 Jan 2025 13:52:01 +0000 |
Hello,
We notice a regression/unexpected change in the Freetype library from version
2.13.2. Can you help clarify if it is a bug in the FreeType library?
When rendering the sample font file attached (sample_font_2.13.2.cff). The
resulting image is incorrect.
2.13.0
2.13.2
[cid:image001.png@01DB6C09.1BBFC620]
[cid:image002.png@01DB6C09.1BBFC620]
When looking at the internal glyph structure after the load glyph function, we
noticed that some of that fields were not populated (metrics, advance, outline
(x & y)). We think that the missing information in 2.13.2. is resulting in the
bad image above.
We are using the same flags, font file and loading the same glyph across both
versions.
FT_Load_Glyph(face, 45, FT_LOAD_RENDER | FT_LOAD_TARGET_LIGHT |
FT_LOAD_FORCE_AUTOHINT)
2.13.0
2.13.2
[cid:image003.png@01DB6C0A.29C7BBF0]
[cid:image004.png@01DB6C0A.29C7BBF0]
Thanks,
Ciaran Kearney
The information contained in this email may be confidential. It has been sent
for the sole use of the intended recipient(s). If the reader of this message is
not an intended recipient, you are hereby notified that any unauthorized
review, use, disclosure, dissemination, distribution, or copying of this
communication, or any of its contents, is strictly prohibited. If you have
received this communication in error, please reply to the sender and destroy
all copies of the message. To contact us directly, send to privacy@gonitro.com.
Thank you.




sample_font_2.13.2.cff
Description: sample_font_2.13.2.cff
- Change in behaviour when loading a glyphs from a font file in 2.13.2,
Ciaran Kearney <=