Lines Matching refs:fs
52 #define CI_GET_ROWZERO_CHAR_INFO_2D(fs,col,def,cs) \
55 if (fs->min_byte1 == 0 && \
56 col >= fs->min_byte2 && col <= fs->max_byte2) { \
57 if (fs->per_char == NULL) { \
58 cs = &fs->min_bounds; \
60 cs = &fs->per_char[(col - fs->min_byte2)]; \
75 XFontStruct *fs,
84 Bool singlerow = (fs->max_byte1 == 0); /* optimization */
90 CI_GET_DEFAULT_INFO_1D (fs, def);
92 CI_GET_DEFAULT_INFO_2D (fs, def);
95 *dir = fs->direction;
96 *font_ascent = fs->ascent;
97 *font_descent = fs->descent;
111 CI_GET_CHAR_INFO_1D (fs, uc, def, cs);
113 CI_GET_ROWZERO_CHAR_INFO_2D (fs, uc, def, cs);
149 XFontStruct *fs,
154 Bool singlerow = (fs->max_byte1 == 0); /* optimization */
160 CI_GET_DEFAULT_INFO_1D (fs, def);
162 CI_GET_DEFAULT_INFO_2D (fs, def);
165 if (def && fs->min_bounds.width == fs->max_bounds.width)
166 return (fs->min_bounds.width * count);
177 CI_GET_CHAR_INFO_1D (fs, uc, def, cs);
179 CI_GET_ROWZERO_CHAR_INFO_2D (fs, uc, def, cs);
195 XFontStruct *fs,
200 Bool singlerow = (fs->max_byte1 == 0); /* optimization */
206 CI_GET_DEFAULT_INFO_1D (fs, def);
208 CI_GET_DEFAULT_INFO_2D (fs, def);
211 if (def && (fs->min_bounds.ascent == fs->max_bounds.ascent)
212 && (fs->min_bounds.descent == fs->max_bounds.descent))
213 return ((fs->min_bounds.ascent + fs->min_bounds.descent) * count);
224 CI_GET_CHAR_INFO_1D (fs, uc, def, cs);
226 CI_GET_ROWZERO_CHAR_INFO_2D (fs, uc, def, cs);