From 8dd2171ec49e473f44d959725ed2daf44503e22e Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 29 Sep 2004 23:57:50 +0000 Subject: [PATCH] Include . (MFTInfo): New member langset. (mfont__encoding_list): Extern it. --- src/font.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/font.h b/src/font.h index cb338f2..5c9f0be 100644 --- a/src/font.h +++ b/src/font.h @@ -206,6 +206,10 @@ extern void mfont__flt_fini (); #include #include FT_FREETYPE_H +#ifdef HAVE_FONTCONFIG +#include +#endif + #ifdef HAVE_OTF #include #endif /* HAVE_OTF */ @@ -223,6 +227,11 @@ typedef struct #ifdef HAVE_OTF OTF *otf; #endif /* HAVE_OTF */ +#ifdef HAVE_FONTCONFIG + FcLangSet *langset; +#else + void *langset; +#endif void *extra_info; /* Xft uses this member. */ } MFTInfo; @@ -284,6 +293,8 @@ extern void mfont__set_spec (MFont *font, extern int mfont__parse_name_into_font (char *name, MSymbol format, MFont *font); +extern MPlist *mfont__encoding_list (void); + extern unsigned mfont__flt_encode_char (MSymbol layouter_name, int c); extern int mfont__flt_run (MGlyphString *gstring, int from, int to, -- 1.7.10.4