Information about Computer Font

This article is about font technology. For information about the typographic appearance of individual font sets, see Typefaces.
A computer font is an electronic data file containing a set of glyphs, characters, or symbols such as dingbats. Although the term "font" once referred to interchangeable typefaces using mechanical components such as a typeball element or a daisy wheel, most modern fonts are used in computing. There are three basic kinds of computer font file data formats:
  • Bitmap fonts consist of a series of dots or pixels representing the image of each glyph in each face and size.
  • Outline fonts use Bézier curves, drawing instructions and mathematical formulas to describe each glyph, which make the character outlines scalable to any size.
  • Stroke fonts use a series of specified lines and additional information to define the profile, or size and shape of the line in a specific face and size, which together describe the appearance of the glyph.
Bitmap fonts are faster and easier to use in computer code, but inflexible, requiring a separate font for each size and each face. Outline and stroke fonts can be resized using a single font and substituting different measurements for components of each glyph, but are somewhat more complicated to use than bitmap fonts as they require additional computer code to render them. For example, the letter "A" has three components, the two lines on the outside and the bar between the two outside lines, and may have more if the design has serifs.

Bitmap fonts versus outline fonts can be compared to the two main types of image file formats. Bitmap image formats such as Windows Bitmap (.bmp), Portable Network Graphics (.png), Joint Photographic Experts Group (.jpg or .jpeg) and Tagged Image Format (.tif or .tiff), store the image data as a grid of pixels, in some cases with compression. Outline or stroke image formats such as Windows Metafile format (.wmf) and Scalable Vector Graphics format (.svg), store instructions of how to draw the image rather than storing the image itself.

A bitmap image can be displayed in a different size only with some distortion, but renders quickly; outline or stroke image formats are resizable but take more time to render as pixels must be drawn from scratch each time they are displayed.

Fonts are designed and created using font editors.

Font types

Bitmap fonts

Enlarge picture
An assortment of bitmap fonts from the first version of the Macintosh operating system.


A bitmap font is one that stores each glyph as an array of pixels (that is, a bitmap). It is less commonly known as a raster font. Bitmap fonts are simply collections of raster images of glyphs. For each variant of the font, there is a complete set of glyph images, with each set containing an image for each character. For example, if a font has three sizes, and any combination of bold and italic, then there must be 12 complete sets of images.

Advantages of bitmap fonts include:
  • Extremely fast and simple to render
  • Unscaled bitmap fonts always give exactly the same output
  • Easier to create than other kinds
The primary disadvantage of bitmap fonts is that the visual quality tends to be poor when scaled or otherwise transformed, compared to outline and stroke fonts.

Early computer systems used bitmap fonts exclusively due to their limited processing power and memory. Improvements in hardware have allowed them to be replaced with outline or stroke fonts in cases where arbitrary scaling is desirable, but bitmap fonts are still in common use in embedded systems and other places where speed and simplicity are considered important.

Bitmap fonts are used in the Linux console, the Windows recovery console, and embedded systems. Older dot matrix printers used bitmap fonts; often stored in the memory of the printer and addressed by the computer's print driver. Dot matrix printers are still used on carbon paper business forms. Bitmap fonts may be used in cross-stitch.

To draw a string using a bitmap font, means to successively output bitmaps of each character that the string comprises, performing per-character indentation. Also true type fonts, bitmap fonts can be monospaced (i.e.. every character is plotted a constant distant from the previous character that it is next to, while drawing) or proportional (each character has its own width). However, the particular font-handling application determines how each font will be displayed.

Scaling

Bitmap fonts look best at their native pixel size. Some systems using bitmap fonts can create some font variants algorithmically. For example, the original Apple Macintosh computer could produce bold by widening vertical strokes and oblique by shearing the image. At non-native sizes, many text rendering systems perform nearest-neighbor resampling, introducing ugly jagged edges. More advanced systems perform anti-aliasing on bitmap fonts whose size does not match the size that the application requests. This technique works well for making the font smaller but not as well for increasing the size, as it tends to blur the edges. Some graphics systems that use bitmap fonts, especially those of emulators, apply curve-sensitive nonlinear resampling algorithms such as 2xSaI or hq3x on fonts and other bitmaps, which avoids blurring the font while introducing little objectionable distortion at moderate increases in size.

A "trace" program can follow the outline of a high-resolution bitmap font and create an initial outline that a font designer uses to create an outline font useful in systems such as PostScript or TrueType. Outline fonts scale easily without jagged edges or blurriness.

Bitmap font formats

A bitmap color font for the Amiga OS.
  • Portable Compiled Font (PCF)
  • Glyph Bitmap Distribution Format (BDF)
  • Server Normal Format (SNF)
  • DECWindows Font (DWF)
  • Sun X11/NeWS format (BF)
  • Microsoft Windows bitmapped font (FON)
  • Amiga Font, ColorFont, AnimFont
  • ByteMap Font (BMF)

Outline fonts

Outline fonts or vector fonts are collections of vector images, i.e. a set of lines and curves to define the border of glyphs. Early vector fonts were used by vector monitors and vector plotters using their own internal fonts, usually with thin single strokes instead of thick outlined glyphs. The advent of desktop publishing brought the need for a universal standard to integrate the graphical user interface of the first Macintosh and laser printers. The term to describe the integration technology was WYSIWYG. The universal standard was (and still is) Adobe PostScript. Examples are PostScript Type 1 and Type 3 fonts, TrueType and OpenType.

The primary advantage of outline fonts is that they can be easily transformed by applying a mathematical function to each vector point, scaling them without causing pixellation. Outline font characters can be scaled to any size and otherwise transformed with more attractive results than bitmap fonts, but requires considerably more processing and may yield undesirable rendering, depending on the font, rendering software, and output size.

Outline fonts have a major problem, in that Bézier curves cannot be rendered accurately onto a raster display (such as most computer monitors and printers), and their rendering can change shape depending on the desired size and position.[1] Measures such as font hinting have to be used to reduce the visual impact of this problem, which require sophisticated software that is difficult to implement correctly. Many modern desktop computer systems include software to do this, but they use considerably more processing power than bitmap fonts, and there can be minor rendering defects, particularly at small font sizes. Despite this, they are frequently used because people often consider the processing time and defects to be acceptable when compared to the ability to scale fonts freely.

Stroke-based font

A glyph's outline is defined by the vertices of individual strokes and stroke's profile. Its advantage over outline fonts include reducing number of vertices needed to define a glyph, allowing same vertices to be used to generate a different font that have different weight, glyph width, or serifs using different stroke rules, and the associated size savings. For font developer, editing a glyph by stroke is easier and less prone to error than editing outlines. Stroke-based system also allows rescaling glyphs without altering stroke thickness of the base glyphs. It is heavily marketed for East Asian markets for use on embedded devices, but the technology is not limited to ideograms.

Commercial developers included Agfa Monotype (iType), Type Solutions, Inc. (owned by Bitstream Inc.) (Font Fusion (FFS), btX2), Fontworks (Gaiji Master), which have independently developed stroke-based font types and font engines.

Although Monotype and Bitstream have claimed tremendous space saving using stroke-based font on East Asian character sets, most of the saving comes from building composite glyphs, which is part of TrueType specification.

Font formats

Type 1 and Type 3 Fonts

Type 1 and Type 3 fonts were developed by Adobe for professional digital typesetting. Using PostScript, the glyphs are outline fonts described with cubic Bezier curves. Type 1 fonts were restricted to a subset of the PostScript language, and used Adobe's hinting system, which used to be very expensive. Type 3 allowed unrestricted use of the PostScript language, but didn't include any hint information, which could lead to visible rendering artifacts on low-resolution devices (such as computer screens and dot-matrix printers).

TrueType Font

TrueType is a font system originally developed by Apple Computer. It was intended to replace Type 1 fonts, which many felt were too expensive. Unlike Type 1 fonts, TrueType glyphs are described with quadratic Bezier curves. It is currently very popular and implementations exist for all major operating systems.

OpenType Font

OpenType is a smartfont system designed by Adobe and Microsoft. OpenType fonts contain outlines in either the TrueType or Type 1 (actually CFF) format together with a wide range of metadata.

METAFONT

METAFONT uses a different sort of glyph description. Like TrueType, it is a vector font description system. It draws glyphs using strokes produced by moving a polygonal or elliptical pen approximated by a polygon along a path made from cubic Bézier splines and straight line segments, or by filling such paths. Although when stroking a path the envelope of the stroke is never actually generated, the method causes no loss of accuracy or resolution.

See also

Notes

1. ^ Stamm, Beat (1998-03-25). The raster tragedy at low resolution.

External links

This article or section is in need of attention from an expert on the subject.
Please help recruit one or [ improve this article] yourself. See the talk page for details.
..... Click the link for more information.
A data file is a computer file which stores data for use by a computer application or system. It generally does not refer to files that contain instructions or code to be executed (typically called program files), or to files which define the operation or structure of an
..... Click the link for more information.
glyph is the shape given in a particular typeface to a specific grapheme or symbol.

The term for the abstract entity represented by a glyph is character: a typographical character may be a grapheme (an element of a writing system), but also a numeral, a punctuation
..... Click the link for more information.
dingbat is an ornament or spacer used in typesetting, sometimes more formally known as a "printer's ornament". The term supposedly originated as onomatopoeia in old style metal-type print shops, where extra space around text or illustrations would be filled by "ding"ing an ornament
..... Click the link for more information.
This article or section is in need of attention from an expert on the subject.
Please help recruit one or [ improve this article] yourself. See the talk page for details.
..... Click the link for more information.
A daisy wheel printer is a type of computer printer that produces high-quality type, and was often referred to during the 1980s as a letter-quality printer (in contrast to high-quality dot matrix printers, capable of so-called near letter quality (NLQ) output).
..... Click the link for more information.
pixel (short for picture element, using the common abbreviation "pix" for "pictures") is a single point in a graphic image. Each such information element is not really a dot, nor a square, but an abstract sample.
..... Click the link for more information.
Bézier curve is a parametric curve important in computer graphics. Generalizations of Bézier curves to higher dimensions are called Bézier surfaces, of which the Bézier triangle is a special case.
..... Click the link for more information.
In typography, serifs are non-structural details on the ends of some of the strokes that make up letters and symbols. A font that has serifs is called a serif font (or seriffed font).
..... Click the link for more information.
Windows Bitmap

File extension: .bmp or .dib
MIME type: image/x-ms-bmp (unofficial)
Type code: 'BMP '
Uniform Type Identifier: com.microsoft.
..... Click the link for more information.
PNG may stand for:
  • Papua New Guinea, a country in Oceania, occupying the eastern half of the island of New Guinea and numerous off-shore islands.
  • Portable Network Graphics, a bitmapped image format that employs lossless data compression.

..... Click the link for more information.
JPEG

A photo of a flower compressed with successively more lossy compression ratios from left to right.
File extension: .jpeg, .jpg, .jpe
.jfif, .jfi, .

..... Click the link for more information.
Windows Metafile

File extension: .wmf, .emf, .wmz, .emz
Developed by: Microsoft
Type of format: Image file formats Windows Metafile (WMF
..... Click the link for more information.
Scalable Vector Graphics

File extension: .svg, .svgz
MIME type: image/svg+xml[1]
Developed by: World Wide Web Consortium
Type of format: vector image format
Extended from: XML


..... Click the link for more information.
A font editor is a class of application software specifically designed to create or modify computer font files.
Font editors differ greatly depending if they are designed to edit bitmap fonts or outline fonts.
..... Click the link for more information.
glyph is the shape given in a particular typeface to a specific grapheme or symbol.

The term for the abstract entity represented by a glyph is character: a typographical character may be a grapheme (an element of a writing system), but also a numeral, a punctuation
..... Click the link for more information.
pixel (short for picture element, using the common abbreviation "pix" for "pictures") is a single point in a graphic image. Each such information element is not really a dot, nor a square, but an abstract sample.
..... Click the link for more information.
bitmap or pixmap is a type of memory organization or image file format used to store digital images. The term bitmap comes from the computer programming terminology, meaning just a map of bits, a spatially mapped array of bits.
..... Click the link for more information.
raster graphics image, digital image, or bitmap, is a data structure representing a generally rectangular grid of pixels, or points of color, viewable via a computer monitor, paper, or other display medium.
..... Click the link for more information.
Linux (pronunciation: IPA: /ˈlɪnʊks/, lin-uks) is a Unix-like computer operating system. Linux is one of the most prominent examples of free software and open source development; its underlying source code can be
..... Click the link for more information.
Microsoft Windows

Screenshot of Windows Vista Ultimate, the latest version of Microsoft Windows.
Company/developer: Microsoft Corporation
OS family: MS-DOS/9x-based, Windows CE, Windows NT
Source model: Closed source

..... Click the link for more information.
Recovery Console is a feature of the Windows 2000, Windows XP and Windows Server 2003 operating systems. It provides the means for administrators to perform a limited range of tasks using a command line interface.
..... Click the link for more information.
An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions.[1] It is usually embedded as part of a complete device including hardware and mechanical parts.
..... Click the link for more information.
dot matrix printer or impact matrix printer refers to a type of computer printer with a print head that runs back and forth on the page and prints by impact, striking an ink-soaked cloth ribbon against the paper, much like a typewriter.
..... Click the link for more information.
In computers, a printer driver or a print processor is a piece of software that converts the data to be printed to the form specific to a printer. The purpose of printer drivers is to allow applications to do printing without being aware of the technical details of each
..... Click the link for more information.
Carbon paper (originally carbonic paper) is paper coated on one side with a layer of a loosely bound dry ink or pigmented coating, usually bound with wax. It is used for making one or more copies simultaneous with the creation of an original document.
..... Click the link for more information.
Cross-stitch is a popular form of counted-thread embroidery in which X-shaped stitches are used to form a picture. Other stitches are also commonly used in cross-stitch, among them ¼, ½, and ¾ stitches and backstitches.
..... Click the link for more information.
TrueType

File extension: .ttf
Type code: tfil
Developed by: Apple Computer
Type of format: outline font

TrueType
..... Click the link for more information.
monospace <nowiki /> Category Serif

Classifications Monospace serif <nowiki />
Designer(s) George Williams. <nowiki /> <nowiki />
Foundry <nowiki /> <nowiki /> <nowiki /> <nowiki /> <nowiki /> <nowiki />
..... Click the link for more information.
pixel (short for picture element, using the common abbreviation "pix" for "pictures") is a single point in a graphic image. Each such information element is not really a dot, nor a square, but an abstract sample.
..... Click the link for more information.


This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus


page counter