Difference between revisions of "User:Thisoldman"

From ArchWiki
Jump to: navigation, search
Line 1: Line 1:
 
==Font formats==
 
==Font formats==
Almost all computer fonts used today are either in ''bitmap'' or ''outline'' data formats. A third type, ''stroke'' format, is rarely used.  
+
Most computer fonts used today are in ''bitmap'' or ''outline'' data formats. Bitmap fonts store fixed images for each glyph in each typeface and point size. Outline or ''vector'' fonts store glyphs as instructions for drawing each character's lines and curves. Outline fonts scaled smoothly in size over a wide range.
  
''Bitmap'' fonts – The glyphs or characters are stored as fixed size images. Their display often suffers when these fonts are scaled to different sizes. Filename extensions include {{Filename|pcf}}, ''p''ortable ''c''ompiled ''f''ont, and {{Filename|bdf}}, ''b''itmap ''d''istribution ''f''ormat. Gzipped versions of these two formats are also used and have the extensions {{Filename|pcf.gz}} and {{Filename|bdf.gz}}.
+
Common font filename extensions include:
 +
:{{Codeline|bdf}} and {{Codeline|bdf.gz}} – ''b''itmap ''d''istribution ''f''ormat and the gzip compressed {{Codeline|bdf}}
 +
:{{Codeline|pcf}} and {{Codeline|pcf.gz}} – bitmap ''p''ortable ''c''ompiled ''f''ont and the gzip compressed {{Codeline|pcf}}
 +
:{{Codeline|pfa}} and {{Codeline|pfb}} – outline ''P''ostScript ''f''ont ''A''SCII and ''P''ostScript ''f''ont ''b''inary. PostScript fonts carry built-in printer instructions.
 +
:{{Codeline|ttf}} – outline ''T''rue''T''ype ''f''ont. Originally designed as a replacement for the PostScript fonts.
 +
:{{Codeline|otf}} – outline ''O''pen''T''ype ''f''ont. TrueType with PostScript typographic instructions.  
  
''Outline'' or ''vector'' fonts – The glyphs contained in the font are defined by their lines and curves. Useful because they scale smoothly for print and can be hinted for adequate display on monitors. PostScript fonts use the extensions {{Filename|pfa}}, ''P''ostScript ''f''ont ''A''SCII, and {{Filename|pfb}}, ''P''ostScript ''f''ont ''b''inary. ''T''rue''T''ype ''f''onts carry the extension {{Filename|ttf}} and the more recently developed ''O''pen''T''ype ''f''onts use {{Filename|otf}}.
+
Some {{Codeline|ttf}} fonts are actually OpenType fonts and, for most purposes, the technical differences between TrueType and OpenType can be ignored. The OpenType format is published as the standard ''ISO/IEC 14496-22.''
  
PostScript fonts contain printer instructions. Their use is diminishing with changes in printer technology and as the popularity of TrueType and OpenType formats grows.
+
The typesetting application, ''TeX,'' and its companion font software, ''Metafont,'' render glyphs using their own methods. Some of the file extensions used for fonts by these two programs are {{Codeline|*pk}}, {{Codeline|*gf}}, {{Codeline|mf}} and {{Codeline|vf}}.
 
+
Their are technical differences between OpenType and TrueType formats, but for most purposes these differences can be ignored. The OpenType format is now an open standard, published as ISO/IEC 14496-22.
+
 
+
*TeX bitmap fonts (.pk)<br>
+
:''usually automatically generated from the METAFONT source .mf''
+
*TeX virtual fonts (.vf)
+
*TrueType/OpenType fonts (.ttf)<br>
+
:''The most popular kind of fonts. OpenType fonts with quadratic outlines have also the .ttf suffix''
+

Revision as of 04:21, 17 November 2009

Font formats

Most computer fonts used today are in bitmap or outline data formats. Bitmap fonts store fixed images for each glyph in each typeface and point size. Outline or vector fonts store glyphs as instructions for drawing each character's lines and curves. Outline fonts scaled smoothly in size over a wide range.

Common font filename extensions include:

Template:Codeline and Template:Codelinebitmap distribution format and the gzip compressed Template:Codeline
Template:Codeline and Template:Codeline – bitmap portable compiled font and the gzip compressed Template:Codeline
Template:Codeline and Template:Codeline – outline PostScript font ASCII and PostScript font binary. PostScript fonts carry built-in printer instructions.
Template:Codeline – outline TrueType font. Originally designed as a replacement for the PostScript fonts.
Template:Codeline – outline OpenType font. TrueType with PostScript typographic instructions.

Some Template:Codeline fonts are actually OpenType fonts and, for most purposes, the technical differences between TrueType and OpenType can be ignored. The OpenType format is published as the standard ISO/IEC 14496-22.

The typesetting application, TeX, and its companion font software, Metafont, render glyphs using their own methods. Some of the file extensions used for fonts by these two programs are Template:Codeline, Template:Codeline, Template:Codeline and Template:Codeline.