Commit f8f576d1d43ff9599dba0358b957d40890300b15

Werner Lemberg 2011-11-26T18:07:30

Addition to last commit.

diff --git a/ChangeLog b/ChangeLog
index 7e78351..e73a746 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,11 +8,11 @@
 
 	* include/freetype/fterrdef.h (FT_Err_Missing_Module): Define.
 
-	* src/cff/cffobjs.c (cff_face_init), src/cid/cidobjs.c
-	(cid_face_init), src/sfnt/sfobjs.c (sfnt_init_face),
-	src/truetype/ttobjs.c (tt_face_init), src/type1/t1objs.c
-	(T1_Face_Init), src/type42/t42objs.c (T42_Face_Init,
-	T42_Driver_Init): Updated.
+	* src/cff/cffobjs.c (cff_face_init), src/cff/cffdrivr.c
+	(cff_get_glyph_name), src/cid/cidobjs.c (cid_face_init),
+	src/sfnt/sfobjs.c (sfnt_init_face), src/truetype/ttobjs.c
+	(tt_face_init), src/type1/t1objs.c (T1_Face_Init),
+	src/type42/t42objs.c (T42_Face_Init, T42_Driver_Init): Updated.
 
 	* src/type1/t1afm.c (T1_Read_Metrics), src/type/t1objs.c
 	(T1_Face_Init), src/type42/t42objs.c (T42_Face_Init): Remove now
diff --git a/src/cff/cffdrivr.c b/src/cff/cffdrivr.c
index bf2d016..d0406e1 100644
--- a/src/cff/cffdrivr.c
+++ b/src/cff/cffdrivr.c
@@ -239,7 +239,7 @@
                  " cannot get glyph name from CFF & CEF fonts\n"
                  "                   "
                  " without the `PSNames' module\n" ));
-      error = CFF_Err_Unknown_File_Format;
+      error = CFF_Err_Missing_Module;
       goto Exit;
     }