Retired Document
Important: QuickDraw is deprecated in Mac OS X version 10.5 and later. Use Core Text instead for Mac OS X v10.5 and later, as described in Core Text Programming Guide. For applications that must run on Mac OS X v10.4 and earlier, use Apple Type Services (ATS), as described in Apple Type Services for Fonts Programming Guide.
Managing Fonts: QuickDraw Glossary
- advance width
The full width of a glyph, measured from the glyph origin to the other side of the glyph, including any white space on either side.
- application font
The default font for use by applications. The application font is defined by each script system.
- ascent line
An imaginary horizontal line chosen by the font’s designer that aligns approximately with the tops of the uppercase letters in the font. See also base line, descent line.
- base line
An imaginary horizontal line that coincides with the bottom of each character in a font, excluding descenders (tails on letters such as p).
- bitmapped font
A font made up of bitmapped glyphs. Compare outline font.
- bitmapped glyph
A bitmap of a character designed for display at a fixed point size for a particular display device.
- bounding box
The smallest rectangle that entirely encloses the pixels of a bitmapped glyph.
- character
A symbol standing for a sound, syllable, or notion used in a script; one of the simple elements of a written language, for example, the lowercase letter “a” or the number “1”. Compare character code, glyph.
- character code
A value representing a text character. Text is stored in memory as character codes. Each script system’s (
'KCHR'
) resource converts the virtual key codes generation by the keyboard or keypad into character codes; each script system’s fonts convert the character codes into glyphs for display or printing. - character encoding
The organization of the numeric codes that represent the characters of a character set in memory.
- derived font
A font whose characteristics are partially determined by modifying an intrinsic font. A derived font might be one whose characters are scaled form an intrinsic font to achieve a desired size or are slanted to achieve an italic style.
- descent line
An imaginary horizontal line that usually aligns with the bottoms of descenders (the tails on the glyphs such as “p” or “g”), and it is the same distance from the base line for every glyph in the font. See also ascent line.
- fixed-width font
A font whose characters all have the same width. Compare proportional font.
- font
A collection of glyphs that usually have some element of design consistency such as the shapes of the counters, the design of the stem, the stroke thickness, or the use of serifs.
- font container
A file used to store data for a font.
- font depth
The number of bits per pixel.
- font description
A table that contains data that fully describes a font.
- font family
A group of outline and bitmapped fonts that share certain characteristics and a common family name.
- font family container
A file used to store data for a font family.
- font family reference
A reference to an opaque structure that represents a collection of fonts with the same design characteristics. It replaces the font ID and is compatible with Font Manager, QuickDraw, Resource Manager, and Script Manager functions.
- font ID
(1) A font-family ID. (2) A number that identifies the resource file of a particular individual font, of type
'FONT'
,'nfnt'
, or'sfnt'
. The font ID is no longer used in Font Manager functions, as it has been replaced by the font family reference. - font family instance
A font family reference and Quick Draw style that together defines an outline or bitmapped font that is a member of a font family.
- filter
In the Font Manger, a filter restricts the scope of the enumeration and activation function to the font families and fonts that match a particular technology, font container, or generation tag.
- font name
(1) The name, such as Geneva or Kyoto, given to a font family to distinguish it from other font families. (2) A set of specific information in a font object about a font, such as its family name, style, copyright date, version, and manufacturer. Some font names are used to build menus in an application, whereas other names are used to identify the font uniquely.
- font object
A specific outline font without regard to family.
- font rectangle
The smallest rectangle enclosing all the glyphs in a font if the images are all superimposed over the same glyph origin.
- font reference
A reference to an opaque structure that represents a font object.
- font scaling
The process of changing a glyph from one size or shape to another. The Font Manager can scale bitmapped and outline fonts by changing both sizes and shapes of glyphs.
- font scaling factors
Ratios that indicate how the Font Manager should scale a glyph in the vertical and horizontal directions.
- font size
The size of the glyphs in a font in points; nominally a measure of the distance from the base line of one line of text to the base line of the next line or single-spaced text.
- font technology
A methodology used to store and image fonts, such as PostScript or TrueType.
- generation count
A value used to track changes to the font database. Any operation that adds, deletes, or modifies one or more font family or font references triggers an update of a global generation count.
- global width table
A data structure that stores information about fractional glyph widths.
- glyph
The distinct visual representation of a character in a form that a screen or printer can display. A glyph may represent one character (the lowercase a), more than one character (the fi ligature), part of a character (the dot over an i), or a nonprinting character (the space character). See also character.
- glyph origin
The point on a base line used as a reference location for drawing a glyph.
- kerning
The process of drawing part of a glyph so that is overlaps another glyph.
- imaging system
The system used to render text or graphics.
- internal representation
The structure and organization used to represent objects, such as font objects, in the operating system.
- intrinsic font
A font whose characteristics are entirely defined in a
'FONT'
or'NFNT'
resource. The plain-style font of any family is an intrinsic font. Other styles may or may not be intrinsic. Compare derived font. - intrinsic style
See intrinsic font.
- leading (pronounced “LED-ing”)
The amount of blank vertical space between the descent line of one line of text and the ascent line of the next line of single-space text. In early typesetting, strips of lead were placed between lines of type for spacing, hence the term. See also line spacing.
- left-side bearing
The white space between the glyph origin and the visible beginning of the glyph.
- line spacing
The vertical distance between two lines of type, measured from base line to base line. For example, 10/12 indicates 10-point type with 12 points base to base (that is, with 2 points of leading).
- maximum-y value
The highest location on the vertical axis; it corresponds to the tallest glyph in a font
- minimum-y value
The lowest location on the vertical axis; it corresponds to the bottom of the longest descender in a font.
- missing-character glyph
The glyph in a font that is drawn when no glyph is defined for a character code in a font.
- monospaced font
See fixed-width font.
- off-curve point
An outline point between two on-curve points that determines the curve of the line between the two on-curve points. A Bézier curve is defined by all three points.
- on-curve point
One of the outline points that determines the shape of a Bézier curve. Two on-curve points and one off-curve point are required to define the curve.
- outline font
A font made up of outline glyphs in a particular typeface and style, with no size restriction. The Font Manager can generate thousands of point sizes from the same outline font.
- point
A unit used to measure font size. Traditionally, there are 72.27 points per inch. However, QuickDraw and the PostScript language define 1 point to be 1/72 of an inch, so there are exactly 72 points per inch in the Mac OS.
- proportional font
Any font in which different characters have different widths; thus, the space taken up by words having the same number of letters can vary.
- QuickDraw style
The set of styles supported by QuickDraw—bold, italic, underline, outline, shadow, condense, and extend.
- resource
Data of any kind stored in a defined format in a file’s resource fork and managed by the Resource Manager.
- resource fork entries
Code or noncode resource entries in a resource fork.
- resource identifier
An integer that identifies a specific resource of a given type.
- script system
A collection of software facilities that provides for the representation of a specific writing system. It consists of a set of keyboard resources, a set of international resources, one or more fonts, and possibly a script system extension (1-byte or 2-byte). Scripts systems include Roman, Japanese, Arabic, Traditional Chinese, Simplified Chinese, Hebrew, Greek, Thai, and Korean. Types of script systems include 1-byte simple, 1-byte complex, and 2-byte.
- style
A visual attribute, other than size, applied as a systematic variation to the plain (unstyled) characteristics of a font glyph. For example bold, italic, underline, outline, shadow, condense, and extend.
- system font
The font used to display text in menus, dialog boxes, alert boxes, and so forth in a given script system.
- suitcase file
A traditional packaging mechanism for Mac OS fonts that usually contains bitmapped and outline font data as well as family-wide information, such as font metrics.
- table directory
A table that contains data for registering fonts with the operating system.
Copyright © 2003, 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-12-11