{
  "id": "enwiki-001378788108",
  "slug": "computer-font",
  "title": "Computer font",
  "qid": "",
  "lead": "|class=skin-invert-image , an open source application for developing digital fonts A computer font or digital font is a digital data file containing a set of graphically related glyphs, usually designed and created using a font editor. Such a font specifically designed for the computer screen, and not for printing, is termed a screen font. In the terminology of movable metal type, a typeface is a set of characters that share common design features across styles and sizes (for example, all the varieties of Gill Sans), while a font is a set of pieces of movable type in a specific typeface, size, width, weight, slope, etc. (for example, Gill Sans bold 12 point). In HTML, CSS, and related technologies, the font family attribute refers to the digital equivalent of a typeface. Since the 1990s, many people outside the printing industry have used the word font as a synonym for typeface. There are three basic kinds of computer font file data formats: * Bitmap fonts consist of a matrix of dots or pixels representing the image of each glyph in each face and size. This technology is largely obsolete. * Vector fonts (including, and sometimes used as a synonym for, outline fonts) use Bézier curves, drawing instructions and mathematical formulae to describe each glyph, which make the character outlines scalable to any size.…",
  "body": "|class=skin-invert-image]] , an open source application for developing digital fonts]] A computer font or digital font is a digital data file containing a set of graphically related glyphs, usually designed and created using a font editor. Such a font specifically designed for the computer screen, and not for printing, is termed a screen font. In the terminology of movable metal type, a typeface is a set of characters that share common design features across styles and sizes (for example, all the varieties of Gill Sans), while a font is a set of pieces of movable type in a specific typeface, size, width, weight, slope, etc. (for example, Gill Sans bold 12 point). In HTML, CSS, and related technologies, the font family attribute refers to the digital equivalent of a typeface. Since the 1990s, many people outside the printing industry have used the word font as a synonym for typeface. There are three basic kinds of computer font file data formats: Bitmap fonts consist of a matrix of dots or pixels representing the image of each glyph in each face and size. This technology is largely obsolete. Vector fonts (including, and sometimes used as a synonym for, outline fonts) use Bézier curves, drawing instructions and mathematical formulae 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 size and shape of the line in a specific typeface, which together determines the appearance of the glyph. Bitmap fonts are faster and easier to create in computer code than other font types, but they are not scalable: a bitmap typeface requires a separate font design for each size. Outline and stroke typefaces can be resized in a single font by substituting different measurements for components of each glyph, but they are more complicated to render on screen or in print than bitmap fonts because they require additional computer code to render the bitmaps to display on screen and in print. Although all font types are still in use, most fonts used on computers today are outline fonts. Fonts can be monospaced (i.e. every character is plotted a constant distance 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 can affect the spacing, particularly when justifying text. === Bitmap fonts === |class=skin-invert-image]] 3]] 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 or, when intended for use at particularly small sizes, a pixel 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. Easier to create than other kinds. Unscaled bitmap fonts always give exactly the same output when displayed on the same specification display. Best for very low-quality or small-size displays where the font needs to be fine-tuned to display clearly. 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, and providing many optimized and purpose-made sizes of the same font dramatically increases memory usage. The earliest bitmap fonts were only available in certain optimized sizes such as 8, 9, 10, 12, 14, 18, 24, 36, 48, 72, and 96 points (assuming a resolution of 96 DPI), with custom fonts often available in only one specific size, such as a headline font at only 72 points. The limited processing power and memory of early computer systems forced the exclusive use of bitmap fonts. 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. 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. === Outline fonts === Outline fonts or vector fonts are collections of vector images, consisting of lines and curves defining the boundary 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 thickly outlined glyphs. The advent of desktop publishing brought the need for a common standard to integrate the graphical user interface of the first Macintosh and laser printers. The term to describe the integration technology was WYSIWYG (What You See Is What You Get). Examples of outline fonts include PostScript Type 1 and Type 3 fonts, TrueType, OpenType and Compugraphic. The primary advantage of outline fonts is that, unlike bitmap fonts, they are a set of lines and curves instead of pixels; they can be scaled without causing pixelation. Therefore, outline font characters can be scaled to any size and otherwise transformed with more attractive results than bitmap fonts, but require considerably more processing and may yield undesirable rendering, depending on the font, rendering software, and output size. Even so, outline fonts can be transformed into bitmap fonts beforehand if necessary. The converse transformation is considerably harder since bitmap fonts require a heuristic algorithm to guess and approximate the corresponding curves if the pixels do not make a straight line. Outline fonts had a major problem, in that the Bézier curves used by them could not be rendered accurately at small sizes onto a low-resolution raster display (such as most older computer monitors and printers), and their rendering could change shape depending on the desired size and position, an effect known as aliasing that is made worse by the spatial frequencies of the font's details approaching or surpassing the spatial Nyquist frequency of the display. Measures such as font hinting had to be used to reduce the visual impact of this problem, which required 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 ability to freely scale fonts, without incurring any pixelation, to be important enough to justify the defects and increased computational complexity. These issues are however mostly solved by antialiasing (as described in font rasterization) and the high display resolutions that are commonly in use today. ==Subsetting== A typical font may contain hundreds or even thousands of glyphs, often representing characters from many different languages. Oftentimes, users may only need a small subset of the glyphs that are available to them. Subsetting is the process of removing unnecessary glyphs from a font file, usually with the goal of reducing file size. This is particularly important for web fonts, since reducing file size often means reducing page load time and server load. Alternatively, fonts may be issued in different files for different regions of the world, though with the spread of the OpenType format this is now increasingly uncommon. ==External links== Finding Fonts FAQ (Microsoft) Font Technologies chapter of the LDP's Font-HOWTO Microsoft's font guide Glossary of Font Terms Over 50 entries with helpful diagram",
  "categories": [
    "113832432",
    "20464047",
    "23212658",
    "23603337",
    "24043274",
    "24745114",
    "24745122",
    "26220375",
    "28493674",
    "89061603",
    "89061614",
    "98996652"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1378788108",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1791252174.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001378788108",
    "type": "webpage",
    "title": "Computer font",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/computer-font",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001378788108",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1378788108",
    "note": "Immutable snapshot enwiki-001378788108"
  }
}