freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [cff,cid,type1] Shorten de-referencing.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] [cff,cid,type1] Shorten de-referencing.
Date: Fri, 03 Mar 2023 17:21:13 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 5ac6276a
    by Alexei Podtelezhnikov at 2023-03-03T17:21:10+00:00
    [cff,cid,type1] Shorten de-referencing.
    
    * src/cff/cffobjs.c (cff_clot_init): Use immediate library reference.
    * src/cid/cidobjs.c (cid_slot_init): Ditto.
    * src/type1/t1objs.c (T1_GlyphSlot_Init): Ditto.

3 changed files:

Changes:

  • src/cff/cffobjs.c
    ... ... @@ -381,8 +381,7 @@
    381 381
           FT_Module  module;
    
    382 382
     
    
    383 383
     
    
    384
    -      module = FT_Get_Module( slot->face->driver->root.library,
    
    385
    -                              "pshinter" );
    
    384
    +      module = FT_Get_Module( slot->library, "pshinter" );
    
    386 385
           if ( module )
    
    387 386
           {
    
    388 387
             T2_Hints_Funcs  funcs;
    

  • src/cid/cidobjs.c
    ... ... @@ -69,8 +69,7 @@
    69 69
           FT_Module  module;
    
    70 70
     
    
    71 71
     
    
    72
    -      module = FT_Get_Module( slot->face->driver->root.library,
    
    73
    -                              "pshinter" );
    
    72
    +      module = FT_Get_Module( slot->library, "pshinter" );
    
    74 73
           if ( module )
    
    75 74
           {
    
    76 75
             T1_Hints_Funcs  funcs;
    

  • src/type1/t1objs.c
    ... ... @@ -167,8 +167,7 @@
    167 167
           FT_Module  module;
    
    168 168
     
    
    169 169
     
    
    170
    -      module = FT_Get_Module( slot->face->driver->root.library,
    
    171
    -                              "pshinter" );
    
    170
    +      module = FT_Get_Module( slot->library, "pshinter" );
    
    172 171
           if ( module )
    
    173 172
           {
    
    174 173
             T1_Hints_Funcs  funcs;
    


  • reply via email to

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