Chapter 8 - Fonts
This chapter examines technical issues related to fonts, focusing on TrueType, the font technology available in Windows NT. This chapter also presents details about using printer fonts with specific types of printers and about using Adobe Type 1 fonts.
About Typography in Windows NT
A typeface is a set of characters that share common characteristics (such as stroke width and the presence or absence of serifs). For example, Arial and Courier are both typefaces. Frequently, both the typeface and its name are copyrighted and/or trademarked by the typeface designer or manufacturer.
In Windows NT, a font is the name of a typeface, excluding attributes such as bold or italic. This general definition is more widely used than the traditional definition associated with traditional typography. For example, MS Serif is a font in Windows NT.
In Windows NT, a font family refers to a group of typefaces with similar characteristics. The families that Windows NT recognizes for font installation and mapping are Roman, Swiss, Modern, Script, and Decorative. For example, the sans serif typefaces Arial, Arial Bold, Arial Bold Italic, Arial Italic, Small Fonts, and MS Sans Serif are all part of the Swiss font family.
For printing and display in a computer system, each raster or vector font has its own character set according to the ASCII, ANSI, or original equipment manufacturer (OEM) standard or to another industry standard that defines what character is represented by a specific keystroke or combination of keystrokes. Most TrueType fonts shipped with Windows NT support multiple character sets. For more information about raster, vector, and TrueType fonts, see "About Windows NT Fonts" later in this chapter.
The following basic terms are used in Windows NT to define the appearance of a font in an application:
The following terms are also used to describe fonts and typefaces:
About Windows NT Fonts
Windows NT provides three basic font technologies. The differences between them reflect the way that the glyph (or symbol) for each character is stored in the respective font-resource file.
Note Windows NT also supports Adobe Type 1 fonts native on PostScript printers and via conversion to TrueType for screen and non-PostScript devices. However, no Adobe Type 1 fonts are included with Windows NT.
In addition, Windows NT fonts are described according to the output device:
Because the bitmaps for each glyph in a raster font are designed for a specific resolution of device, raster fonts are generally considered to be device dependent. Vector fonts, on the other hand, are not device dependent, because each glyph is stored as a collection of scalable lines. However, vector fonts are generally drawn more slowly than raster or TrueType fonts. TrueType fonts provide both relatively fast drawing speed and true device independence. By using the hints associated with a glyph, a developer can scale the characters from a TrueType font up or down and still maintain their original shape.
As previously mentioned, the glyphs for a font are stored in a font-resource file. A font-resource file is actually a Windows library that contains only data—no code. For raster and vector fonts, this data is divided into two parts: a header describing the font's metrics and the glyph data. A font-resource file for a raster or vector font is identified by the .fon filename extension.
In 16-bit Windows TrueType fonts had two files for each font: The first file contains a relatively short header and the second contains the actual font data. The first file is identified by a .fot extension and the second is identified by a .ttf extension. Windows NT 4.0 still supports this for backwards compatibility, but doesn't require the .fot file. AddFontResource can be called from applications directly for a .ttf file.
As shown in the following illustration, you can identify the different fonts in Windows NT–based applications by the icons associated with the font name.
The next sections describe raster, vector, TrueType, and Adobe Type 1 fonts. Later sections in this chapter discuss screen fonts and printer fonts used by Windows NT.
Windows NT Raster Fonts
Raster fonts are bitmaps supplied in different sizes for specific video display resolutions. The Windows NT fonts MS Serif, MS Sans Serif, Courier, System, and Terminal are raster fonts.
A raster font file contains data that describes the style and all the characters of a typeface for a specific display device. Windows NT provides several raster font sizes for various display devices. For example, MS Serif comes in point sizes 8, 10, 12, and 14 for video graphics array (VGA) and 8514 display devices.
Windows NT can scale raster fonts, but if you try to scale them too far from their original size or style, they become jagged. Bold, italic, underline, and strikeout styles can also be generated from a standard raster font.
The following table lists the raster fonts included with Windows NT. You can install additional raster font sets. For instructions, see "Installing Fonts" later in this chapter.
Raster Font Sizes
The raster font sets for different display resolutions are distinguished by a letter suffix on the font name (represented as x in the previous table). To see the files that Windows NT installs for a given display or printer, add the appropriate letter (displayed in the following table) that identifies the resolution of the raster font filename. For example, the resource file for MS Serif fonts for VGA is named Serife.fon.
Printing Raster Fonts on Your Printer
Raster fonts can be printed if their resolution and aspect ratio are close to what your printer requires. If you do not see raster fonts for your printer in a Fonts dialog box, check your printer's horizontal and vertical resolution, and compare it with the preceding table. If there is a close match, double-click the Fonts icon in Control Panel, and make sure the appropriate font set is installed. If there is no close match, you cannot print the Windows NT raster fonts on your printer.
Some applications, such as Microsoft Excel for Windows and Microsoft Paintbrush, work around this problem by sending documents to the printer in the form of bitmaps. By using bitmaps, the application can ensure that what prints closely matches what you see on the screen. Other applications, such as desktop publishing packages, allow you to choose only printable fonts.
In general, applications are written so that you can choose either displayable fonts or printable fonts. It is up to the developer of the application to decide which type of font you can choose.
You might be able to print raster fonts in a different resolution if the other resolution has an aspect ratio that matches your printer. Some printer drivers cannot print raster fonts, regardless of the aspect ratio.
Substituting Fonts Installed by Windows 3.x
In Windows NT, MS Serif and MS Sans Serif replace the identical raster fonts Tms Rmn and Helv that were installed by Windows 3.0 or earlier versions. Windows NT matches MS Serif to Tms Rmn and MS Sans Serif to Helv using the information stored in the FontSubstitutes key in the Registry:
HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Windows NT \CurrentVersion\FontSubstitutes
You will still see the Tms Rmn and Helv typeface names in a Fonts dialog box if, for example, your Hewlett-Packard Printer Control Language (HPPCL) printer uses the Microsoft 1Z font cartridge.
Selecting a Readable Screen Font
The raster font named Small Font was designed for readable screen display of small fonts. For sizes under 6 points, Small Font is a better choice than any TrueType font for screen display, because it's easier to read.
Windows NT Vector Fonts
Vector fonts are sets of lines drawn between points, like a pen plotter drawing a set of characters. Vector fonts can be scaled to virtually any size, but generally they do not look as good as raster fonts in the sizes that raster fonts are specifically designed for.
Vector fonts are stored in Windows NT as collections of Graphical Device Interface (GDI) calls and are time-consuming to generate. But these fonts are useful for plotters and other devices where bitmap characters can't be used. Before TrueType, vector fonts were also used in some applications to create large characters or characters that were rotated or distorted from the baseline.
Some Windows NT–based applications automatically use vector fonts at larger sizes. Some applications allow you to specify at what point size you want to use vector fonts. For example, the Vector Above setting in Adobe PageMaker specifies the point size at which PageMaker will switch to vector fonts.
The Windows NT fonts Roman, Modern, and Script are vector fonts. Although the vector fonts use the ANSI character set, they are marked internally as an OEM character set. These fonts are sometimes referred to as plotter fonts because, unlike most other fonts, they can be used on plotters. For more information about the different character sets, see "Character Sets" later in this chapter.
Note Third-party, non-TrueType scalable font products that were supported by Windows 3.1 are not supported by Windows NT. These products include Adobe Type Manager (ATM), Bitstream Facelift, and Atech Publisher's PowerPak.
TrueType and Windows NT
Windows NT includes support for TrueType, an outline font technology. Instead of being composed of bitmaps (such as raster fonts) or lines (such as vector fonts), TrueType fonts are glyph shapes that are described by their outlines. A glyph outline consists of a series of contours. A simple glyph might have only one contour. More complex glyphs can have two or more contours. Figure 7.1 shows three glyphs with one, two, and three contours respectively.
Figure 8.1 TrueType Glyphs
Note Windows NT supports all TrueType fonts that are supported by Windows 3.1.
TrueType fonts have many benefits over other kinds of Windows NT fonts:
The TrueType fonts installed with Windows NT are Arial, Courier New, Lucida Console, Times New Roman, Symbol, and Wingdings in regular, bold, bold italic, and italic.
Note Windows NT 4.0 supports and ships on CD a set of Far East TrueType fonts. Users can install to view or print Far East documents and Web pages. The fonts are not installed by default.
How TrueType Works
TrueType fonts are stored as a collection of points and hints that define the character outlines. Hints are algorithms that distort the scaled font outlines to improve how the bitmaps look at specific resolutions and sizes. When a Windows NT application requests a font, TrueType uses the outline and the hints to render a bitmap in the size requested.
For each Windows NT session, the first time you select a TrueType font size, a bitmap is rendered for display or printing. Windows NT stores the rendered bitmaps in a font cache. Each subsequent time the font is used during that Windows NT session, display or printing performance improve.
The Windows NT Universal printer driver, PostScript printer driver, and plotter driver all support TrueType fonts. Any printer that works with these printer drivers will support TrueType fonts automatically. For more information about these printer drivers, see Chapter 7, "Printing."
Using TrueType Fonts in Windows NT–based Applications
TrueType fonts give you a broad range of fonts to use with your application. In many applications, TrueType fonts appear in the Fonts dialog box with a TT logo beside the typeface name. Typefaces that are device fonts have a printer icon beside their names in the list.
With TrueType fonts, you can specify any desired size; you're not limited to a list of raster or vector font sizes.
To make your life easier, you can specify that you want to use only TrueType fonts in the applications on your computer. This will ensure that type styles in your documents will print on any dot-matrix, HPPCL, or PostScript printer and that your documents can easily be moved to other platforms.
To specify that you want to use only TrueType fonts
Windows NT does not automatically change fonts in documents that were produced with earlier font technologies. To update old documents to use TrueType fonts, you must update them manually. You might also contact your application vendor to see if there are new utilities available that will assist automatic upgrading of documents to use TrueType fonts.
Note TrueType fonts use a different character spacing (called ABC widths) from the spacing used for raster fonts. Applications that use this spacing will be able to space characters more accurately, especially for bold and italic text. However, because of this change in spacing, text can sometimes be adversely affected in applications written for Windows 3.0 or earlier versions. For example, the end of a highlighted text line might look odd on screen.
Using Adobe Type 1 Fonts
Adobe Type 1 fonts are the font technology native to PostScript printers. Like TrueType fonts, Type 1 fonts contain instructions to generate outlines of characters; the outlines are scaleable and rotatable. Type 1 fonts are a popular font technology in the desktop publishing industry. These fonts are designed to be downloaded to a PostScript printer, which can interpret their instructions and thereby produce hardcopy output. Although you can print Type 1 fonts, you cannot directly view them on screen. For this reason, Adobe created an application called Adobe Type Manager (ATM), which reads Type 1 font files and creates equivalent raster screen fonts for several platforms.
Windows NT supports Type 1 fonts in two ways: It lets you install Type 1 fonts for use on your PostScript printer, and it provides a font converter that achieves the same goal as ATM by reading Type 1 fonts and creating equivalent TrueType fonts for viewing on screen.
The Windows NT 4.0 Type 1 font converter achieves a high level of compatibility with ATM 2.5. If you format a document using Type 1 fonts on a computer running Windows for Workgroups 3.11 and ATM 2.5, and then load the same document under Windows NT 4.0 with the same set of Type 1 fonts converted to TrueType fonts, you will see the same character spacing and line breaks and the same output on your printer.
With the Type 1 installation process, you have the following options:
Legal Issues Regarding TrueType Fonts
There are several legal issues to be aware of when converting TrueType fonts:
In addition to the legal restrictions, there is a practical reason for not copying converted TrueType fonts to other platforms: Converted fonts are tuned to use features of the Windows NT 4.0 TrueType rasterizer that don't exist on other platforms' TrueType rasterizers. So, using converted fonts on other platforms will produce poor results. This is not a bug; it is an incentive to avoid illegal font copying.
Note All TrueType fonts behave the same way under Windows NT whether they were originally created as TrueType or were converted from Type 1 fonts.
Disk Space, Memory Use, and Speed
Fonts are resource intensive. Windows NT has been tested to load up to several thousand TrueType fonts at once. The more fonts used in a document, the more you can expect performance to be affected.
In Windows NT, fonts can be installed on your system in several ways.
Windows NT installs TrueType fonts and its screen fonts automatically during system installation. When you specify a printer and other options in the Printer Properties dialog box, Windows NT includes information about font cartridges and built-in fonts for your printer.
To install additional TrueType fonts or Adobe Type 1 fonts for Postscript printers
To install third-party soft fonts on your hard disk
For information about installing font cards or cartidges, see "Font Cartridges" later in this chapter.
Information About Installed Fonts
Information about the fonts installed on your system are kept in the Windows NT Registry. As shown in the following illustration, most of the information about installed fonts is kept in the HKEY_LOCAL_MACHINE \SOFTWARE
For more information, see "Registry Entries for Fonts" in Chapter 14, "Registry Value Entries."
If you installed Windows NT on a computer that previously had Windows 3.x installed, the Registry will include entries showing you where to find that information previously found in the [Fonts] and [FontSubstitutes] sections of the Win.ini file. For example, to find information that used to be in the [Fonts] section of the Win.ini file, look in the following location in the Registry:
HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Windows NT\CurrentVersion\Fonts
How Windows NT Matches Fonts
When an application requests characters to print or display, Windows NT must find the appropriate font to use from among the fonts installed on your system. Finding the font can be complex because, for example, your document might contain fonts that aren't available on the current printer, or multiple fonts with the same name might be installed on your system.
To be sure you get the desired characters, see your printer documentation for the character set supported by the printer. Then see the online Help for Character Map for instructions on entering codes from the keyboard for special characters.
The basic rules that Windows NT uses for locating a font are as follows:
When Windows NT uses the font mapping table to match screen fonts to printer fonts, the characteristics used to find the closest match are—in descending order of importance—character set, typeface name, variable versus fixed pitch, family, height, width, weight, slant, underline, and strikeout.
The following table shows which types of Windows NT fonts can be printed on different kinds of printers.
The following table lists the character sets installed with Windows NT.
* OEM character set, rather than ANSI character set
** Symbol character set, rather than ANSI character set
You can also use the Windows NT Character Map to select and insert special characters in your document.
When you insert special characters in a document to print, the character you see on the screen might not be correct because it is displayed using the Windows ANSI portion of the Unicode character set and the best matching screen font for the current printer font. However, the printed document will contain the correct character. Conversely, if you type an ANSI character that appears on screen but is not supported in your printer fonts, some other character will be printed instead.
Screen Fonts and Windows NT
Windows NT uses special raster fonts as the system screen font for menus, window captions, messages, and other text. A set of system, fixed, and OEM terminal fonts is included with Windows NT to match your system's display capabilities (that is, for VGA or 8514 video displays). The default system screen font in Windows NT is System, a proportionally-spaced raster font.
The installed system screen fonts are listed in the following Registry keys:
HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Windows NT \CurrentVersion\Fonts HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Windows NT \CurrentVersion\GRE_Initialize
By default, code page 437 (U.S.) fonts are installed using the Ega40woa.fon, Ega80woa.fon, and Dosapp.fon files. Other screen font files are included for international language support; they are identified by the code page number appended to the filename.
Note Windows NT supplies small and large font variations for several display drivers. The major difference between the small and large font variations is the system font set that the Setup program installs. The VGA-resolution system (small) fonts are VGAOEM, VGAFIX, and VGASYS. The 8514-resolution system (large) fonts are 8514OEM, 8514FIX, and 8514SYS.
Printer Fonts and Windows NT
A printer font is any font that can be produced on your printer. There are basically three kinds of printer fonts:
Not all printers can use all three types of printer fonts. For example, HPPCL printers cannot print Windows NT screen fonts.
The Windows NT Universal printer driver takes advantage of TrueType fonts and offers other improvements over older dot-matrix and HPPCL printer drivers. The Windows NT Universal printer driver is used instead of specific dot-matrix or HPPCL printer drivers.
Dot-Matrix Printer Fonts
Dot-matrix printers support device fonts and printable screen fonts. Usually, a dot-matrix printer includes only a limited range of internal device fonts. Typically, fixed-spacing fonts are supplied in a variety of characters-per-inch (CPI) sizes and are conventionally named "typeface xxCPI," where typeface is the typeface name and xx is the number of characters per inch. Distinguishing a device font on a dot matrix printer is usually as easy as checking for the CPI designation at the end of the font name, such as Courier 10 CPI.
Through the Universal printer driver, dot-matrix printers can also support TrueType. When you use TrueType fonts on a dot-matrix printer, Windows NT sends a rasterized graphics image to the printer.
Dot-matrix printers do not provide landscape device fonts, but vector and TrueType screen fonts can be printed in any resolution or orientation. Dot-matrix device fonts are faster but less flexible than screen fonts.
Dot-matrix printers are typically distinguished as either 9-pin or 24-pin printers (but not limited to these):
Some 24-pin dot-matrix printers, such as the Epson and NEC printers, also support font cards or cartridges. You can use these fonts if the Windows NT driver for that printer supports them. To use a font card or cartridge, see "Font Cartridges" later in this chapter.
HPPCL Printer Fonts
Printers that use the Hewlett-Packard Printer Control Language (HPPCL) can print several different types of fonts. HPPCL printers can use font cartridges, downloadable soft fonts, vector screen fonts, and TrueType fonts.
HPPCL printers cannot print Windows NT raster screen fonts.
When you use TrueType fonts on an HPPCL printer, TrueType performs all the font rendering in the computer and downloads bitmaps of the fonts to the printer. (Windows NT downloads these bitmaps only if the printer has enough memory.) TrueType downloads only the specific characters needed in a document, not the entire font.
Note If you use an HP LaserJet-compatible printer, be sure to specify accurately in the printer driver the amount of memory installed in your printer. This is important because the Windows NT HPPCL minidriver tracks the available memory in your printer. You might receive an out-of-printer-memory error or other errors if the memory is specified incorrectly.
Hewlett-Packard LaserJet-compatible font cartridges are supplied by numerous manufacturers, including Hewlett-Packard, Pacific Data Products, and IQ Engineering. Some cartridge vendors also produce custom font cartridges to your specifications.
Windows NT treats font cartridges as device fonts because they are always with the printer. Font cartridges can be selected on the Device Settings tab of the Printer Properties dialog box. The HPPCL minidriver available with Windows NT can support all HP font cartridges.
If you want to add a font cartridge that came out after the printer driver was written, you might need a printer cartridge metrics (.pcm) file. A .pcm file tells Windows NT the characteristics of the new font, and you install it the same way as soft fonts. For instructions, see "Downloadable Fonts" later in this chapter. After a .pcm file is installed, a new entry appears on the Device Settings tab of the Printer Properties dialog box.
For new HP cartridges, contact Hewlett-Packard or other cartridge vendor for the appropriate .PCM file.
To use fonts from a card or cartridge
You can get HP LaserJet-compatible downloadable soft fonts from a number of sources, including Hewlett-Packard, Bitstream, SoftCraft, and CompuGraphics. Some downloadable font utilities also generate raster screen fonts for Windows NT. If an exact screen font match is not available, Windows NT uses one of its own screen fonts.
To install downloadable soft fonts
Font Limitations for Older HPPCL Printers
Some older model HPPCL printers have a limit of 16 fonts per page. If you send a page that contains more than 16 fonts to an HPPCL printer, a warning message appears.
An Error 20 message might appear on the front panel of the HPPCL printer when printing a document that contains soft fonts. This also indicates that you tried to download more fonts than the printer's memory can hold. You can recover from this error by pressing the Continue button on the printer control panel. The soft font that caused the error is not downloaded and will not print.
To avoid this error, reduce the number of fonts that you try to download, or add more memory to your printer. Also make sure you haven't downloaded any permanent soft fonts that are taking up memory in the printer.
Printer Fonts for HP Printers
The TrueType fonts shipped with Windows NT print on all printers. You can add other fonts described in the following sections.
HP LaserJet Printer Fonts
In Windows NT, all HPPCL (LaserJet) printers are supported by the Hppcl.dll or Hppcl5ms.dll minidrivers. Additional LaserJet III scalable outline fonts are available from Hewlett-Packard as cartridges or downloadable soft fonts. With the HPPCL drivers in Windows NT, downloadable outline fonts can be installed with the Font Installer.
HP DeskJet Printer Fonts
The HP DeskJet Printers are ink-jet printers. The Windows NT driver for the Hewlett-Packard DeskJet printer family supports Windows NT vector screen fonts, DeskJet internal fonts, soft fonts, and TrueType. DeskJet printers can print at resolutions of 75, 150, 300, and 600 dpi. Without font cartridges, the DeskJet includes only the built-in Courier and LinePrinter fonts. You can add font cartridges. For instructions, see "Font Cartridges" earlier in this chapter. At this time, font cartridges for DeskJet printers are available only from Hewlett-Packard.
DeskJet soft fonts are installed with the Font Installer. To use downloadable fonts on the DeskJet printers, you must install either HP22707A or HP22707B RAM cartridges. If you install more than one cartridge, be sure to specify the total amount of RAM required when setting printer memory. For more information about setting printer memory, see "Specifying Virtual Printer Memory" later in this chapter.
DeskJet internal, downloadable, and cartridge fonts will not work in landscape orientation. This is a hardware, not a driver, limitation. For landscape mode, print with Windows NT vector screen fonts such as Modern or Roman.
HP PaintJet Printer Fonts
The HP PaintJet is a color ink-jet printer. The Hewlett-Packard PaintJet driver in Windows NT composes a full page at a time in 180x180 dpi resolution and outputs each page to the PaintJet as a large bitmap. This produces the highest possible quality of output but results in large spool files. For improved printing speed, you can select the Print Directly To The Printer option on the Scheduling tab of the Printer Properties dialog box. This option prevents the creation of spool files.
Note Be aware that in the event of a disruption during printing, a spool file enables you to resume printing with no loss of data. Without spooling, you'll need to resend the document to the printer.
The PaintJet driver supports the printing of PaintJet internal fonts, Windows NT raster and vector screen fonts, PaintJet soft fonts, and TrueType. The same considerations apply for printing raster screen fonts on the PaintJet as for using the 24-pin dot matrix printers in 180x180 dpi resolution (see "Dot Matrix Printer Fonts," earlier in this chapter). PaintJet soft fonts are not downloadable fonts. They are used internally by the driver, which places them as necessary into the full-page bitmap during page composition. The font itself is never sent to the printer.
You can install PaintJet soft fonts, which have a .pjf filename extension, the same as downloadable soft fonts. For instructions, see "Downloadable Fonts" earlier in this chapter. Windows NT supports PaintJet soft fonts for Courier 10-CPI and Letter Gothic 12-CPI and 18-CPI. Additional soft fonts can be obtained from Hewlett-Packard. Scalable PaintJet soft fonts are also available from Hewlett-Packard in the HP Color PrintKit.
PostScript Printer Fonts
Adobe Type 1 PostScript fonts are scalable outlines that can be printed at any size. PostScript outline fonts can also be rotated to any angle and can be printed in both portrait and landscape modes. However, font size limits are often imposed by applications. A common PostScript font size limit in an application is 127 points.
Most PostScript printers include either the standard Apple LaserWriter Plus set of 35 scalable fonts or the earlier Apple LaserWriter set of 17 fonts.
Type 1 fonts are installed in the Fonts icon in Control Panel. When you install the font, Windows NT gives you the option of creating an equivalent TrueType font for use as a screen font.
PostScript printers can print Windows NT raster screen fonts, vector screen fonts, TrueType fonts, or Type 1 fonts.
LaserWriter Plus Typefaces
The LaserWriter Plus standard font set includes 11 typefaces, including the following 8, which are available in roman, bold, italic, and bold italic:
The other three typefaces are Symbol, Zapf Chancery, and Zapf Dingbats. The Symbol typeface contains mathematical and scientific symbols; Zapf Chancery is a calligraphic font; and Zapf Dingbats contains decorative bullet characters and embellishments. These typefaces are available only in roman style.
PostScript Printers and TrueType
TrueType fonts are treated as downloaded fonts by the PostScript driver. When you use TrueType fonts on a PostScript printer, scaling and hints are always performed in the computer. Scan conversion can be done in the computer or in the printer, depending on the point size. At smaller point sizes, TrueType performs scan conversion in the computer; at larger point sizes, scan conversion is done in the printer.
Substituting PostScript Fonts
You can map a TrueType font to a PostScript font by editing the Font Substitution Table. This is helpful to view TrueType as a screen font and to get PostScript for the printout font. This will increase printing speed, but the results on the display might not be exactly the same as the printed output.
Alternatively, you can edit the Font Substitution Table to download TrueType fonts as soft fonts to the printer so that the printed output matches the screen display. In this case, the selected TrueType fonts will be sent to the printer as soft fonts. Repeat these steps until you have selected printer fonts to use in place of all the TrueType fonts in your document.
The changes you make in the Font Substitution Table affect only the fonts that are printed. The fonts that appear on the screen will not change; the original TrueType fonts are still used to display TrueType text in your document.
To edit the Font Substitution Table
PostScript Downloadable Outline Fonts
PostScript printers also accept downloadable outline fonts, which can be scaled to any size and printed in both portrait and landscape orientations. Downloadable PostScript fonts are available from several suppliers, including Adobe, Agfa, Bitstream, and Monotype.
Although PostScript downloadable outlines can be scaled to any size, Windows NT raster screen fonts cannot. If you specify a PostScript font size that does not have a corresponding screen font, Windows NT substitutes another screen font. This results in a little loss in display quality but no loss in print quality.
Specifying Virtual Printer Memory
You can change the amount of virtual memory that your PostScript printer has available for storing fonts. The PostScript driver uses a default setting recommended by the printer manufacturer for virtual memory.
To determine the right value, copy the Testps.txt file (supplied with the Windows NT Resource Kit) to the printer, and use the recommended virtual memory value printed on the resulting page.
To change your PostScript printer's virtual memory
Embedding a font is the technique of bundling a document and the fonts it contains into a file for transmission to another computer. Embedding a font guarantees that a font specified in a transmitted file will be present on the computer receiving the file. Not all fonts can be moved from computer to computer, however, because most fonts are licensed to only one computer at a time. In Windows, only TrueType fonts can be embedded.
Applications should embed a font in a document only when requested by a user. An application cannot be distributed along with documents that contain embedded fonts, nor can an application itself contain an embedded font. Whenever an application distributes a font, in any format, the proprietary rights of the owner of the font must be acknowledged.
It might be a violation of a font vendor's proprietary rights or user license agreement to embed fonts where embedding is not permitted or to fail to observe the following guidelines on embedding fonts. A font's license might allow only read-write permission for a font to be installed and used on the destination computer. Or the license might allow read-only permission. Read-only permission allows a document to be viewed and printed (but not modified) by the destination computer; documents with read-only embedded fonts are themselves read-only. Read-only embedded fonts may not be unbundled from the document and installed on the destination computer.
Most TrueType fonts shipped with Windows NT 4.0 suport multiple Windows character sets used in various countries or regions. Some (such as Europe and the United States) are single-byte sets, and others (such as Asia) are double-byte sets. This enables the Windows NT user to switch language keyboards and type in different alphabets, including Roman, Cyrillic, Arabic, and Far East Asian alphabets. The following is a list of the character sets supported by Windows NT 4.0:
A character set contains punctuation marks, numerals, uppercase and lowercase letters, and all other printable characters. Each element of a character set is identified by a number.
Most character sets used in Windows are supersets of the U.S. ASCII character set, which defines characters for the 96 numeric values from 32 through 127. There are five major groups of character sets:
Windows Character Set
The Windows character set is the most commonly used character set in Windows programming. It is essentially equivalent to the ANSI character set. The blank character is the first character in the Windows character set. It has a hexadecimal value of 0x20 (decimal 32). The last character in the Windows character set has a hexadecimal value of 0xFF (decimal 255).
Many fonts specify a default character. Whenever a request is made for a character that is not in the font, Windows provides this default character. Many fonts using the Windows character set specify the period (.) as the default character. TrueType fonts typically use an open box as the default character.
Fonts use a break character called a quad to separate words and justify text. Most fonts using the Windows character set specify that the blank character will serve as the break character.
Unicode Character Set
The Windows ANSI character uses 8 bits to represent each character; therefore, the maximum number of characters that can be expressed using 8 bits is 256 (2^8). This is usually sufficient for Western languages, including the diacritical marks used in French, German, Spanish, and other languages. However, Eastern languages employ thousands of separate characters which cannot be encoded by using a single-byte coding scheme. With the proliferation of computer commerce, double-byte coding schemes were developed so that characters could be represented in 8-bit, 16-bit, 24-bit, or 32-bit sequences. This requires complicated passing algorithms; even so, using different code sets could yield entirely different results on two different computers.
To address the problem of multiple coding schemes, the Unicode standard for data representation was developed. A 16-bit character coding scheme, Unicode can represent 65,536 (2^16) characters, which is enough to include all languages in computer commerce today, as well as punctuation marks, mathematical symbols, and room for future expansion. Unicode establishes a unique code for every character to ensure that character translation is always accurate.
OEM Character Set
The OEM character set is typically used in full-screen MS-DOS sessions for screen display. Characters 32 through 127 are usually the same in the OEM, U.S. ASCII, and Windows character sets. The other characters in the OEM character set (0 through 31 and 128 through 255) correspond to the characters that can be displayed in a full-screen MS-DOS session. These characters are generally different from the Windows characters.
Symbol Character Set
The Symbol character set contains special characters typically used to represent mathematical and scientific formulas.
Vendor-Specific Character Sets
Many printers and other output devices provide fonts based on character sets that differ from the Windows and OEM sets—for example, the Extended Binary Coded Decimal Interchange Code (EBCDIC) character set. To use one of these character sets, the printer driver translates from the Windows character set to the vendor-specific character set.
Questions and Answers About Fonts
This section answers some common questions about using fonts with Windows NT.