Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
8.3 KiB

  1. /* @(#)CM_VerSion xcf_dtop.h atm08 1.4 16293.eco sum= 35997 atm08.004 */
  2. /***********************************************************************/
  3. /* */
  4. /* Copyright 1990-1995 Adobe Systems Incorporated. */
  5. /* All rights reserved. */
  6. /* */
  7. /* Patents Pending */
  8. /* */
  9. /* NOTICE: All information contained herein is the property of Adobe */
  10. /* Systems Incorporated. Many of the intellectual and technical */
  11. /* concepts contained herein are proprietary to Adobe, are protected */
  12. /* as trade secrets, and are made available only to Adobe licensees */
  13. /* for their internal use. Any reproduction or dissemination of this */
  14. /* software is strictly forbidden unless prior written permission is */
  15. /* obtained from Adobe. */
  16. /* */
  17. /* PostScript and Display PostScript are trademarks of Adobe Systems */
  18. /* Incorporated or its subsidiaries and may be registered in certain */
  19. /* jurisdictions. */
  20. /* */
  21. /***********************************************************************
  22. * SCCS Id: %W%
  23. * Changed: %G% %U%
  24. ***********************************************************************/
  25. /*
  26. * CFF dictionary operator definitions.
  27. *
  28. * There are several kinds of fonts that are supported by CFF that have
  29. * different dict organizations:
  30. *
  31. * Top Private FDs PDs
  32. * --- ------- --- ---
  33. * single master x x
  34. * synthetic x
  35. * multiple master x x
  36. * CID x x x
  37. * chameleon x
  38. *
  39. * The Top dict, so named because of its position in the dictionary hierarchy,
  40. * is also known as the Font dict in all but CID fonts. CID fonts have two
  41. * arrays of Font and Private sub-dicts called FDs and PDs, respectively.
  42. * Synthetic fonts just have a Top dict containing a reference to another font.
  43. *
  44. * This file defines the dict operators that can appear in these dicts. In
  45. * order to aid font recognition and parsing, the following restrictions are
  46. * imposed upon dict op ordering:
  47. *
  48. * Synthetic/top: Must begin with cff_SyntheticBase.
  49. * MM/top: Must begin cff_MultipleMaster.
  50. * CID/top: Must begin with cff_ROS.
  51. * Chameleon/top: Must begin with cff_Chameleon.
  52. * Private/PD: cff_OtherBlues must follow cff_BlueValues and
  53. * cff_FamilyOtherBlues must follow cff_FamilyBlues.
  54. *
  55. * If the top dict doesn't begin with one of the operators listed above it is
  56. * assumed to define a single master font. Chameleon fonts don't define a
  57. * Private dict but instead use the Private operator to specify the size and
  58. * offset of the Chameleon font descriptor for the font.
  59. *
  60. * Comments indicate in which dicts an op may appear along with a default
  61. * value, if any, within parentheses.
  62. */
  63. #ifndef DICTOPS_H
  64. #define DICTOPS_H
  65. /* One byte operators (0-31) */
  66. #define cff_version 0 /* Top/FD */
  67. #define cff_Notice 1 /* Top/FD */
  68. #define cff_FullName 2 /* Top/FD */
  69. #define cff_FamilyName 3 /* Top/FD */
  70. #define cff_Weight 4 /* Top/FD */
  71. #define cff_FontBBox 5 /* Top/FD */
  72. #define cff_BlueValues 6 /* Private/PD (empty array) */
  73. #define cff_OtherBlues 7 /* Private/PD */
  74. #define cff_FamilyBlues 8 /* Private/PD */
  75. #define cff_FamilyOtherBlues 9 /* Private/PD */
  76. #define cff_StdHW 10 /* Private/PD */
  77. #define cff_StdVW 11 /* Private/PD */
  78. #define cff_escape 12 /* All. Shared with T2 op */
  79. #define cff_UniqueID 13 /* Top/FD */
  80. #define cff_XUID 14 /* Top/FD */
  81. #define cff_charset 15 /* Top/FD (0) */
  82. #define cff_Encoding 16 /* Top/FD (0) */
  83. #define cff_CharStrings 17 /* Top/FD */
  84. #define cff_Private 18 /* Top/FD */
  85. #define cff_Subrs 19 /* Private/PD */
  86. #define cff_defaultWidthX 20 /* Private/PD (0) */
  87. #define cff_nominalWidthX 21 /* Private/PD (0) */
  88. #define cff_reserved22 22
  89. #define cff_reserved23 23
  90. #define cff_reserved24 24
  91. #define cff_reserved25 25
  92. #define cff_reserved26 26
  93. #define cff_reserved27 27
  94. #define cff_shortint 28 /* All. Shared with T2 op */
  95. #define cff_longint 29 /* All */
  96. #define cff_BCD 30 /* All */
  97. #define cff_T2 31 /* Top/Private */
  98. #define cff_reserved255 255
  99. #define cff_LAST_ONE_BYTE_OP cff_T2
  100. /* Make escape operator value; may be redefined to suit implementation */
  101. #ifndef cff_ESC
  102. #define cff_ESC(op) (cff_escape<<8|(op))
  103. #endif
  104. /* Two byte operators */
  105. #define cff_Copyright cff_ESC(0) /* Top/FD */
  106. #define cff_isFixedPitch cff_ESC(1) /* Top/FD (false) */
  107. #define cff_ItalicAngle cff_ESC(2) /* Top/FD (0) */
  108. #define cff_UnderlinePosition cff_ESC(3) /* Top/FD (-100) */
  109. #define cff_UnderlineThickness cff_ESC(4) /* Top/FD (50) */
  110. #define cff_PaintType cff_ESC(5) /* Top/FD (0) */
  111. #define cff_CharstringType cff_ESC(6) /* Top/FD (2) */
  112. #define cff_FontMatrix cff_ESC(7) /* Top/FD (.001 0 0 .001 0 0)*/
  113. #define cff_StrokeWidth cff_ESC(8) /* Top/FD (0) */
  114. #define cff_BlueScale cff_ESC(9) /* Private/PD (0.039625) */
  115. #define cff_BlueShift cff_ESC(10) /* Private/PD (7) */
  116. #define cff_BlueFuzz cff_ESC(11) /* Private/PD (1) */
  117. #define cff_StemSnapH cff_ESC(12) /* Private/PD */
  118. #define cff_StemSnapV cff_ESC(13) /* Private/PD */
  119. #define cff_ForceBold cff_ESC(14) /* Private/PD (false) */
  120. #define cff_ForceBoldThreshold cff_ESC(15) /* Private/PD (0) */
  121. #define cff_lenIV cff_ESC(16) /* Private/PD (-1) */
  122. #define cff_LanguageGroup cff_ESC(17) /* Private/PD */
  123. #define cff_ExpansionFactor cff_ESC(18) /* Private/PD (0.06) */
  124. #define cff_initialRandomSeed cff_ESC(19) /* Private/PD (0) */
  125. #define cff_SyntheticBase cff_ESC(20) /* Top/FD */
  126. #define cff_PostScript cff_ESC(21) /* Private/PD */
  127. #define cff_BaseFontName cff_ESC(22) /* Top/FD */
  128. #define cff_BaseFontBlend cff_ESC(23) /* Top/FD */
  129. #define cff_MultipleMaster cff_ESC(24) /* Top */
  130. #define cff_reservedESC25 cff_ESC(25) /* Top */
  131. #define cff_BlendAxisTypes cff_ESC(26) /* Top */
  132. #define cff_reservedESC27 cff_ESC(27)
  133. #define cff_reservedESC28 cff_ESC(28)
  134. #define cff_reservedESC29 cff_ESC(29)
  135. #define cff_ROS cff_ESC(30) /* Top */
  136. #define cff_CIDFontVersion cff_ESC(31) /* Top (0) */
  137. #define cff_CIDFontRevision cff_ESC(32) /* Top (0) */
  138. #define cff_CIDFontType cff_ESC(33) /* Top (0) */
  139. #define cff_CIDCount cff_ESC(34) /* Top (8720) */
  140. #define cff_UIDBase cff_ESC(35) /* Top */
  141. #define cff_FDArray cff_ESC(36) /* Top */
  142. #define cff_FDSelect cff_ESC(37) /* Top */
  143. #define cff_FontName cff_ESC(38) /* FD */
  144. #define cff_Chameleon cff_ESC(39) /* Top */
  145. #define cff_LAST_TWO_BYTE_OP cff_Chameleon
  146. /* 40-255 Reserved */
  147. /* Predefined charsets (cff_charset operands) */
  148. #define cff_ISOAdobeCharset 0
  149. #define cff_ExpertCharset 1
  150. #define cff_ExpertSubsetCharset 2
  151. /* Predefined encodings (cff_Encoding operands) */
  152. #define cff_StandardEncoding 0
  153. #define cff_ExpertEncoding 1
  154. #endif /* DICTOPS_H */