103 |
#if 0 |
#if 0 |
104 |
unsigned short attributes; /* per char flags (not predefined) */ |
unsigned short attributes; /* per char flags (not predefined) */ |
105 |
#endif |
#endif |
106 |
|
unsigned valid_p : 1; |
107 |
} XCharStruct; |
} XCharStruct; |
108 |
|
|
109 |
#define STORE_XCHARSTRUCT(xcs, w, bds) \ |
#define STORE_XCHARSTRUCT(xcs, w, bds) \ |
111 |
(xcs).lbearing = (bds).left, \ |
(xcs).lbearing = (bds).left, \ |
112 |
(xcs).rbearing = (bds).right, \ |
(xcs).rbearing = (bds).right, \ |
113 |
(xcs).ascent = -(bds).top, \ |
(xcs).ascent = -(bds).top, \ |
114 |
(xcs).descent = (bds).bottom) |
(xcs).descent = (bds).bottom, \ |
115 |
|
(xcs).valid_p = 1) |
116 |
|
|
117 |
struct MacFontStruct { |
struct MacFontStruct { |
118 |
char *full_name; |
char *full_name; |
125 |
#else |
#else |
126 |
short mac_scriptcode; /* Mac OS script code for font used */ |
short mac_scriptcode; /* Mac OS script code for font used */ |
127 |
#endif |
#endif |
128 |
|
#if USE_ATSUI |
129 |
#if 0 |
ATSUStyle mac_style; /* NULL if QuickDraw Text is used */ |
130 |
SInt16 mFontNum; /* font number of font used in this window */ |
#endif |
|
short mScriptCode; /* Mac OS script code for font used */ |
|
|
int mFontSize; /* size of font */ |
|
|
Style mFontFace; /* plain, bold, italics, etc. */ |
|
|
int mHeight; /* height of one line of text in pixels */ |
|
|
int mWidth; /* width of one character in pixels */ |
|
|
int mAscent; |
|
|
int mDescent; |
|
|
int mLeading; |
|
|
char mTwoByte; /* true for two-byte font */ |
|
|
#endif /* 0 */ |
|
131 |
|
|
132 |
/* from Xlib.h */ |
/* from Xlib.h */ |
133 |
#if 0 |
#if 0 |