freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master b63b702: * src/ftcommon.c (FTDemo_Hinting_Engin


From: Werner Lemberg
Subject: [freetype2-demos] master b63b702: * src/ftcommon.c (FTDemo_Hinting_Engine_Change): Minor fix.
Date: Sun, 5 Jun 2022 19:32:27 -0400 (EDT)

branch: master
commit b63b70280c3f2e303aa9375333c74cd13890e857
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    * src/ftcommon.c (FTDemo_Hinting_Engine_Change): Minor fix.
---
 src/ftcommon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ftcommon.c b/src/ftcommon.c
index 5269711..4873c91 100644
--- a/src/ftcommon.c
+++ b/src/ftcommon.c
@@ -969,14 +969,14 @@
     if ( error                                       ||
          !FT_IS_SCALABLE( face )                     ||
          !handle->hinted                             ||
+         handle->autohint                            ||
          handle->lcd_mode == LCD_MODE_LIGHT          ||
          handle->lcd_mode == LCD_MODE_LIGHT_SUBPIXEL )
       return 0;  /* do nothing */
 
     module_name = FT_FACE_DRIVER_NAME( face );
 
-    if ( !handle->autohint                                         &&
-         !FT_Property_Get( library, module_name,
+    if ( !FT_Property_Get( library, module_name,
                                     "interpreter-version", &prop ) )
     {
       switch ( prop )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]