Mercurial > hg > xemacs-beta
diff src/font-mgr.c @ 4985:358aa3bb603f
Automatic merge
| author | Ben Wing <ben@xemacs.org> |
|---|---|
| date | Fri, 05 Feb 2010 12:12:28 -0600 |
| parents | 3c3c1d139863 |
| children | b5df3737028a 8b2f75cecb89 |
line wrap: on
line diff
--- a/src/font-mgr.c Fri Feb 05 12:11:12 2010 -0600 +++ b/src/font-mgr.c Fri Feb 05 12:12:28 2010 -0600 @@ -46,6 +46,8 @@ #include "hash.h" #include "font-mgr.h" +#include "sysfile.h" + /* #### TO DO #### . The "x-xft-*" and "x_xft_*" nomenclature is mostly redundant, especially if we separate X fonts from Xft fonts, and use fontconfig more generally. @@ -159,7 +161,7 @@ is a Lisp string. */ #define extract_fcapi_string(str) \ - (NEW_LISP_STRING_TO_EXTERNAL ((str), Qfc_font_name_encoding)) + (LISP_STRING_TO_EXTERNAL ((str), Qfc_font_name_encoding)) #define build_fcapi_string(str) \ (build_extstring ((Extbyte *) (str), Qfc_font_name_encoding)) @@ -782,7 +784,7 @@ if (FcConfigAppFontAddFile (XFCCONFIG_PTR (config), /* #### FIXME! is Qfile_name right? */ - (FcChar8 *) NEW_LISP_STRING_TO_EXTERNAL (file, Qfile_name)) == FcFalse) + (FcChar8 *) LISP_STRING_TO_EXTERNAL (file, Qfile_name)) == FcFalse) return Qnil; else return Qt; @@ -801,7 +803,7 @@ if (FcConfigAppFontAddDir (XFCCONFIG_PTR (config), /* #### FIXME! is Qfile_name right? */ - (FcChar8 *) NEW_LISP_STRING_TO_EXTERNAL (dir, Qfile_name)) == FcFalse) + (FcChar8 *) LISP_STRING_TO_EXTERNAL (dir, Qfile_name)) == FcFalse) return Qnil; else return Qt; @@ -844,7 +846,7 @@ { CHECK_STRING (name); /* #### FIXME! is Qfile_name right? */ - fcname = NEW_LISP_STRING_TO_EXTERNAL (name, Qfile_name); + LISP_PATHNAME_CONVERT_OUT (name, fcname); } return (build_fcapi_string (FcConfigFilename ((FcChar8 *) fcname))); }
