From: handa Date: Wed, 2 Jun 2004 06:43:23 +0000 (+0000) Subject: (mfont_parse_name, mfont_unparse_name, Mfontconfig): X-Git-Tag: withdl~129 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba2bfe1737e62f60c64889cac1acd6830363bb9a;p=m17n%2Fm17n-lib.git (mfont_parse_name, mfont_unparse_name, Mfontconfig): Extern them. --- 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);