From ba2bfe1737e62f60c64889cac1acd6830363bb9a Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 2 Jun 2004 06:43:23 +0000 Subject: [PATCH] (mfont_parse_name, mfont_unparse_name, Mfontconfig): Extern them. --- src/m17n-gui.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/m17n-gui.h b/src/m17n-gui.h index 8a19b6d..7777272 100644 --- a/src/m17n-gui.h +++ b/src/m17n-gui.h @@ -147,16 +147,20 @@ extern MPlist *mfont_freetype_path; extern MFont *mfont (); -extern MFont *mfont_from_name (char *name); - extern MFont *mfont_copy (MFont *font); -extern char *mfont_name (MFont *font); +extern MFont *mfont_parse_name (char *name, MSymbol format); + +extern char *mfont_unparse_name (MFont *font, MSymbol format); extern MFont *mfont_from_spec (char *family, char *weight, char *slant, char *swidth, char *adstyle, char *registry, unsigned short point, unsigned short res); +/* These two are obsolete (from 1.1.0). */ +extern char *mfont_name (MFont *font); +extern MFont *mfont_from_name (char *name); + extern MSymbol Mfoundry; extern MSymbol Mfamily; extern MSymbol Mweight; @@ -167,6 +171,8 @@ extern MSymbol Mregistry; extern MSymbol Msize; extern MSymbol Mresolution; +extern MSymbol Mfontconfig; + extern void *mfont_get_prop (MFont *font, MSymbol key); extern int mfont_put_prop (MFont *font, MSymbol key, void *val); -- 1.7.10.4