freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype-demos][master] * src/ftcommon.c (FTDemo_Hinting_


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] * src/ftcommon.c (FTDemo_Hinting_Engine_Change): Minor fix.
Date: Sun, 05 Jun 2022 23:32:19 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs

Commits:

  • b63b7028
    by Alexei Podtelezhnikov at 2022-06-05T23:32:18+00:00
    * src/ftcommon.c (FTDemo_Hinting_Engine_Change): Minor fix.

1 changed file:

Changes:

  • src/ftcommon.c
    ... ... @@ -969,14 +969,14 @@
    969 969
         if ( error                                       ||
    
    970 970
              !FT_IS_SCALABLE( face )                     ||
    
    971 971
              !handle->hinted                             ||
    
    972
    +         handle->autohint                            ||
    
    972 973
              handle->lcd_mode == LCD_MODE_LIGHT          ||
    
    973 974
              handle->lcd_mode == LCD_MODE_LIGHT_SUBPIXEL )
    
    974 975
           return 0;  /* do nothing */
    
    975 976
     
    
    976 977
         module_name = FT_FACE_DRIVER_NAME( face );
    
    977 978
     
    
    978
    -    if ( !handle->autohint                                         &&
    
    979
    -         !FT_Property_Get( library, module_name,
    
    979
    +    if ( !FT_Property_Get( library, module_name,
    
    980 980
                                         "interpreter-version", &prop ) )
    
    981 981
         {
    
    982 982
           switch ( prop )
    


  • reply via email to

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