From a6d1cf0145bd4b26a51bc2a537cc6338b27206bb Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Tue, 19 Apr 2005 12:03:38 +0000 Subject: [PATCH] (MacFontStruct): Remove member `fontname'. Add member `full_name'. [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for mac_scriptcode member. --- src/macgui.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/macgui.h b/src/macgui.h index 96fd54a603b..5d4f1894e2e 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -101,12 +101,16 @@ typedef struct _XCharStruct (xcs).descent = (bds).bottom) struct MacFontStruct { - char *fontname; + char *full_name; short mac_fontnum; /* font number of font used in this window */ int mac_fontsize; /* size of font */ short mac_fontface; /* plain, bold, italics, etc. */ +#if TARGET_API_MAC_CARBON + int mac_scriptcode; /* Mac OS script code for font used */ +#else short mac_scriptcode; /* Mac OS script code for font used */ +#endif #if 0 SInt16 mFontNum; /* font number of font used in this window */ -- 2.39.2