cidtoken.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /***************************************************************************/
  2. /* */
  3. /* cidtoken.h */
  4. /* */
  5. /* CID token definitions (specification only). */
  6. /* */
  7. /* Copyright 1996-2001, 2002 by */
  8. /* David Turner, Robert Wilhelm, and Werner Lemberg. */
  9. /* */
  10. /* This file is part of the FreeType project, and may only be used, */
  11. /* modified, and distributed under the terms of the FreeType project */
  12. /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
  13. /* this file you indicate that you have read the license and */
  14. /* understand and accept it fully. */
  15. /* */
  16. /***************************************************************************/
  17. #undef FT_STRUCTURE
  18. #define FT_STRUCTURE CID_FaceInfoRec
  19. #undef T1CODE
  20. #define T1CODE T1_FIELD_LOCATION_CID_INFO
  21. T1_FIELD_STRING( "CIDFontName", cid_font_name )
  22. T1_FIELD_NUM ( "CIDFontVersion", cid_version )
  23. T1_FIELD_NUM ( "CIDFontType", cid_font_type )
  24. T1_FIELD_STRING( "Registry", registry )
  25. T1_FIELD_STRING( "Ordering", ordering )
  26. T1_FIELD_NUM ( "Supplement", supplement )
  27. T1_FIELD_NUM ( "UIDBase", uid_base )
  28. T1_FIELD_NUM ( "CIDMapOffset", cidmap_offset )
  29. T1_FIELD_NUM ( "FDBytes", fd_bytes )
  30. T1_FIELD_NUM ( "GDBytes", gd_bytes )
  31. T1_FIELD_NUM ( "CIDCount", cid_count )
  32. #undef FT_STRUCTURE
  33. #define FT_STRUCTURE PS_FontInfoRec
  34. #undef T1CODE
  35. #define T1CODE T1_FIELD_LOCATION_FONT_INFO
  36. T1_FIELD_STRING ( "version", version )
  37. T1_FIELD_STRING ( "Notice", notice )
  38. T1_FIELD_STRING ( "FullName", full_name )
  39. T1_FIELD_STRING ( "FamilyName", family_name )
  40. T1_FIELD_STRING ( "Weight", weight )
  41. T1_FIELD_FIXED ( "ItalicAngle", italic_angle )
  42. T1_FIELD_TYPE_BOOL( "isFixedPitch", is_fixed_pitch )
  43. T1_FIELD_NUM ( "UnderlinePosition", underline_position )
  44. T1_FIELD_NUM ( "UnderlineThickness", underline_thickness )
  45. #undef FT_STRUCTURE
  46. #define FT_STRUCTURE CID_FaceDictRec
  47. #undef T1CODE
  48. #define T1CODE T1_FIELD_LOCATION_FONT_DICT
  49. T1_FIELD_NUM ( "PaintType", paint_type )
  50. T1_FIELD_NUM ( "FontType", font_type )
  51. T1_FIELD_NUM ( "SubrMapOffset", subrmap_offset )
  52. T1_FIELD_NUM ( "SDBytes", sd_bytes )
  53. T1_FIELD_NUM ( "SubrCount", num_subrs )
  54. T1_FIELD_NUM ( "lenBuildCharArray", len_buildchar )
  55. T1_FIELD_FIXED( "ForceBoldThreshold", forcebold_threshold )
  56. T1_FIELD_FIXED( "ExpansionFactor", expansion_factor )
  57. T1_FIELD_NUM ( "StrokeWidth", stroke_width )
  58. #undef FT_STRUCTURE
  59. #define FT_STRUCTURE PS_PrivateRec
  60. #undef T1CODE
  61. #define T1CODE T1_FIELD_LOCATION_PRIVATE
  62. T1_FIELD_NUM ( "UniqueID", unique_id )
  63. T1_FIELD_NUM ( "lenIV", lenIV )
  64. T1_FIELD_NUM ( "LanguageGroup", language_group )
  65. T1_FIELD_NUM ( "password", password )
  66. T1_FIELD_FIXED ( "BlueScale", blue_scale )
  67. T1_FIELD_NUM ( "BlueShift", blue_shift )
  68. T1_FIELD_NUM ( "BlueFuzz", blue_fuzz )
  69. T1_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14 )
  70. T1_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10 )
  71. T1_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14 )
  72. T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10 )
  73. T1_FIELD_NUM_TABLE2( "StdHW", standard_width, 1 )
  74. T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1 )
  75. T1_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2 )
  76. T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12 )
  77. T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12 )
  78. /* END */