Commit 29578f75c399f3922ba379eae29d85ee0a406cc0

Alexei Podtelezhnikov 2023-03-04T13:39:27

* src/cff/cffobjs.c (cff_size_init): Synonymous change.

diff --git a/src/cff/cffobjs.c b/src/cff/cffobjs.c
index 18bb0b3..3e94a28 100644
--- a/src/cff/cffobjs.c
+++ b/src/cff/cffobjs.c
@@ -182,8 +182,7 @@
       goto Exit;
 
     cff_make_private_dict( &font->top_font, &priv );
-    error = funcs->create( cffsize->face->memory, &priv,
-                             &internal->topfont );
+    error = funcs->create( memory, &priv, &internal->topfont );
     if ( error )
       goto Exit;
 
@@ -193,8 +192,7 @@
 
 
       cff_make_private_dict( sub, &priv );
-      error = funcs->create( cffsize->face->memory, &priv,
-                               &internal->subfonts[i - 1] );
+      error = funcs->create( memory, &priv, &internal->subfonts[i - 1] );
       if ( error )
         goto Exit;
     }