home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / setup / 2659 < prev    next >
Encoding:
Text File  |  1993-01-12  |  4.6 KB  |  96 lines

  1. Newsgroups: comp.os.ms-windows.setup
  2. Path: sparky!uunet!spool.mu.edu!agate!linus!linus.mitre.org!jcmorris
  3. From: jcmorris@mwunix.mitre.org (Joe Morris)
  4. Subject: Re: Windows Screen Fonts
  5. Message-ID: <jcmorris.726858609@mwunix>
  6. Keywords: screen font windows installation
  7. Sender: news@linus.mitre.org (News Service)
  8. Nntp-Posting-Host: mwunix.mitre.org
  9. Organization: The MITRE Corporation
  10. References: <1993Jan12.151052.20204@news.uiowa.edu>
  11. Distribution: na
  12. Date: Tue, 12 Jan 1993 17:10:09 GMT
  13. Lines: 81
  14.  
  15. ffang@grover.printing.uiowa.edu (Francis Fang) writes:
  16.  
  17. >I just downloaded the Optima screen font zip file from Compuserve to use
  18. >on my Windows 3.1 machine running Aldus PageMaker 4.0. After unzipping
  19. >the file, I find that all the zip file consists of is .FON files. I then
  20. >proceeded to install them using the Fonts Control Panel under the Main
  21. >window. The installation completes and I see the Optima screen fonts in
  22. >the installed list of fonts. When I click on these, the sample window
  23. >shows me a sample of what the font looks like and at the bottm of the
  24. >sample window, informs me that this is a screen or plotter font.
  25.  
  26. >The problem arises when I try to access the font in any other program.
  27. >The installed Optima screen font does not appear in any of the font
  28. >menus. 
  29.  
  30. >Is there an additional step I have not taken?
  31.  
  32. Yes.  You need a printer font file.
  33.  
  34. This is another case where the ambiguous definitions of the word "font"
  35. have bitten a user.  A short tutorial follows:
  36.  
  37. A "printer font" is a set of glyphs which a real, physical output device
  38. can render on its medium (plotter, ink-on-paper, etc.).  Generally, a
  39. printer font takes a one-byte data item and maps it to a particular 
  40. glyph.  A printer font may be built into the printer, or added to it
  41. via a plug-in cartridge, or downloaded as a "soft font" file from the
  42. attached desktop system.
  43.  
  44. Although it violates the traditional use of the word "font", a printer
  45. font may be scalable so that "Times Roman" may represent a particular
  46. glyph design of any requested size.
  47.  
  48. Windows is informed of the availability of a printer font by any of
  49. several methods: the driver may know what fonts are built into the 
  50. particular model printer; the printer setup dialog may offer the
  51. opportunity to say what cartridges are installed; and soft font information
  52. may be present in WIN.INI.
  53.  
  54. A "screen font" is exactly what its name implies: it allows you to see on 
  55. your desktop display a representation of the glyph which it supports.
  56. Thus "TmsRmn" screen fonts allow the display of Times Roman-like fonts.
  57.  
  58. Let's assume that you have neither TrueType nor Adobe Type Manager for 
  59. a moment.
  60.  
  61. When a Windows application asks for a list of the fonts available to it,
  62. the list returned to it is the set of fonts available *on the currently-
  63. selected printer*.  The presence or absence of a screen font for some
  64. typeface does not affect the response to the enumeration query.  Thus,
  65. if you have a LaserJet II with no soft fonts or cartridges installed,
  66. the list will show that Courier and LinePrinter are available.
  67.  
  68. If the user selects one of the fonts offered by the printer and uses it in
  69. a screen display, the application will associate with the characters
  70. a particular font name, style (roman, italic, etc.), and size.  When
  71. this data is passed to the video driver, the driver will look in the
  72. various screen fonts (*.FON) and will select the one which most closely
  73. matches the data (font, style, and size).  If there is no exact match
  74. the selection proceeds with a documented search algorithm to find a
  75. substitute, which may occasionally result in wildly inappropriate
  76. screen rendering, especially with nonalphabetic fonts.
  77.  
  78. The screen font files are bitmap patterns, and can represent only specific
  79. display sizes.  That's why you'll see font names like "TIMESA.FON", 
  80. "TIMESB.FON", "TIMESE.FON", etc.: the last letter distinguishes the
  81. font files used for CGA, EGA, and VGA in this example.  Further, the
  82. fonts provide only a few display character sizes, so if you ask for any
  83. other character size you'll see incorrect character sizes displayed.
  84.  
  85. So...you've got the Optima screen fonts, but all that does for you is
  86. allow you to see the proper glpyhs for some set of point sizes if you
  87. specify the Optima typeface.  You still need to provide Windows with
  88. the necessary information about the existence and metrics of a printer
  89. font; only then will your applications be offered the Optima typeface.
  90.  
  91. The above comments don't apply to a system with TrueType or ATM, because
  92. those systems will build the necessary screen font information "on-the-fly"
  93. as the characters are specified by the application.  
  94.  
  95. Joe Morris / MITRE
  96.