freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [pshinter] Additional clean-ups.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] [pshinter] Additional clean-ups.
Date: Tue, 05 Oct 2021 03:15:38 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

2 changed files:

Changes:

  • src/pshinter/pshalgo.c
    ... ... @@ -1418,18 +1418,14 @@
    1418 1418
     
    
    1419 1419
         for ( ; count > 0; count--, point++ )
    
    1420 1420
         {
    
    1421
    -      PSH_Dir  point_dir = PSH_DIR_NONE;
    
    1422
    -      FT_Pos   org_u     = point->org_u;
    
    1421
    +      PSH_Dir  point_dir;
    
    1422
    +      FT_Pos   org_u = point->org_u;
    
    1423 1423
     
    
    1424 1424
     
    
    1425 1425
           if ( psh_point_is_strong( point ) )
    
    1426 1426
             continue;
    
    1427 1427
     
    
    1428
    -      if ( point->dir_in & major_dir )
    
    1429
    -        point_dir = point->dir_in;
    
    1430
    -
    
    1431
    -      else if ( point->dir_out & major_dir )
    
    1432
    -        point_dir = point->dir_out;
    
    1428
    +      point_dir = ( point->dir_in | point->dir_out ) & major_dir;
    
    1433 1429
     
    
    1434 1430
           if ( point_dir & ( PSH_DIR_DOWN | PSH_DIR_RIGHT ) )
    
    1435 1431
           {
    

  • src/pshinter/pshalgo.h
    ... ... @@ -195,10 +195,6 @@ FT_BEGIN_HEADER
    195 195
         PSH_Globals        globals;
    
    196 196
         PSH_Hint_TableRec  hint_tables[2];
    
    197 197
     
    
    198
    -    FT_Bool            vertical;
    
    199
    -    FT_Int             major_dir;
    
    200
    -    FT_Int             minor_dir;
    
    201
    -
    
    202 198
         FT_Bool            do_horz_hints;
    
    203 199
         FT_Bool            do_vert_hints;
    
    204 200
         FT_Bool            do_horz_snapping;
    


  • reply via email to

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