home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / oslib / Hdr / Font < prev    next >
Encoding:
Text File  |  1994-09-22  |  18.0 KB  |  624 lines

  1. ;AAsm header file for Font
  2. ;written by DefMod (Aug  8 1994) on Thu Sep 22 15:28:33 1994
  3.  
  4.         [       :LNOT: :DEF: Get_Types
  5.         GBLS    Get_Types
  6. Get_Types                       SETS    "GET OS:Hdr.Types"
  7.         |
  8. Get_Types                       SETS    ""
  9.         ]
  10.         $Get_Types
  11.  
  12.         [       :LNOT: :DEF: Get_OS
  13.         GBLS    Get_OS
  14. Get_OS                          SETS    "GET OS:Hdr.OS"
  15.         |
  16. Get_OS                          SETS    ""
  17.         ]
  18.         $Get_OS
  19.  
  20.         [       :LNOT: :DEF: Font_Hdr
  21.         GBLS    Font_Hdr
  22.  
  23. ;Symbols for constants
  24. Font_OSUnit                     *       400
  25. Font_Inch                       *       72000
  26. Font_Point                      *       1000
  27. Font_CommandNull                *       :CHR: &00
  28. Font_CommandXMove               *       :CHR: &09
  29. Font_CommandLinefeed            *       :CHR: &0A
  30. Font_CommandYMove               *       :CHR: &0B
  31. Font_CommandReturn              *       :CHR: &0D
  32. Font_CommandGCol                *       :CHR: &11
  33. Font_CommandColours             *       :CHR: &12
  34. Font_CommandTrueColours         *       :CHR: &13
  35. Font_CommandComment             *       :CHR: &15
  36. Font_CommandUnderline           *       :CHR: &19
  37. Font_CommandFont                *       :CHR: &1A
  38. Font_CommandHomTrfm             *       :CHR: &1B
  39. Font_CommandTrfm                *       :CHR: &1C
  40. Font_Justify                    *       &1
  41. Font_Rubout                     *       &2
  42. Font_OSUnits                    *       &10
  43. Font_GivenBlock                 *       &20
  44. Font_GivenTrfm                  *       &40
  45. Font_GivenLength                *       &80
  46. Font_GivenFont                  *       &100
  47. Font_Kern                       *       &200
  48. Font_RightToLeft                *       &400
  49. Font_ReturnCaretPos             *       &20000
  50. Font_ReturnBBox                 *       &40000
  51. Font_ReturnMatrix               *       &80000
  52. Font_ReturnSplitCount           *       &100000
  53. Font_NoOutput                   *       &1
  54. Font_AddHints                   *       &2
  55. Font_OutputSkeleton             *       &4
  56. Font_ConvertBitmap              *       &8
  57. Font_ErrorIfBitmap              *       &10
  58. Error_FontNoRoom                *       &200
  59. Error_FontCacheFull             *       &201
  60. Error_FontNoCache               *       &202
  61. Error_FontTooLong               *       &203
  62. Error_Font64K                   *       &204
  63. Error_FontPalTooBig             *       &205
  64. Error_FontBadTranBits           *       &206
  65. Error_FontNotEnoughBits         *       &207
  66. Error_FontNoFont                *       &208
  67. Error_FontNoPixels              *       &209
  68. Error_FontBadFontNumber         *       &20A
  69. Error_FontNotFound              *       &20B
  70. Error_FontBadFontFile           *       &20C
  71. Error_FontNoHandles             *       &20D
  72. Error_FontBadCounter            *       &20E
  73. Error_FontBadCtrlChar           *       &20F
  74. Error_FontsInUse                *       &210
  75. Error_FontBadSegment            *       &211
  76. Error_FontBadPrefix             *       &212
  77. Error_FontReserved              *       &213
  78. Error_FontBadCharCode           *       &214
  79. Error_FontNoBitmaps             *       &215
  80. Error_FontNoBitmaps2            *       &216
  81. Error_FontBadFontCacheFile      *       &217
  82. Error_FontFieldNotFound         *       &218
  83. Error_FontBadMatrix             *       &219
  84. Error_FontOverflow              *       &21A
  85. Error_FontDivby0                *       &21B
  86. Error_FontBadReadMetrics        *       &21C
  87. Error_FontBadRGB                *       &21D
  88. Error_FontEncodingNotFound      *       &21E
  89. Error_FontMustHaveSlash         *       &21F
  90. Error_FontBadEncodingSize       *       &220
  91. Error_FontTooManyIDs            *       &221
  92. Error_FontTooFewIDs             *       &222
  93. Error_FontNoBaseEncoding        *       &223
  94. Error_FontIdentifierNotFound    *       &224
  95. Error_FontTooManyChunks         *       &225
  96. Error_FontBadFontFile2          *       &226
  97. Error_FontDataNotFound          *       &20B
  98. Error_FontDataNotFound2         *       &20B
  99. Font_NameLimit                  *       40
  100. Font_System                     *       &0
  101. Font_Current                    *       &0
  102. Font_BitmapDeep                 *       &1
  103. Font_BitmapHorizontalSubPixel   *       &2
  104. Font_BitmapVerticalSubPixel     *       &4
  105. Font_BitmapDelete               *       &8
  106. Font_CharacteristicOldFormat    *       &1
  107. Font_CharacteristicROM          *       &2
  108. Font_CharacteristicMonochrome   *       &4
  109. Font_CharacteristicFillRuleNonZero *       &8
  110. Font_ReturnFontName             *       &10000
  111. Font_ReturnLocalFontName        *       &20000
  112. Font_UseLinefeed                *       &40000
  113. Font_ReturnFontMenu             *       &80000
  114. Font_AllowSystemFont            *       &100000
  115. Font_GivenTick                  *       &200000
  116. Font_ReturnEncodingMenu         *       &480000
  117. Font_TickNone                   *       &0
  118. Font_TickSystemFont             *       &1
  119. Font_MetricsKernYOnly           *       &2
  120. Font_MetricsKernXOnly           *       &4
  121. Font_MetricsManyKernPairs       *       &8
  122. Font_GivenEncodingMenu          *       &1
  123.  
  124. ;Symbols for structure offsets and sizes
  125. Font_F                          *       Byte
  126.  
  127.                                 ^       0
  128. Font_PaintBlock_space           #       OS_Coord
  129. Font_PaintBlock_letter          #       OS_Coord
  130. Font_PaintBlock_rubout          #       OS_Box
  131. Font_PaintBlock                 *       @
  132.  
  133.                                 ^       0
  134. Font_ScanBlock_space            #       OS_Coord
  135. Font_ScanBlock_letter           #       OS_Coord
  136. Font_ScanBlock_split_char       #       Int
  137. Font_ScanBlock_bbox             #       OS_Box
  138. Font_ScanBlock                  *       @
  139.  
  140.                                 ^       0
  141. Font_Thresholds_t               #       Byte
  142. Font_Thresholds                 *       @
  143.  
  144.                                 ^       0
  145. Font_ColourTable_c              #       Byte
  146. Font_ColourTable                *       @
  147.  
  148.                                 ^       0
  149. Font_BBoxInfo_bboxes            #       OS_Box
  150. Font_BBoxInfo                   *       @
  151.  
  152.                                 ^       0
  153. Font_WidthInfo_widths           #       256*Int
  154. Font_WidthInfo                  *       @
  155.  
  156.                                 ^       0
  157. Font_MiscInfo_x0                #       Short
  158. Font_MiscInfo_y0                #       Short
  159. Font_MiscInfo_x1                #       Short
  160. Font_MiscInfo_y1                #       Short
  161. Font_MiscInfo_xkern             #       Short
  162. Font_MiscInfo_ykern             #       Short
  163. Font_MiscInfo_italic_correction #       Short
  164. Font_MiscInfo_underline_position #       Byte
  165. Font_MiscInfo_underline_thickness #       Byte
  166. Font_MiscInfo_cap_height        #       Short
  167. Font_MiscInfo_xheight           #       Short
  168. Font_MiscInfo_descender         #       Short
  169. Font_MiscInfo_ascender          #       Short
  170. Font_MiscInfo_reserved          #       Int
  171. Font_MiscInfo                   *       @
  172.  
  173. Font_ShortKernPair              *       Bits
  174.  
  175.                                 ^       0
  176. Font_LongKernPair_c             #       Int
  177. Font_LongKernPair_xkern         #       Int
  178. Font_LongKernPair_ykern         #       Int
  179. Font_LongKernPair               *       @
  180.  
  181.                                 ^       0
  182. Font_KernInfo_long_info_table   #       256*Int
  183. Font_KernInfo_long_info_size    #       Int
  184. Font_KernInfo_long_info_flags   #       Bits
  185. Font_KernInfo_long_info_pairs   #       Font_LongKernPair
  186.                                 ^       0
  187. Font_KernInfo_short_info_table  #       256*Int
  188. Font_KernInfo_short_info_size   #       Int
  189. Font_KernInfo_short_info_flags  #       Bits
  190. Font_KernInfo_short_info_pairs  #       Font_ShortKernPair
  191. Font_KernInfo                   *       @
  192.  
  193.  
  194. ;Symbols for SWI's and SWI reason codes
  195. XFont_CacheAddr                 *       &60080
  196. Font_CacheAddr                  *       &40080
  197.    ;Exit
  198.    ;  R0 = version (Int)
  199.    ;  R2 = cache_size (Int)
  200.    ;  R3 = cache_used (Int)
  201.  
  202. XFont_FindFont                  *       &60081
  203. Font_FindFont                   *       &40081
  204.    ;Entry
  205.    ;  R1 -> font_name (String)
  206.    ;  R2 = xsize (Int)
  207.    ;  R3 = ysize (Int)
  208.    ;  R4 = xres (Int)
  209.    ;  R5 = yres (Int)
  210.    ;Exit
  211.    ;  R0 = font (Font_F)
  212.    ;  R4 = xres_out (Int)
  213.    ;  R5 = yres_out (Int)
  214.  
  215. XFont_LoseFont                  *       &60082
  216. Font_LoseFont                   *       &40082
  217.    ;Entry
  218.    ;  R0 = font (Font_F)
  219.  
  220. XFont_ReadDefn                  *       &60083
  221. Font_ReadDefn                   *       &40083
  222.    ;Entry
  223.    ;  R0 = font (Font_F)
  224.    ;  R3 = &0
  225.    ;Exit
  226.    ;  R2 = xsize (Int)
  227.    ;  R3 = ysize (Int)
  228.    ;  R4 = xres (Int)
  229.    ;  R5 = yres (Int)
  230.    ;  R6 = age (Int)
  231.    ;  R7 = usage_count (Int)
  232.  
  233. XFont_ReadIdentifier            *       &60083
  234. Font_ReadIdentifier             *       &40083
  235.    ;Entry
  236.    ;  R0 = font (Font_F)
  237.    ;  R1 = buffer (pointer to data)
  238.    ;  R3 = &4C4C5546
  239.    ;Exit
  240.    ;  R2 = used (Int)
  241.    ;  R3 corrupted
  242.    ;  R4 corrupted
  243.    ;  R5 corrupted
  244.    ;  R6 corrupted
  245.    ;  R7 corrupted
  246.  
  247. XFont_ReadInfo                  *       &60084
  248. Font_ReadInfo                   *       &40084
  249.    ;Entry
  250.    ;  R0 = font (Font_F)
  251.    ;Exit
  252.    ;  R1 = x0 (Int)
  253.    ;  R2 = y0 (Int)
  254.    ;  R3 = x1 (Int)
  255.    ;  R4 = y1 (Int)
  256.  
  257. XFont_StringWidth               *       &60085
  258. Font_StringWidth                *       &40085
  259.    ;Entry
  260.    ;  R1 -> s (String)
  261.    ;  R2 = xmax (Int)
  262.    ;  R3 = ymax (Int)
  263.    ;  R4 = split (Int)
  264.    ;  R5 = length (Int)
  265.    ;Exit
  266.    ;  R1 -> split_point (Char)
  267.    ;  R2 = x (Int)
  268.    ;  R3 = y (Int)
  269.    ;  R4 = length_out (Int)
  270.    ;  R5 = index_out (Int)
  271.  
  272. XFont_Paint                     *       &60086
  273. Font_Paint                      *       &40086
  274.    ;Entry
  275.    ;  R0 = font (Font_F)
  276.    ;  R1 -> string (String)
  277.    ;  R2 = flags (Bits)
  278.    ;  R3 = xpos (Int)
  279.    ;  R4 = ypos (Int)
  280.    ;  R5 -> block (Font_PaintBlock)
  281.    ;  R6 -> trfm (OS_Trfm)
  282.    ;  R7 = length (Int)
  283.  
  284. XFont_Caret                     *       &60087
  285. Font_Caret                      *       &40087
  286.    ;Entry
  287.    ;  R0 = colour_number (OS_ColourNumber)
  288.    ;  R1 = height (Int)
  289.    ;  R2 = flags (Bits)
  290.    ;  R3 = x (Int)
  291.    ;  R4 = y (Int)
  292.  
  293. XFont_ConverttoOS               *       &60088
  294. Font_ConverttoOS                *       &40088
  295.    ;Entry
  296.    ;  R1 = x (Int)
  297.    ;  R2 = y (Int)
  298.    ;Exit
  299.    ;  R1 = x_out (Int)
  300.    ;  R2 = y_out (Int)
  301.  
  302. XFont_Converttopoints           *       &60089
  303. Font_Converttopoints            *       &40089
  304.    ;Entry
  305.    ;  R1 = x (Int)
  306.    ;  R2 = y (Int)
  307.    ;Exit
  308.    ;  R0 corrupted
  309.    ;  R1 = x_out (Int)
  310.    ;  R2 = y_out (Int)
  311.  
  312. XFont_SetFont                   *       &6008A
  313. Font_SetFont                    *       &4008A
  314.    ;Entry
  315.    ;  R0 = font (Font_F)
  316.  
  317. XFont_CurrentFont               *       &6008B
  318. Font_CurrentFont                *       &4008B
  319.    ;Exit
  320.    ;  R0 = font (Font_F)
  321.    ;  R1 = bg_hint (OS_GCOL)
  322.    ;  R2 = fill (OS_GCOL)
  323.    ;  R3 = offset (Int)
  324.  
  325. XFont_FutureFont                *       &6008C
  326. Font_FutureFont                 *       &4008C
  327.    ;Exit
  328.    ;  R0 = font (Font_F)
  329.    ;  R1 = bg_hint (OS_GCOL)
  330.    ;  R2 = fill (OS_GCOL)
  331.    ;  R3 = offset (Int)
  332.  
  333. XFont_FindCaret                 *       &6008D
  334. Font_FindCaret                  *       &4008D
  335.    ;Entry
  336.    ;  R1 -> s (String)
  337.    ;  R2 = x (Int)
  338.    ;  R3 = y (Int)
  339.    ;Exit
  340.    ;  R1 -> split_point (Char)
  341.    ;  R2 = x_out (Int)
  342.    ;  R3 = y_out (Int)
  343.    ;  R4 = length_out (Int)
  344.    ;  R5 = index_out (Int)
  345.  
  346. XFont_CharBBox                  *       &6008E
  347. Font_CharBBox                   *       &4008E
  348.    ;Entry
  349.    ;  R0 = font (Font_F)
  350.    ;  R1 = c (Char)
  351.    ;  R2 = flags (Bits)
  352.    ;Exit
  353.    ;  R1 = x0 (Int)
  354.    ;  R2 = y0 (Int)
  355.    ;  R3 = x1 (Int)
  356.    ;  R4 = y1 (Int)
  357.  
  358. XFont_ReadScaleFactor           *       &6008F
  359. Font_ReadScaleFactor            *       &4008F
  360.    ;Exit
  361.    ;  R1 = xfactor (Int)
  362.    ;  R2 = yfactor (Int)
  363.  
  364. XFont_SetScaleFactor            *       &60090
  365. Font_SetScaleFactor             *       &40090
  366.    ;Entry
  367.    ;  R1 = xfactor (Int)
  368.    ;  R2 = yfactor (Int)
  369.  
  370. XFont_ListFonts                 *       &60091
  371. Font_ListFonts                  *       &40091
  372.    ;Entry
  373.    ;  R1 = buffer1 (pointer to data)
  374.    ;  R2 = context (Int)
  375.    ;  R3 = size1 (Int)
  376.    ;  R4 = buffer2 (pointer to data)
  377.    ;  R5 = size2 (Int)
  378.    ;  R6 -> tick_font (String)
  379.    ;Exit
  380.    ;  R2 = context_out (Int)
  381.    ;  R3 = used1 (Int)
  382.    ;  R5 = used2 (Int)
  383.  
  384. XFont_SetFontColours            *       &60092
  385. Font_SetFontColours             *       &40092
  386.    ;Entry
  387.    ;  R0 = font (Font_F)
  388.    ;  R1 = bg_hint (OS_GCOL)
  389.    ;  R2 = fill (OS_GCOL)
  390.    ;  R3 = offset (Int)
  391.  
  392. XFont_SetPalette                *       &60093
  393. Font_SetPalette                 *       &40093
  394.    ;Entry
  395.    ;  R1 = bg_hint (OS_GCOL)
  396.    ;  R2 = fill (OS_GCOL)
  397.    ;  R3 = offset (Int)
  398.    ;  R4 = bg_hint_out (OS_Colour)
  399.    ;  R5 = fill_out (OS_Colour)
  400.    ;  R6 = &0
  401.  
  402. XFont_SetTruePalette            *       &60093
  403. Font_SetTruePalette             *       &40093
  404.    ;Entry
  405.    ;  R1 = bg_hint (OS_GCOL)
  406.    ;  R2 = fill (OS_GCOL)
  407.    ;  R3 = offset (Int)
  408.    ;  R4 = bg_hint_out (OS_Colour)
  409.    ;  R5 = fill_out (OS_Colour)
  410.    ;  R6 = &65757254
  411.  
  412. XFont_ReadThresholds            *       &60094
  413. Font_ReadThresholds             *       &40094
  414.    ;Entry
  415.    ;  R1 = buffer (pointer to Font_Thresholds)
  416.  
  417. XFont_SetThresholds             *       &60095
  418. Font_SetThresholds              *       &40095
  419.    ;Entry
  420.    ;  R1 -> thresholds (Font_Thresholds)
  421.  
  422. XFont_FindCaretJ                *       &60096
  423. Font_FindCaretJ                 *       &40096
  424.    ;Entry
  425.    ;  R1 -> s (String)
  426.    ;  R2 = x (Int)
  427.    ;  R3 = y (Int)
  428.    ;  R4 = xjust (Int)
  429.    ;  R5 = yjust (Int)
  430.    ;Exit
  431.    ;  R1 -> split_point (Char)
  432.    ;  R2 = x_out (Int)
  433.    ;  R3 = y_out (Int)
  434.    ;  R4 = length_out (Int)
  435.    ;  R5 = index_out (Int)
  436.  
  437. XFont_StringBBox                *       &60097
  438. Font_StringBBox                 *       &40097
  439.    ;Entry
  440.    ;  R1 -> s (String)
  441.    ;Exit
  442.    ;  R1 = x0 (Int)
  443.    ;  R2 = y0 (Int)
  444.    ;  R3 = x1 (Int)
  445.    ;  R4 = y1 (Int)
  446.  
  447. XFont_ReadColourTable           *       &60098
  448. Font_ReadColourTable            *       &40098
  449.    ;Entry
  450.    ;  R1 -> colour_table (Font_ColourTable)
  451.  
  452. XFont_MakeBitmap                *       &60099
  453. Font_MakeBitmap                 *       &40099
  454.    ;Entry
  455.    ;  R1 -> font_name (String)
  456.    ;  R2 = xsize (Int)
  457.    ;  R3 = ysize (Int)
  458.    ;  R4 = xres (Int)
  459.    ;  R5 = yres (Int)
  460.    ;  R6 = flags (Bits)
  461.  
  462. XFont_UnCacheFile               *       &6009A
  463. Font_UnCacheFile                *       &4009A
  464.    ;Entry
  465.    ;  R0 -> file_name (String)
  466.    ;  R1 = recache (Bool)
  467.  
  468. XFont_SetFontMax                *       &6009B
  469. Font_SetFontMax                 *       &4009B
  470.    ;Entry
  471.    ;  R0 = font_max (Int)
  472.    ;  R1 = font_max1 (Int)
  473.    ;  R2 = font_max2 (Int)
  474.    ;  R3 = font_max3 (Int)
  475.    ;  R4 = font_max4 (Int)
  476.    ;  R5 = font_max5 (Int)
  477.    ;  R6 = &0
  478.    ;  R7 = &0
  479.  
  480. XFont_ReadFontMax               *       &6009C
  481. Font_ReadFontMax                *       &4009C
  482.    ;Exit
  483.    ;  R0 = font_max (Int)
  484.    ;  R1 = font_max1 (Int)
  485.    ;  R2 = font_max2 (Int)
  486.    ;  R3 = font_max3 (Int)
  487.    ;  R4 = font_max4 (Int)
  488.    ;  R5 = font_max5 (Int)
  489.    ;  R6 corrupted
  490.    ;  R7 corrupted
  491.  
  492. XFont_ReadFontPrefix            *       &6009D
  493. Font_ReadFontPrefix             *       &4009D
  494.    ;Entry
  495.    ;  R0 = font (Font_F)
  496.    ;  R1 = buffer (pointer to String)
  497.    ;  R2 = size (Int)
  498.    ;Exit
  499.    ;  R1 -> end (Char)
  500.    ;  R2 corrupted
  501.  
  502. XFont_SwitchOutputToBuffer      *       &6009E
  503. Font_SwitchOutputToBuffer       *       &4009E
  504.    ;Entry
  505.    ;  R0 = flags (Bits)
  506.    ;  R1 = buffer (pointer to data)
  507.    ;Exit
  508.    ;  R1 -> end (Char)
  509.  
  510. XFont_ReadFontMetrics           *       &6009F
  511. Font_ReadFontMetrics            *       &4009F
  512.    ;Entry
  513.    ;  R0 = font (Font_F)
  514.    ;  R1 = bbox_info (pointer to Font_BBoxInfo)
  515.    ;  R2 = xwidth_info (pointer to Font_WidthInfo)
  516.    ;  R3 = ywidth_info (pointer to Font_WidthInfo)
  517.    ;  R4 = misc_info (pointer to Font_MiscInfo)
  518.    ;  R5 = kern_info (pointer to Font_KernInfo)
  519.    ;  R6 = &0
  520.    ;  R7 = &0
  521.    ;Exit
  522.    ;  R0 = flags (Bits)
  523.    ;  R1 = bbox_info_size (Int)
  524.    ;  R2 = xwidth_info_size (Int)
  525.    ;  R3 = ywidth_info_size (Int)
  526.    ;  R4 = misc_info_size (Int)
  527.    ;  R5 = kern_info_size (Int)
  528.    ;  R6 corrupted
  529.    ;  R7 corrupted
  530.  
  531. XFont_DecodeMenu                *       &600A0
  532. Font_DecodeMenu                 *       &400A0
  533.    ;Entry
  534.    ;  R0 = flags (Bits)
  535.    ;  R1 -> menu (data)
  536.    ;  R2 -> block (data)
  537.    ;  R3 = buffer (pointer to data)
  538.    ;  R4 = size (Int)
  539.    ;Exit
  540.    ;  R3 -> next_selection (Int)
  541.    ;  R4 = used (Int)
  542.  
  543. XFont_ScanString                *       &600A1
  544. Font_ScanString                 *       &400A1
  545.    ;Entry
  546.    ;  R0 = font (Font_F)
  547.    ;  R1 -> s (String)
  548.    ;  R2 = flags (Bits)
  549.    ;  R3 = x (Int)
  550.    ;  R4 = y (Int)
  551.    ;  R5 -> block (Font_ScanBlock)
  552.    ;  R6 -> trfm (OS_Trfm)
  553.    ;  R7 = length (Int)
  554.    ;Exit
  555.    ;  R1 -> split_point (Char)
  556.    ;  R3 = x_out (Int)
  557.    ;  R4 = y_out (Int)
  558.    ;  R7 = length_out (Int)
  559.  
  560. XFont_SetColourTable            *       &600A2
  561. Font_SetColourTable             *       &400A2
  562.  
  563. XFont_CurrentRGB                *       &600A3
  564. Font_CurrentRGB                 *       &400A3
  565.    ;Exit
  566.    ;  R0 = font (Font_F)
  567.    ;  R1 = bg_hint (OS_Colour)
  568.    ;  R2 = fill (OS_Colour)
  569.    ;  R3 = offset (Int)
  570.  
  571. XFont_FutureRGB                 *       &600A4
  572. Font_FutureRGB                  *       &400A4
  573.    ;Exit
  574.    ;  R0 = font (Font_F)
  575.    ;  R1 = bg_hint (OS_Colour)
  576.    ;  R2 = fill (OS_Colour)
  577.    ;  R3 = offset (Int)
  578.  
  579. XFont_ReadEncodingFilename      *       &600A5
  580. Font_ReadEncodingFilename       *       &400A5
  581.    ;Entry
  582.    ;  R0 = font (Font_F)
  583.    ;  R1 = buffer (pointer to String)
  584.    ;  R2 = size (Int)
  585.    ;Exit
  586.    ;  R0 corrupted
  587.    ;  R1 -> end (Char)
  588.    ;  R2 corrupted
  589.  
  590. XFont_FindField                 *       &600A6
  591. Font_FindField                  *       &400A6
  592.    ;Entry
  593.    ;  R0 -> identifier (String)
  594.    ;  R2 = qualifier (Char)
  595.    ;Exit
  596.    ;  R1 -> field (String)
  597.    ;  R2 = found (Bool)
  598.  
  599. XFont_ApplyFields               *       &600A7
  600. Font_ApplyFields                *       &400A7
  601.    ;Entry
  602.    ;  R0 -> identifier (String)
  603.    ;  R1 -> fields (String)
  604.    ;  R2 = buffer (pointer to String)
  605.    ;  R3 = size (Int)
  606.    ;Exit
  607.    ;  R3 = spare (Int)
  608.  
  609. XFont_LookupFont                *       &600A8
  610. Font_LookupFont                 *       &400A8
  611.    ;Entry
  612.    ;  R0 = font (Font_F)
  613.    ;  R1 = &0
  614.    ;  R2 = &0
  615.    ;Exit
  616.    ;  R2 = flags (Bits)
  617.  
  618. Service_FontsChanged            *       &6E
  619.    ;Entry
  620.    ;  R1 = &6E
  621.  
  622.         ]
  623.         END
  624.