diff --git a/src/cff/cffobjs.c b/src/cff/cffobjs.c index 40cd9bf91..edd274e14 100644 --- a/src/cff/cffobjs.c +++ b/src/cff/cffobjs.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; diff --git a/src/cid/cidobjs.c b/src/cid/cidobjs.c index 06b2139a9..1fc121c00 100644 --- a/src/cid/cidobjs.c +++ b/src/cid/cidobjs.c @@ -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; diff --git a/src/type1/t1objs.c b/src/type1/t1objs.c index 1bb2f15f3..4a39da563 100644 --- a/src/type1/t1objs.c +++ b/src/type1/t1objs.c @@ -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;