ref: cb3fd79b66546c89cc1ba79469853efade4df70f
parent: 00915574c39537b922b120bf6324754eb69e1b10
author: Werner Lemberg <[email protected]>
date: Thu Dec 11 01:55:59 EST 2003
* src/pcf/pcfdrivr.c (pcf_get_charset_id): New function (a clone of the similar BDF function). (pcf_service_bdf): Use it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-10 Detlef W�rkner <[email protected]>
+
+ * src/pcf/pcfdrivr.c (pcf_get_charset_id): New function (a clone
+ of the similar BDF function).
+ (pcf_service_bdf): Use it.
+
2003-12-09 Werner Lemberg <[email protected]>
* src/sfnt/sfobjs.c (sfnt_load_face): Set FT_FACE_FLAG_GLYPH_NAMES
--- a/src/pcf/pcfdrivr.c
+++ b/src/pcf/pcfdrivr.c
@@ -511,9 +511,21 @@
}
+ static FT_Error
+ pcf_get_charset_id( PCF_Face face,
+ const char* *acharset_encoding,
+ const char* *acharset_registry )
+ {
+ *acharset_encoding = face->charset_encoding;
+ *acharset_registry = face->charset_registry;
+
+ return 0;
+ }
+
+
static FT_Service_BDFRec pcf_service_bdf =
{
- (FT_BDF_GetCharsetIdFunc)NULL, /* unimplemented ? */
+ (FT_BDF_GetCharsetIdFunc)pcf_get_charset_id,
(FT_BDF_GetPropertyFunc) pcf_get_bdf_property
};