home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / fonts / a057_1 / !FontCtrl / !Help next >
Text File  |  1989-11-02  |  6KB  |  122 lines

  1. FontCtrl provides an easy way to configure a system to get the best out of
  2. the outline font manager (fontmanager 2.27 and upwards). It provides the
  3. ability to change the parameters which control the way the font manager
  4. renders the fonts and it also allows the cacheing of specific fonts on disc
  5. for speedier reference. Some knowledge of fonts is necessary!
  6.  
  7. (1) The font manufacturing section
  8.  
  9. The process of making a font from an outline can take a longer time than
  10. desireable and some of the processes mentionned below are particularly time
  11. consuming. Therefore you can cause the system to create fonts and store them
  12. on disc (especially useful if a hard disc is being used). Fonts can be
  13. created in particular sizes (and heights if different) and for the screen or
  14. printer. The "expensive" rendering methods can be used to create a high
  15. quality font.
  16.  
  17. "Font:"
  18. A box needs to be filled with the name of the font. The current fonts are
  19. available on the menu, or you can type in to the box.
  20.  
  21. "Size:" and "Height:"
  22. The point size of the font can be entered by typing in to the box. If no
  23. specific height is given it will be the same as the size.
  24.  
  25. "Screen X,Y; Printer X,Y:"
  26. FontCtrl fills these values in itself by looking at the current screen mode
  27. and printer. Fonts are made specific to a particular device, but you can
  28. type in your own values if you wish to make a font for a device which you
  29. don't have.
  30.  
  31. "Make"
  32. Make the font for the device. The information will be computed with the
  33. current font parameters and then written to the place where the font
  34. information came from as a file of the form f or b <number> x <number> e.g.
  35. f480x480. The numbers represent the combination of the device resolution and
  36. the point size.
  37.  
  38. "Del"
  39. The font information is deleted, if it exists.
  40.  
  41. (2) The configuration section.
  42.  
  43. The bottom of the FontCtrl window provides easy alteration of the various
  44. "fontmax" parameters held in the CMOS RAM of the machine. These parameters
  45. control the choices made by the font manager in the process of providing the
  46. desired font and they can be tuned to provide more accurate displays or
  47. faster production of the information. To take each section in turn:
  48.  
  49. "Max height of rescaled bitmaps"
  50. This parameter controls the maximum size of fonts derived (by image scaling
  51. up or down) from a specific pixelmap file called "x90y45" [previously the
  52. only place a font was stored]. The scaling is very fast (compared to
  53. creating the font from the outline) but gives a less accurate result,
  54. particularly when the original information must be magnified. If the x90y45
  55. file does not exist, no scaling will be applied. Fonts manufactured with
  56. FontCtrl can be scaled if you do not have an x90y45 version of a font
  57. already; to do this make a font at the highest point size you require (the
  58. value to which you set "max height of rescaled bitmaps"), say 24 point. This
  59. will create a file f480x480 or f480x240. Open the !Fonts application (shift
  60. double click) and open the directory which the information is stored in.
  61. Save a file from Edit containg the line "f480x480" (or "f480x240" as
  62. appropriate) as the file "x90y45". Larger or smaller master fonts can be
  63. used. The scaling process is not used for monochrome systems unless it is
  64. the only possible method of displaying the font. It is recommended that
  65. magnification of the original is not used unless the need for speed is high.
  66.  
  67. "Max height of anti-aliasing"
  68. Anti-aliasing is the process of displaying a closer approximation to the
  69. original shape. For example, if the edge of a shape passes partially through
  70. a pixel, a non-anti-aliasing system can only display "on" or "off", the
  71. anti-aliasing system can approximate the "true" value by using an
  72. intermediate value corresponding to the percentage of the pixel covered.
  73. This gives a much improved display, but at the cost of greater computation
  74. and storage requirements for the extra information.
  75.  
  76. "Max height of cached bitmaps"
  77. Fonts, derived from the outline or previously computed pixel maps, are stored
  78. in the computer's memory (in a "cache") to speed things up. However, large
  79. fonts may take up more memory than they are worth (in terms of loosing that
  80. storage for other fonts or other purposes), so a limit can be set on the
  81. maximum size of fonts which will be cached. Non cached fonts cannot be
  82. anti-aliased, so this value should be larger than "max height of
  83. anti-aliasing".
  84.  
  85. "Max width for horiz subpixel use" and "Max height for vert subpixel use"
  86. The anti-aliasing process can be used to give the appearance of higher
  87. resolution in horizontal or vertical directions. By preparing several
  88. versions (4, presently) of the characters an approriate version can be
  89. displayed in those positions where it is needed. The process improves the
  90. legibility of small type faces particularly. It is a computationally and
  91. storage intensive process, especially if both horizontal and vertical
  92. parameters apply, so it is best used only on small fonts or when caching a
  93. font on disc (see below). Note that the vertical option is defeated by
  94. !Edit, but still applies to !Draw etc. These values are used to override the
  95. "max height of rescaled bitmaps" value on small typefaces. Recommended
  96. setting is either off or a setting of around 10 point.
  97.  
  98. "Max size of font cache"
  99. The font manager has a minimum size of memory to use for putting fonts in
  100. ("fontsize" - set it with *configure fontsize <n>K" or use the RISC OS task
  101. manager to drag the font cache red bar) and it can also take extra memory
  102. from the system to expand its cache "when the going gets tough". This may
  103. lead to an undesireably large font cache, with the font manager owning up
  104. to 1MByte of the memory, so a maximum size is also provided. Recommended
  105. setting is around 1/8 of your machine's memory.
  106.  
  107. "Redraw whole screen"
  108. After changing the parameters, you can see the effect on information already
  109. on display by clicking here. The display will be redrawn with all fonts
  110. being recomputed if needed to show the effect of the changes.
  111.  
  112. "Reset Values"
  113. Click here to reset the parameters to the values they had when FontCtrl was
  114. started or to the last time "save values" was clicked.
  115.  
  116. "Save Values"
  117. Click here to cause FontCtrl to memorise the current parameters as a point
  118. that can be returned to while experimenting.
  119.  
  120.  
  121.  
  122.