int T1_CheckEndian( void)
0
for Little Endian and 1
for
Big Endian machines.
void T1_DumpGlyph( GLYPH *glyph)
glyph
to the standard
output. A background pixel is represented by .
while a foreground pixel
is represented by X
. After the number of bits that correspond to the
current padding value, an empty column is inserted. See the output of the
programming example in Note that the size of the glyph should be small enough that its padded width does not exceed the terminals line width. Otherwise the result might become illegible.
void T1_DumpPath( T1_OUTLINE *path)
void T1_SetRasterFlags( int flags)
flags
is 0 which means that no
debugging output is shown and hinting is performed as suggested in the Adobe
Type Font Format. However there may arise situations where fiddling with the
flags
might be helpful in rasterizer and font debugging.
flags
usually is an OR'ed combination of the following definitions:
T1_IGNORE_FORCEBOLD
T1_IGNORE_FAMILYALIGNMENT
T1_IGNORE_HINTING
T1_DEBUG_LINE
T1_DEBUG_REGION
T1_DEBUG_PATH
T1_DEBUG_FONT
T1_DEBUG_HINT
T1_IGNORE_...
types allow to selectively disable hinting. They
might be useful if parts of a font are not properly rendered. For example,
substituting a font's alignment zones by the family's alignment zones might
result in visual artifacts if the values for FamilyBlues
are not
correct. Disabling family alignment might reveal the problem in such cases.
The T1_DEBUG_...
types produce debugging output from the intermediate
rasterizing steps. Notice that to understand this output a thorough
understanding of what happens in the rasterizer is in force. Moreover, be
prepared that thousands of lines might be written to the terminal, depending
on the particular option.