ft2-type1_tables.html
来自「嵌入式freetype库的应用文档包含freetype的简要说明和应用examp」· HTML 代码 · 共 724 行 · 第 1/3 页
HTML
724 行
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>FreeType-2.1.10 API Reference</title><style type="text/css"> body { font-family: Verdana, Geneva, Arial, Helvetica, serif; color: #000000; background: #FFFFFF; } p { text-align: justify; } h1 { text-align: center; } li { text-align: justify; } a:link { color: #0000EF; } a:visited { color: #51188E; } a:hover { color: #FF0000; } span.keyword { font-family: monospace; text-align: left; white-space: pre; color: darkblue; } pre.colored { color: blue; } ul.empty { list-style-type: none; }</style></head><body><center><h1>FreeType-2.1.10 API Reference</h1></center><center><h1>Type 1 Tables</h1></center><h2>Synopsis</h2><table align=center cellspacing=5 cellpadding=0 border=0><tr><td></td><td><a href="#PS_FontInfoRec">PS_FontInfoRec</a></td><td></td><td><a href="#CID_Info">CID_Info</a></td><td></td><td><a href="#TT_APPLE_ID_XXX">TT_APPLE_ID_XXX</a></td></tr><tr><td></td><td><a href="#T1_FontInfo">T1_FontInfo</a></td><td></td><td><a href="#FT_Has_PS_Glyph_Names">FT_Has_PS_Glyph_Names</a></td><td></td><td><a href="#TT_MAC_ID_XXX">TT_MAC_ID_XXX</a></td></tr><tr><td></td><td><a href="#PS_PrivateRec">PS_PrivateRec</a></td><td></td><td><a href="#FT_Get_PS_Font_Info">FT_Get_PS_Font_Info</a></td><td></td><td><a href="#TT_ISO_ID_XXX">TT_ISO_ID_XXX</a></td></tr><tr><td></td><td><a href="#T1_Private">T1_Private</a></td><td></td><td><a href="#FT_Get_PS_Font_Private">FT_Get_PS_Font_Private</a></td><td></td><td><a href="#TT_MS_ID_XXX">TT_MS_ID_XXX</a></td></tr><tr><td></td><td><a href="#T1_Blend_Flags">T1_Blend_Flags</a></td><td></td><td><a href="#TT_PLATFORM_XXX">TT_PLATFORM_XXX</a></td><td></td><td><a href="#TT_ADOBE_ID_XXX">TT_ADOBE_ID_XXX</a></td></tr></table><br><br><table align=center width="87%"><tr><td><p>This section contains the definition of Type 1-specific tables, including structures related to other PostScript font formats.</p></td></tr></table><br><table align=center width="75%"><tr><td><h4><a name="PS_FontInfoRec">PS_FontInfoRec</a></h4><table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre> <span class="keyword">typedef</span> <span class="keyword">struct</span> <b>PS_FontInfoRec</b> { <a href="ft2-basic_types.html#FT_String">FT_String</a>* version; <a href="ft2-basic_types.html#FT_String">FT_String</a>* notice; <a href="ft2-basic_types.html#FT_String">FT_String</a>* full_name; <a href="ft2-basic_types.html#FT_String">FT_String</a>* family_name; <a href="ft2-basic_types.html#FT_String">FT_String</a>* weight; <a href="ft2-basic_types.html#FT_Long">FT_Long</a> italic_angle; <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a> is_fixed_pitch; <a href="ft2-basic_types.html#FT_Short">FT_Short</a> underline_position; <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a> underline_thickness; } <b>PS_FontInfoRec</b>, *PS_FontInfo;</pre></table><br><table align=center width="87%"><tr><td><p>A structure used to model a Type1/Type2 FontInfo dictionary. Note that for Multiple Master fonts, each instance has its own FontInfo.</p></td></tr></table><br></td></tr></table><hr width="75%"><table align=center width="75%"><tr><td><h4><a name="T1_FontInfo">T1_FontInfo</a></h4><table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre> <span class="keyword">typedef</span> <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a> <b>T1_FontInfo</b>;</pre></table><br><table align=center width="87%"><tr><td><p>This type is equivalent to <a href="ft2-type1_tables.html#PS_FontInfoRec">PS_FontInfoRec</a>. It is deprecated but kept to maintain source compatibility between various versions of FreeType.</p></td></tr></table><br></td></tr></table><hr width="75%"><table align=center width="75%"><tr><td><h4><a name="PS_PrivateRec">PS_PrivateRec</a></h4><table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre> <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_PrivateRec_ { <a href="ft2-basic_types.html#FT_Int">FT_Int</a> unique_id; <a href="ft2-basic_types.html#FT_Int">FT_Int</a> lenIV; <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_blue_values; <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_other_blues; <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_family_blues; <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_family_other_blues; <a href="ft2-basic_types.html#FT_Short">FT_Short</a> blue_values[14]; <a href="ft2-basic_types.html#FT_Short">FT_Short</a> other_blues[10]; <a href="ft2-basic_types.html#FT_Short">FT_Short</a> family_blues [14]; <a href="ft2-basic_types.html#FT_Short">FT_Short</a> family_other_blues[10]; <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a> blue_scale; <a href="ft2-basic_types.html#FT_Int">FT_Int</a> blue_shift; <a href="ft2-basic_types.html#FT_Int">FT_Int</a> blue_fuzz; <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a> standard_width[1]; <a href="ft2-basic_types.html#FT_UShort">FT_UShort</a> standard_height[1]; <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_snap_widths; <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_snap_heights; <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a> force_bold; <a href="ft2-basic_types.html#FT_Bool">FT_Bool</a> round_stem_up; <a href="ft2-basic_types.html#FT_Short">FT_Short</a> snap_widths [13]; /* including std width */ <a href="ft2-basic_types.html#FT_Short">FT_Short</a> snap_heights[13]; /* including std height */ <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a> expansion_factor; <a href="ft2-basic_types.html#FT_Long">FT_Long</a> language_group; <a href="ft2-basic_types.html#FT_Long">FT_Long</a> password; <a href="ft2-basic_types.html#FT_Short">FT_Short</a> min_feature[2]; } <b>PS_PrivateRec</b>, *PS_Private;</pre></table><br><table align=center width="87%"><tr><td><p>A structure used to model a Type1/Type2 private dictionary. Note that for Multiple Master fonts, each instance has its own Private dictionary.</p></td></tr></table><br></td></tr></table><hr width="75%"><table align=center width="75%"><tr><td><h4><a name="T1_Private">T1_Private</a></h4><table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre> <span class="keyword">typedef</span> <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> <b>T1_Private</b>;</pre></table><br><table align=center width="87%"><tr><td><p>This type is equivalent to <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a>. It is deprecated but kept to maintain source compatibility between various versions of FreeType.</p></td></tr></table><br></td></tr></table><hr width="75%"><table align=center width="75%"><tr><td><h4><a name="T1_Blend_Flags">T1_Blend_Flags</a></h4><table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre> <span class="keyword">typedef</span> <span class="keyword">enum</span> { /*# required fields in a FontInfo blend dictionary */ T1_BLEND_UNDERLINE_POSITION = 0, T1_BLEND_UNDERLINE_THICKNESS, T1_BLEND_ITALIC_ANGLE, /*# required fields in a Private blend dictionary */ T1_BLEND_BLUE_VALUES, T1_BLEND_OTHER_BLUES, T1_BLEND_STANDARD_WIDTH, T1_BLEND_STANDARD_HEIGHT, T1_BLEND_STEM_SNAP_WIDTHS, T1_BLEND_STEM_SNAP_HEIGHTS, T1_BLEND_BLUE_SCALE, T1_BLEND_BLUE_SHIFT, T1_BLEND_FAMILY_BLUES, T1_BLEND_FAMILY_OTHER_BLUES, T1_BLEND_FORCE_BOLD, /*# never remove */ T1_BLEND_MAX } <b>T1_Blend_Flags</b>; /*# backwards compatible definitions */#define t1_blend_underline_position T1_BLEND_UNDERLINE_POSITION#define t1_blend_underline_thickness T1_BLEND_UNDERLINE_THICKNESS#define t1_blend_italic_angle T1_BLEND_ITALIC_ANGLE#define t1_blend_blue_values T1_BLEND_BLUE_VALUES#define t1_blend_other_blues T1_BLEND_OTHER_BLUES#define t1_blend_standard_widths T1_BLEND_STANDARD_WIDTH#define t1_blend_standard_height T1_BLEND_STANDARD_HEIGHT#define t1_blend_stem_snap_widths T1_BLEND_STEM_SNAP_WIDTHS#define t1_blend_stem_snap_heights T1_BLEND_STEM_SNAP_HEIGHTS#define t1_blend_blue_scale T1_BLEND_BLUE_SCALE#define t1_blend_blue_shift T1_BLEND_BLUE_SHIFT#define t1_blend_family_blues T1_BLEND_FAMILY_BLUES#define t1_blend_family_other_blues T1_BLEND_FAMILY_OTHER_BLUES#define t1_blend_force_bold T1_BLEND_FORCE_BOLD#define t1_blend_max T1_BLEND_MAX /* maximum number of Multiple Masters designs, as defined in the spec */#define T1_MAX_MM_DESIGNS 16 /* maximum number of Multiple Masters axes, as defined in the spec */#define T1_MAX_MM_AXIS 4 /* maximum number of elements in a design map */#define T1_MAX_MM_MAP_POINTS 20 /* this <span class="keyword">structure</span> is used to store the BlendDesignMap entry for an axis */ <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_DesignMap_ { <a href="ft2-basic_types.html#FT_Byte">FT_Byte</a> num_points; <a href="ft2-basic_types.html#FT_Long">FT_Long</a>* design_points; <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>* blend_points; } PS_DesignMapRec, *PS_DesignMap; /* backwards-compatible definition */ <span class="keyword">typedef</span> PS_DesignMapRec T1_DesignMap; <span class="keyword">typedef</span> <span class="keyword">struct</span> PS_BlendRec_ { <a href="ft2-basic_types.html#FT_UInt">FT_UInt</a> num_designs; <a href="ft2-basic_types.html#FT_UInt">FT_UInt</a> num_axis; <a href="ft2-basic_types.html#FT_String">FT_String</a>* axis_names[T1_MAX_MM_AXIS]; <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>* design_pos[T1_MAX_MM_DESIGNS]; PS_DesignMapRec design_map[T1_MAX_MM_AXIS]; <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>* weight_vector; <a href="ft2-basic_types.html#FT_Fixed">FT_Fixed</a>* default_weight_vector; PS_FontInfo font_infos[T1_MAX_MM_DESIGNS + 1]; PS_Private privates [T1_MAX_MM_DESIGNS + 1]; <a href="ft2-basic_types.html#FT_ULong">FT_ULong</a> blend_bitflags; <a href="ft2-basic_types.html#FT_BBox">FT_BBox</a>* bboxes [T1_MAX_MM_DESIGNS + 1]; } PS_BlendRec, *PS_Blend; /* backwards-compatible definition */ <span class="keyword">typedef</span> PS_BlendRec T1_Blend; <span class="keyword">typedef</span> <span class="keyword">struct</span> CID_FaceDictRec_ { <a href="ft2-type1_tables.html#PS_PrivateRec">PS_PrivateRec</a> private_dict;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?