Fonts are used to print all of the characters we read. They are grouped in families that have style and similar characteristics.
- a set of type (or glyph) in one size and style. They are mapped from characters.
- the actual artistic representation in some typographic style, in the form of outlines or bitmaps that may be drawn on the screen or paper. Note that a glyph can include more than one character and may change depending on adjacent characters.
- Points is the measurement system used to measure the size (height) of a font which includes the space that minimally separates a line. One point is 1/72 of an inch.
Fonts are used to print all of the characters we read. They are grouped in families that have style and similar characteristics. A family consists of different sizes and different attributes. The arrangement of fonts into words and sentences on a page is called setting type or typography.
Early computer implementations of glyphs on display screens were done with bitmapped fonts. A character was represented with a rectangular array of bits which were either on on off to show the shape of the character. The minimal size was 5x7 bits for most implementations and 5x8 if you wanted descenders to really drop below the line. Characters were recognizable but not very elegant. Larger bitmaps could be used to represent more detail. If you wanted a different attribute or a different size you generally created a new glyph.
To improve the looks of characters, especially when printed, outline fonts were designed. These shapes were described mathematically as vectors and could even be scaled or angled a bit without needed another set of fonts. They could be scaled up easily, however, as the size decreased the quality of shape of the font deteriorated. Adobe added hints to the font description to provide a method for the software to adjust the shape in the smaller sizes to make them look good and Adobe Type 1 fonts were invented.
 Generic Font families
A font family will fall into one of the following generic classifications. This list is shown with a sample latin font.
- serif - Times Roman, New Century Schoolbook
- sans-serif - MS Arial, MS Verdana
- cursive - Zapf-Chancery, Caflisch Script
- fantasy - Alpha Geometrique
- monospace - Courier
Note that all of these fonts have recognizable characters as opposed to picture fonts which are font sized icons.
In a CSS description the font-family, if specified, should be set to a comma separated list of acceptable fonts ending in a generic entry since the author cannot be sure of what fonts are available on the host system.
 Font Attributes
These include such things as Style (italics), weight (bold), and variant (small-caps). In a CSS description the following items are supported.
|font-style||normal italics oblique||oblique is slanted while italics is slightly cursive. rendering engine may treat them the same.|
|font-weight||normal bold bolder lighter||numbers 100 to 900 may also be used where normal=400 and bold=700. bolder means 100 more than before and lighter 100 less.|
|font-variant||normal small-caps||may be rendered as a separate font or by changing
|font-stretch||normal wider narrower||specific attributes may be specified as ultra-condensed, extra-condensed, condensed, semi-condensed, normal, semi-expanded, expanded, extra-expanded, ultra-expanded|
While it is certainly possible to create the fonts with the attributes listed above with a computer by modifying the an existing standard font mathematically, having font sets will result in much better visual results as the glyphs are custom optimized. A font set usually consists of four complete fonts, regular, italic, bold, and bold-italic. A full font family would include all of these sets in a several font sizes.
 Font Types
 Adobe Type 1
Adobe PostScript Type 1 is a worldwide standard for digital type fonts (International Standards Organization outline font standard, ISO 9541). It was first developed by Adobe Systems for use in PostScript printers. Although Adobe is a leader in the design and manufacturing of Type 1 software and maintains the standards for Type 1, hundreds of companies around the world have designed and released more than 30,000 fonts in the Type 1 format.
The Type 1 font format is recognized on every computer platform, from microcomputers to mainframes. It prints on virtually every printer, either directly through built-in PostScript language interpreting, or through add-on utilities, such as Adobe Type Manager® (ATM®). ATM technology is integrated into Microsoft® Windows® 2000 and MacOS X operating system. For more than a decade, Type 1 has been the preferred format for the graphic arts and publishing industries.
TrueType is a standard for digital type fonts that was developed by Apple Computer, and subsequently licensed to Microsoft Corporation. Each company has made independent extensions to TrueType, which is used in both Windows and Macintosh operating systems. Like Type 1, the TrueType format is available for development of new fonts.
OpenType (OTF) is a new standard for digital type fonts, developed jointly by Adobe and Microsoft. OpenType supersedes Microsoft's TrueType Open extensions to the TrueType format. OpenType fonts can contain PostScript, TrueType outlines, and even bitmapped fonts in a common wrapper. An OpenType font is a single file, which can be used on both Macintosh and Windows platforms without conversion. OpenType fonts have many advantages over previous font formats because they contain more glyphs, support more languages (OpenType uses the Unicode standard for character encoding,) and support rich typographic features such as small caps, old style figures, and ligatures — all in a single font.
 Type 3 Fonts
This name is used by Adobe for bitmapped fonts
A TrueType Collection (TTC file extension) is a means of delivering multiple OpenType fonts in a single file structure. TrueType Collections are most useful when the fonts to be delivered together share many glyphs in common. By allowing multiple fonts to share glyph sets, TTCs can result in a significant saving of file space.
For example, a group of Japanese fonts may each have their own designs for the kana glyphs, but share identical designs for the kanji. With ordinary OpenType font files, the only way to include the common kanji glyphs is to copy their glyph data into each font. Since the kanji represent much more data than the kana, this results in a great deal of wasteful duplication of glyph data. TTCs were defined to solve this problem.
WOFF (Web Open Font Format) should be regarded as a container format or "wrapper" for font data in already-existing formats. It supports the table-based sfnt structure used in TrueType, OpenType, and Open Font Format [OFF] fonts. It is a required format for ePub 3.
A WOFF file a repackaged version of a sfnt font with optional compression of the font data tables. The WOFF file format also allows font metadata and private-use data to be included separately from the font data. WOFF encoding tools convert an input sfnt font into a WOFF formatted file, and user agents restore the sfnt font data for use with a Web document.
 History of TTF
The TrueType digital font format was originally designed by Apple Computer, Inc. It was a means of avoiding per-font royalty payments to the owners of other font technologies, and a solution to some of the technical limitations of Adobe's Type 1 format.
Originally code named "Bass" (because these were scalable fonts and you can scale a fish), and later "Royal", the TrueType format was designed to be efficient in storage and processing, and extensible. It was also built to allow the use of hinting approaches already in use in the font industry as well as the development of new hinting techniques, enabling the easy conversion of already existing fonts to the TrueType format. This degree of flexibility in TrueType's implementation of hinting makes it extremely powerful when designing characters for display on the screen. Microsoft had also been looking for an outline format to solve similar problems, and Apple agreed to license TrueType to Microsoft.
Apple included full TrueType support in its Macintosh operating system, System 7, in May 1991. Its more recent development efforts include TrueType GX, which extends the TrueType format as part of the new graphics architecture QuickDraw GX for the MacOS. TrueType GX includes some Apple-only extensions to the font format, supporting Style Variations and the Line Layout Manager.
Microsoft first included TrueType in Windows 3.1, in April 1992. Soon afterwards, Microsoft began rewriting the TrueType rasterizer to improve its efficiency and performance and remove some bugs (while maintaining compatibility with the earlier version). The new TrueType rasterizer, version 1.5, first shipped in Windows NT 3.1. There have since been some minor revisions, and the version in Windows 95 and NT 3.51 is version 1.66. The new capabilities include enhanced features such as font smoothing (or more technically, grayscale rasterization).
Microsoft's ongoing development effort includes the TrueType Open specification. TrueType Open will work on any Microsoft platform and Apple Macintosh machine, and includes features to allow multi-lingual typesetting and fine typographic control.
The next extension to the TrueType Open format is to be TrueType Open version 2, a collaborative effort with Adobe Systems to produce a format capable of containing both TrueType (and Open) and PostScript data.
 Font Rendering
For computer use a Font is rendered on to the display screen or printer. The resolution of the display or printer can influence the quality and appearance of the glyph. There are techniques that can improve the looks of the characters beyond the basic capabilities of the pixel or dot resolution. For a screen display the techniques include anti-aliasing and sub-pixel resolution.
Anti-aliasing is a technique where adjacent pixels are displayed in gray to soften the hard edges of the character for angles and curved edges. This can avoid the blotchy look that can be seen when the pixel resolution is too small for the font size.
Sub-pixel is a technique that fools the eye into thinking the image has higher resolution that it has. It takes advantage of the fact that, on a color display, a pixel is actually made up of 3 different color elements. These color elements are only 1/3 the size of the pixel so lighting only one effectively triples the resolution. Generally the pixel is so small that, by itself, the eye cannot distinguish the color but only sees a gray image. In this fashion a few extra elements along the edge of an angled line or curve can behave like a high resolution anti-aliasing technique for improved smoothness for the glyph. Microsoft Clear-Type uses this technique.
 Embedded Fonts
The term embedded fonts refers to the inclusion of fonts in the eBook itself. The idea is that the font that is needed in the eBook may not be available on the displaying system. In some cases only a few special characters will be included but in some cases you would need the full set. This can allow, for example, Chinese to be displayed on a unit that doesn't have native support for these characters. Most eBook formats do not include embedded font support but PDF, ePUB, TPZ, and XPS do. The alternative to embedded fonts is to have images of the characters needed and display one of them when the character is needed.
Note that embedding a font in a document you produce and distribute may be in violation of the copyright on the font itself. Be sure you have permission before including a font.
Some letter combinations have been determined to look better if they are especially spaced. For example fl can be shown using a ligature ﬂ and fi can be shown as ﬁ. These are called Stylistic ligatures and are a feature of typography. Other times a special letter combination can be combined to represent a different phoneme to aid in pronouncing the word. A ligature occurs where two or more graphemes are joined as a single glyph. These require ligature fonts in the font set to be displayed properly. In a few cases they may use a ligature from a different font set if one is not available in the one in use. See special characters for examples of ligatures.
 Font editing
- Type Light is a free font editing tool for OpenType fonts from CR8 software.
- Type 3.2 is a commercial font editor from CR8 software.
- Type Tuner Web allows downloading custom fonts from their sets including alternate glyphs.
It is also possible to use graphics images as fonts (technically glyphs). An inline image in an eBook will typically scale with the text around it and can be used when there is no character available. They can also be used for drop caps where a really fancy decorated font is desirable. Here is a download site for font images. Select the image style and then click the box.
For more on this subject see Bitmapped fonts.
 Fonts available for download
- http://www.fontspace.com/ Fontspace is a source of free fonts including fleurons and other decorative glyphs.
- http://savannah.gnu.org/projects/freefont/ Gnu free fonts.
- http://sourceforge.net/projects/dejavu - Free dejavu font set that has a large character set.
- http://www.webpagepublicity.com/free-fonts.html - Lots of free true type fonts.
- http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=FontDownloads - SIL.org fonts
- http://www.ghostscript.com/GhostPCL.html - Ghostscript PCL fonts
- http://www.fontsquirrel.com/ - Fontsquirrel
- http://www.fontsquirrel.com/fonts/abeezee Font squirrel ABeeZee is a children’s learning font.
- http://www.dafont.com/ many font choices.
- Gentium Basic - the same site has Gentium Plus and Gentium Plus Compact Fonts and the Original Gentium Fonts
- GNU FreeFont - a free family of scalable outline fonts
- Liberation fonts - from the Calibre web site.
- Vollkorn - free but donations are accepted.
- http://iginomarini.com/fell/the-revival-fonts/ The Fell Fonts dating back to the 17th century
- http://www-old.gnome.org/fonts/ - Original Bitstream Vera
- http://tavmjong.free.fr/FONTS/ - An expanded version of Vera with greater Unicode support
- http://home.kabelfoon.nl/~slam/fonts/fonts.html - Legendum and Garogier
- http://junicode.sourceforge.net/ - Junicode, with extensive support for Old English and similar Nordic languages
- The URW font pack (http://www.artifex.com/downloads/) contains an extensive variety of familiar fonts that can be freely embedded in public domain works, but are not available for commercial use without a separate license.
- http://www.impallari.com/lobster/ The Lobster font is a script font with lots of ligatures (79) to make the letters connect properly. This is done automatically by the font hinting.
- http://www.thessalonica.org.ru/en/oldstandard.html is called the old standard fonts and is a multilingual font family suitable for biblical, classical and medieval studies as well as for general-purpose typesetting in languages which use Greek or Cyrillic script.
- http://moorstation.org/typoasis/typoasis1.htm contains a huge collection of downloadable fonts. Some are very fancy and there is even a selection of old time fonts.
 For more information
- http://www.microsoft.com/typography/otspec/otff.htm Official specifications for Open Type.
- CSS 2.1 font descriptions
- CSS2 font description
- Identifying Fonts - article on programs that can help identify font sets.
- These can be discussed in the forum
- Finding fonts for eprdctn - Eproduction identified free fonts.
- typography for more detail on use of fonts.
- http://everythingfonts.com/ for everything