mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2025-12-28 22:00:06 +01:00
* src/truetype/ttgload.c (tt_loader_init): Reset compatibility.
This may fix #1262, credits to Honnesh Ramachandra. https://lists.nongnu.org/archive/html/freetype-devel/2025-10/msg00004.html
This commit is contained in:
parent
4334f009e7
commit
f238830d77
1 changed files with 5 additions and 2 deletions
|
|
@ -2217,6 +2217,10 @@
|
|||
exec = size->context;
|
||||
|
||||
#ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
|
||||
/* reset backward compatibility; note that */
|
||||
/* the CVT program always runs without it */
|
||||
exec->backward_compatibility = 0;
|
||||
|
||||
if ( driver->interpreter_version == TT_INTERPRETER_VERSION_40 )
|
||||
{
|
||||
grayscale = FALSE;
|
||||
|
|
@ -2283,8 +2287,7 @@
|
|||
mode != FT_RENDER_MODE_MONO &&
|
||||
!FT_IS_TRICKY( glyph->face ) )
|
||||
exec->backward_compatibility = ( size->GS.instruct_control & 4 ) ^ 4;
|
||||
else
|
||||
exec->backward_compatibility = 0;
|
||||
|
||||
#endif /* TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL */
|
||||
|
||||
loader->exec = exec;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue