|
|
|
@ -39,23 +39,6 @@ |
|
|
|
|
#define FT_COMPONENT trace_t1gload |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/********** *********/ |
|
|
|
|
/********** COMPUTE THE MAXIMUM ADVANCE WIDTH *********/ |
|
|
|
|
/********** *********/ |
|
|
|
|
/********** The following code is in charge of computing *********/ |
|
|
|
|
/********** the maximum advance width of the font. It *********/ |
|
|
|
|
/********** quickly processes each glyph charstring to *********/ |
|
|
|
|
/********** extract the value from either a `sbw' or `seac' *********/ |
|
|
|
|
/********** operator. *********/ |
|
|
|
|
/********** *********/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static FT_Error |
|
|
|
|
T1_Parse_Glyph_And_Get_Char_String( T1_Decoder decoder, |
|
|
|
|
FT_UInt glyph_index, |
|
|
|
@ -195,6 +178,23 @@ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/********** *********/ |
|
|
|
|
/********** COMPUTE THE MAXIMUM ADVANCE WIDTH *********/ |
|
|
|
|
/********** *********/ |
|
|
|
|
/********** The following code is in charge of computing *********/ |
|
|
|
|
/********** the maximum advance width of the font. It *********/ |
|
|
|
|
/********** quickly processes each glyph charstring to *********/ |
|
|
|
|
/********** extract the value from either a `sbw' or `seac' *********/ |
|
|
|
|
/********** operator. *********/ |
|
|
|
|
/********** *********/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FT_LOCAL_DEF( FT_Error ) |
|
|
|
|
T1_Compute_Max_Advance( T1_Face face, |
|
|
|
|
FT_Pos* max_advance ) |
|
|
|
|