[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.
truetype-mm
Alexei Podtelezhnikov 2 years ago
parent 5c37b64062
commit 5ac6276af1
  1. 3
      src/cff/cffobjs.c
  2. 3
      src/cid/cidobjs.c
  3. 3
      src/type1/t1objs.c

@ -381,8 +381,7 @@
FT_Module module;
module = FT_Get_Module( slot->face->driver->root.library,
"pshinter" );
module = FT_Get_Module( slot->library, "pshinter" );
if ( module )
{
T2_Hints_Funcs funcs;

@ -69,8 +69,7 @@
FT_Module module;
module = FT_Get_Module( slot->face->driver->root.library,
"pshinter" );
module = FT_Get_Module( slot->library, "pshinter" );
if ( module )
{
T1_Hints_Funcs funcs;

@ -167,8 +167,7 @@
FT_Module module;
module = FT_Get_Module( slot->face->driver->root.library,
"pshinter" );
module = FT_Get_Module( slot->library, "pshinter" );
if ( module )
{
T1_Hints_Funcs funcs;

Loading…
Cancel
Save