home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v2.zip / DDKX86 / DBCSDD / INC32 / PMFONT.INC < prev    next >
Text File  |  1995-04-14  |  5KB  |  176 lines

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  4. ;
  5. ;    The following IBM OS/2 WARP source code is provided to you solely for
  6. ;    the purpose of assisting you in your development of OS/2 WARP device
  7. ;    drivers. You may use this code in accordance with the IBM License
  8. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  9. ;    Copyright statement may not be removed.;
  10. ;*****************************************************************************/
  11. PMFONT_INCLUDED    EQU    1
  12.  
  13.  
  14. FOCAMETRICS    STRUC
  15. foca_ulIdentity    DD    ?
  16. foca_ulSize    DD    ?
  17. foca_szFamilyname    DB    32 DUP (?)
  18. foca_szFacename    DB    32 DUP (?)
  19. foca_usRegistryId    DW    ?
  20. foca_usCodePage    DW    ?
  21. foca_yEmHeight    DW    ?
  22. foca_yXHeight    DW    ?
  23. foca_yMaxAscender    DW    ?
  24. foca_yMaxDescender    DW    ?
  25. foca_yLowerCaseAscent    DW    ?
  26. foca_yLowerCaseDescent    DW    ?
  27. foca_yInternalLeading    DW    ?
  28. foca_yExternalLeading    DW    ?
  29. foca_xAveCharWidth    DW    ?
  30. foca_xMaxCharInc    DW    ?
  31. foca_xEmInc    DW    ?
  32. foca_yMaxBaselineExt    DW    ?
  33. foca_sCharSlope    DW    ?
  34. foca_sInlineDir    DW    ?
  35. foca_sCharRot    DW    ?
  36. foca_usWeightClass    DW    ?
  37. foca_usWidthClass    DW    ?
  38. foca_xDeviceRes    DW    ?
  39. foca_yDeviceRes    DW    ?
  40. foca_usFirstChar    DW    ?
  41. foca_usLastChar    DW    ?
  42. foca_usDefaultChar    DW    ?
  43. foca_usBreakChar    DW    ?
  44. foca_usNominalPointSize    DW    ?
  45. foca_usMinimumPointSize    DW    ?
  46. foca_usMaximumPointSize    DW    ?
  47. foca_fsTypeFlags    DW    ?
  48. foca_fsDefn    DW    ?
  49. foca_fsSelectionFlags    DW    ?
  50. foca_fsCapabilities    DW    ?
  51. foca_ySubscriptXSize    DW    ?
  52. foca_ySubscriptYSize    DW    ?
  53. foca_ySubscriptXOffset    DW    ?
  54. foca_ySubscriptYOffset    DW    ?
  55. foca_ySuperscriptXSize    DW    ?
  56. foca_ySuperscriptYSize    DW    ?
  57. foca_ySuperscriptXOffset    DW    ?
  58. foca_ySuperscriptYOffset    DW    ?
  59. foca_yUnderscoreSize    DW    ?
  60. foca_yUnderscorePosition    DW    ?
  61. foca_yStrikeoutSize    DW    ?
  62. foca_yStrikeoutPosition    DW    ?
  63. foca_usKerningPairs    DW    ?
  64. foca_sFamilyClass    DW    ?
  65. foca_pszDeviceNameOffset    DD    ?
  66. FOCAMETRICS    ENDS
  67.  
  68. FONTFILEMETRICS    STRUC
  69. ffm_ulIdentity    DD    ?
  70. ffm_ulSize    DD    ?
  71. ffm_szFamilyname    DB    32 DUP (?)
  72. ffm_szFacename    DB    32 DUP (?)
  73. ffm_usRegistryId    DW    ?
  74. ffm_usCodePage    DW    ?
  75. ffm_yEmHeight    DW    ?
  76. ffm_yXHeight    DW    ?
  77. ffm_yMaxAscender    DW    ?
  78. ffm_yMaxDescender    DW    ?
  79. ffm_yLowerCaseAscent    DW    ?
  80. ffm_yLowerCaseDescent    DW    ?
  81. ffm_yInternalLeading    DW    ?
  82. ffm_yExternalLeading    DW    ?
  83. ffm_xAveCharWidth    DW    ?
  84. ffm_xMaxCharInc    DW    ?
  85. ffm_xEmInc    DW    ?
  86. ffm_yMaxBaselineExt    DW    ?
  87. ffm_sCharSlope    DW    ?
  88. ffm_sInlineDir    DW    ?
  89. ffm_sCharRot    DW    ?
  90. ffm_usWeightClass    DW    ?
  91. ffm_usWidthClass    DW    ?
  92. ffm_xDeviceRes    DW    ?
  93. ffm_yDeviceRes    DW    ?
  94. ffm_usFirstChar    DW    ?
  95. ffm_usLastChar    DW    ?
  96. ffm_usDefaultChar    DW    ?
  97. ffm_usBreakChar    DW    ?
  98. ffm_usNominalPointSize    DW    ?
  99. ffm_usMinimumPointSize    DW    ?
  100. ffm_usMaximumPointSize    DW    ?
  101. ffm_fsTypeFlags    DW    ?
  102. ffm_fsDefn    DW    ?
  103. ffm_fsSelectionFlags    DW    ?
  104. ffm_fsCapabilities    DW    ?
  105. ffm_ySubscriptXSize    DW    ?
  106. ffm_ySubscriptYSize    DW    ?
  107. ffm_ySubscriptXOffset    DW    ?
  108. ffm_ySubscriptYOffset    DW    ?
  109. ffm_ySuperscriptXSize    DW    ?
  110. ffm_ySuperscriptYSize    DW    ?
  111. ffm_ySuperscriptXOffset    DW    ?
  112. ffm_ySuperscriptYOffset    DW    ?
  113. ffm_yUnderscoreSize    DW    ?
  114. ffm_yUnderscorePosition    DW    ?
  115. ffm_yStrikeoutSize    DW    ?
  116. ffm_yStrikeoutPosition    DW    ?
  117. ffm_usKerningPairs    DW    ?
  118. ffm_sFamilyClass    DW    ?
  119. ffm_ulReserved    DD    ?
  120. ffm_panose    DB    SIZE PANOSE DUP (?)
  121. FONTFILEMETRICS    ENDS
  122.  
  123. FONTDEFINITIONHEADER    STRUC
  124. fdh_ulIdentity    DD    ?
  125. fdh_ulSize    DD    ?
  126. fdh_fsFontdef    DW    ?
  127. fdh_fsChardef    DW    ?
  128. fdh_usCellSize    DW    ?
  129. fdh_xCellWidth    DW    ?
  130. fdh_yCellHeight    DW    ?
  131. fdh_xCellIncrement    DW    ?
  132. fdh_xCellA    DW    ?
  133. fdh_xCellB    DW    ?
  134. fdh_xCellC    DW    ?
  135. fdh_pCellBaseOffset    DW    ?
  136. FONTDEFINITIONHEADER    ENDS
  137. FONTDEFFONT1    EQU    0047H   
  138. FONTDEFFONT2    EQU    0042H   
  139. FONTDEFFONT3    EQU    0042H   
  140. FONTDEFCHAR1    EQU    0081H   
  141. FONTDEFCHAR2    EQU    0081H   
  142. FONTDEFCHAR3    EQU    00b8H   
  143. SPACE_UNDEF    EQU    8000H   
  144.  
  145. FONTSIGNATURE    STRUC
  146. fs_ulIdentity    DD    ?
  147. fs_ulSize    DD    ?
  148. fs_achSignature    DB    12 DUP (?)
  149. FONTSIGNATURE    ENDS
  150.  
  151. ADDITIONALMETRICS    STRUC
  152. am_ulIdentity    DD    ?
  153. am_ulSize    DD    ?
  154. am_panose    DB    SIZE PANOSE DUP (?)
  155. ADDITIONALMETRICS    ENDS
  156.  
  157. FOCAFONT    STRUC
  158. ff_fsSignature    DB    SIZE FONTSIGNATURE DUP (?)
  159. ff_fmMetrics    DB    SIZE FOCAMETRICS DUP (?)
  160. ff_fdDefinitions    DB    SIZE FONTDEFINITIONHEADER DUP (?)
  161. FOCAFONT    ENDS
  162. FONT_SIGNATURE    EQU    0fffffffeH  
  163. FONT_METRICS    EQU    00000001H  
  164. FONT_DEFINITION    EQU    00000002H  
  165. FONT_KERNPAIRS    EQU    00000003H  
  166. FONT_ADDITIONALMETRICS    EQU    00000004H  
  167. FONT_ENDRECORD    EQU    0ffffffffH  
  168. QUERY_PUBLIC_FONTS    EQU    0001H 
  169. QUERY_PRIVATE_FONTS    EQU    0002H 
  170. CDEF_GENERIC    EQU    0001H 
  171. CDEF_BOLD    EQU    0002H 
  172. CDEF_ITALIC    EQU    0004H 
  173. CDEF_UNDERSCORE    EQU    0008H 
  174. CDEF_STRIKEOUT    EQU    0010H 
  175. CDEF_OUTLINE    EQU    0020H 
  176.