33 #include FT_INTERNAL_DRIVER_H 34 #include FT_INTERNAL_STREAM_H 171 #define PCF_FILE_VERSION ( ( 'p' << 24 ) | \ 174 #define PCF_FORMAT_MASK 0xFFFFFF00UL 176 #define PCF_DEFAULT_FORMAT 0x00000000UL 177 #define PCF_INKBOUNDS 0x00000200UL 178 #define PCF_ACCEL_W_INKBOUNDS 0x00000100UL 179 #define PCF_COMPRESSED_METRICS 0x00000100UL 181 #define PCF_FORMAT_MATCH( a, b ) \ 182 ( ( (a) & PCF_FORMAT_MASK ) == ( (b) & PCF_FORMAT_MASK ) ) 184 #define PCF_GLYPH_PAD_MASK ( 3 << 0 ) 185 #define PCF_BYTE_MASK ( 1 << 2 ) 186 #define PCF_BIT_MASK ( 1 << 3 ) 187 #define PCF_SCAN_UNIT_MASK ( 3 << 4 ) 189 #define PCF_BYTE_ORDER( f ) \ 190 ( ( (f) & PCF_BYTE_MASK ) ? MSBFirst : LSBFirst ) 191 #define PCF_BIT_ORDER( f ) \ 192 ( ( (f) & PCF_BIT_MASK ) ? MSBFirst : LSBFirst ) 193 #define PCF_GLYPH_PAD_INDEX( f ) \ 194 ( (f) & PCF_GLYPH_PAD_MASK ) 195 #define PCF_GLYPH_PAD( f ) \ 196 ( 1 << PCF_GLYPH_PAD_INDEX( f ) ) 197 #define PCF_SCAN_UNIT_INDEX( f ) \ 198 ( ( (f) & PCF_SCAN_UNIT_MASK ) >> 4 ) 199 #define PCF_SCAN_UNIT( f ) \ 200 ( 1 << PCF_SCAN_UNIT_INDEX( f ) ) 201 #define PCF_FORMAT_BITS( f ) \ 202 ( (f) & ( PCF_GLYPH_PAD_MASK | \ 205 PCF_SCAN_UNIT_MASK ) ) 207 #define PCF_SIZE_TO_INDEX( s ) ( (s) == 4 ? 2 : (s) == 2 ? 1 : 0 ) 208 #define PCF_INDEX_TO_SIZE( b ) ( 1 << b ) 210 #define PCF_FORMAT( bit, byte, glyph, scan ) \ 211 ( ( PCF_SIZE_TO_INDEX( scan ) << 4 ) | \ 212 ( ( (bit) == MSBFirst ? 1 : 0 ) << 3 ) | \ 213 ( ( (byte) == MSBFirst ? 1 : 0 ) << 2 ) | \ 214 ( PCF_SIZE_TO_INDEX( glyph ) << 0 ) ) 216 #define PCF_PROPERTIES ( 1 << 0 ) 217 #define PCF_ACCELERATORS ( 1 << 1 ) 218 #define PCF_METRICS ( 1 << 2 ) 219 #define PCF_BITMAPS ( 1 << 3 ) 220 #define PCF_INK_METRICS ( 1 << 4 ) 221 #define PCF_BDF_ENCODINGS ( 1 << 5 ) 222 #define PCF_SWIDTHS ( 1 << 6 ) 223 #define PCF_GLYPH_NAMES ( 1 << 7 ) 224 #define PCF_BDF_ACCELERATORS ( 1 << 8 ) 226 #define GLYPHPADOPTIONS 4
struct PCF_PropertyRec_ * PCF_Property
struct PCF_PropertyRec_ PCF_PropertyRec
FT_Short rightSideBearing
struct PCF_EncodingRec_ * PCF_Encoding
struct PCF_FaceRec_ * PCF_Face
struct PCF_AccelRec_ * PCF_Accel
struct PCF_Compressed_MetricRec_ * PCF_Compressed_Metric
struct PCF_MetricRec_ PCF_MetricRec
struct PCF_FaceRec_ PCF_FaceRec
FT_BEGIN_HEADER struct PCF_TableRec_ * PCF_Table
FT_BEGIN_HEADER struct PCF_TableRec_ PCF_TableRec
struct PCF_EncodingRec_ PCF_EncodingRec
struct PCF_MetricRec_ * PCF_Metric
struct PCF_TocRec_ PCF_TocRec
PCF_MetricRec ink_maxbounds
struct PCF_ParsePropertyRec_ * PCF_ParseProperty
FT_CharMap charmap_handle
PCF_MetricRec ink_minbounds
GLsizei const GLfloat * value
struct PCF_Compressed_MetricRec_ PCF_Compressed_MetricRec
pcf_load_font(FT_Stream, PCF_Face)
struct PCF_TocRec_ * PCF_Toc
struct PCF_ParsePropertyRec_ PCF_ParsePropertyRec
struct PCF_AccelRec_ PCF_AccelRec