mirror of
git://git.sv.nongnu.org/freetype/freetype2.git
synced 2026-01-19 04:52:09 +00: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user