04aa800ce9
fixed two bugs in the smooth renderer
95 lines
3.3 KiB
C
95 lines
3.3 KiB
C
/*******************************************************************
|
|
*
|
|
* t1tokens.h
|
|
*
|
|
* Type 1 tokens definition
|
|
*
|
|
* Copyright 2000 David Turner, Robert Wilhelm and Werner Lemberg.
|
|
*
|
|
* This file is part of the FreeType project, and may only be used
|
|
* modified and distributed under the terms of the FreeType project
|
|
* license, LICENSE.TXT. By continuing to use, modify or distribute
|
|
* this file you indicate that you have read the license and
|
|
* understand and accept it fully.
|
|
*
|
|
* This file only contains macros that are expanded when compiling
|
|
* the "t1load.c" source file.
|
|
*
|
|
******************************************************************/
|
|
|
|
#define T1TYPE CID_Info
|
|
#define T1CODE t1_field_cid_info
|
|
|
|
T1_FIELD_STRING ( "CIDFontName", cid_font_name )
|
|
T1_FIELD_NUM ( "CIDFontVersion", cid_version )
|
|
T1_FIELD_NUM ( "CIDFontType", cid_font_type )
|
|
T1_FIELD_STRING ( "Registry", registry )
|
|
T1_FIELD_STRING ( "Ordering", ordering )
|
|
T1_FIELD_NUM ( "Supplement", supplement )
|
|
T1_FIELD_CALLBACK( "FontBBox", font_bbox )
|
|
T1_FIELD_NUM ( "UIDBase", uid_base )
|
|
T1_FIELD_CALLBACK( "FDArray", fd_array )
|
|
T1_FIELD_NUM ( "CIDMapOffset", cidmap_offset )
|
|
T1_FIELD_NUM ( "FDBytes", fd_bytes )
|
|
T1_FIELD_NUM ( "GDBytes", gd_bytes )
|
|
T1_FIELD_NUM ( "CIDCount", cid_count )
|
|
|
|
#undef T1TYPE
|
|
#undef T1CODE
|
|
#define T1TYPE T1_FontInfo
|
|
#define T1CODE t1_field_font_info
|
|
|
|
T1_FIELD_STRING( "version", version )
|
|
T1_FIELD_STRING( "Notice", notice )
|
|
T1_FIELD_STRING( "FullName", full_name )
|
|
T1_FIELD_STRING( "FamilyName", family_name )
|
|
T1_FIELD_STRING( "Weight", weight )
|
|
T1_FIELD_FIXED ( "ItalicAngle", italic_angle )
|
|
T1_FIELD_BOOL ( "isFixedPitch", is_fixed_pitch )
|
|
T1_FIELD_NUM ( "UnderlinePosition", underline_position )
|
|
T1_FIELD_NUM ( "UnderlineThickness", underline_thickness )
|
|
|
|
#undef T1TYPE
|
|
#undef T1CODE
|
|
#define T1TYPE CID_FontDict
|
|
#define T1CODE t1_field_font_dict
|
|
|
|
T1_FIELD_CALLBACK( "FontMatrix", font_matrix )
|
|
T1_FIELD_NUM ( "PaintType", paint_type )
|
|
T1_FIELD_NUM ( "FontType", font_type )
|
|
T1_FIELD_NUM ( "SubrMapOffset", subrmap_offset )
|
|
T1_FIELD_NUM ( "SDBytes", sd_bytes )
|
|
T1_FIELD_NUM ( "SubrCount", num_subrs )
|
|
T1_FIELD_NUM ( "lenBuildCharArray", len_buildchar )
|
|
T1_FIELD_FIXED ( "ForceBoldThreshold", forcebold_threshold )
|
|
T1_FIELD_FIXED ( "ExpansionFactor", expansion_factor )
|
|
T1_FIELD_NUM ( "StrokeWidth", stroke_width )
|
|
|
|
#undef T1TYPE
|
|
#undef T1CODE
|
|
#define T1TYPE T1_Private
|
|
#define T1CODE t1_field_private
|
|
|
|
T1_FIELD_NUM ( "UniqueID", unique_id )
|
|
T1_FIELD_NUM ( "lenIV", lenIV )
|
|
T1_FIELD_NUM ( "LanguageGroup", language_group )
|
|
T1_FIELD_NUM ( "password", password )
|
|
|
|
T1_FIELD_FIXED( "BlueScale", blue_scale )
|
|
T1_FIELD_NUM ( "BlueShift", blue_shift )
|
|
T1_FIELD_NUM ( "BlueFuzz", blue_fuzz )
|
|
|
|
T1_FIELD_NUM_TABLE( "BlueValues", blue_values, 14 )
|
|
T1_FIELD_NUM_TABLE( "OtherBlues", other_blues, 10 )
|
|
T1_FIELD_NUM_TABLE( "FamilyBlues", family_blues, 14 )
|
|
T1_FIELD_NUM_TABLE( "FamilyOtherBlues", family_other_blues, 10 )
|
|
|
|
T1_FIELD_NUM_TABLE2( "StdHW", standard_width, 1 )
|
|
T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1 )
|
|
T1_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2 )
|
|
|
|
T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12 )
|
|
T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12 )
|
|
|
|
|