diff src/font-mgr.h @ 4758:75975fd0b7fc

Implement more of the fontconfig API. Improve implementation, avoiding nonsyntactic macros and compiler warnings. Clean up some documentation. Guard against freeing NULL pointers returned from fonconfig.
author Stephen J. Turnbull <stephen@xemacs.org>
date Wed, 18 Nov 2009 22:44:28 +0900
parents a23ac8f90a49
children a6c778975d7d e0db3c197671
line wrap: on
line diff
--- a/src/font-mgr.h	Wed Nov 18 15:25:00 2009 +0900
+++ b/src/font-mgr.h	Wed Nov 18 22:44:28 2009 +0900
@@ -157,14 +157,11 @@
 
 /* print a progress message
    LEVEL is the debug level (to compare to debug_xft)
-   FONT is the Xft font name in UTF-8 (the native encoding of Xft)
+   FONT is the Xft font name in Mule internal encoding (from an eistring).
    LANG is the language being checked for support (must be ASCII). */
 #define CHECKING_LANG(level,font,lang)					\
   do {									\
-    DECLARE_EISTRING (eistrcl_name);					\
-    eicpy_ext(eistrcl_name, font, Qfc_font_name_encoding);		\
-    DEBUG_XFT2 (level, "checking if %s handles %s\n",			\
-			eidata(eistrcl_name), lang);			\
+    DEBUG_XFT2 (level, "checking if %s handles %s\n", font, lang);	\
   } while (0)
 
 #else /* USE_XFT */