The Unicode standard defines characters, encoding, and text processing algorithms, while font standards describe how those characters are displayed. A visual
representation of a character or a sequence of characters is called a glyph. Standards such as TrueType define how character code points are mapped to glyphs
and how those glyphs are displayed on the screen.
TrueType and OpenType fonts can describe glyph shapes using vector outlines, which preserve image quality when scaled. These outlines are rasterized according
to the font size and display resolution. Font standards also complement Unicode by defining the metrics used to position glyphs and instructions that can adjust
glyph outlines to the pixel grid to improve rasterization quality. The following table summarizes some of the font information and features used by NOV Rich Text Editor
and the NOV text processing stack:
| Font information | Defines the font name, general metrics, PANOSE classification, etc. Useful when the font system performs font lookup as well as font fallback. |
|---|
| Character-to-glyph mapping | The CMAP table has numerous formats, but their general purpose is to map character codes to glyph IDs. This is useful when the character sequence is converted to a glyph run. |
| Glyph substitution (GSUB) |
The GSUB table replaces glyph sequences with precomposed ones. Common uses include supporting ligatures (predefined visual representations of a sequence of glyphs),
contextual forms (used in Arabic to model initial, medial, final, and isolated forms), and script-specific letter shapes.
|
| Font and glyph metrics | Advance widths, bearings, ascender and descender metrics. These are useful when the glyphs are positioned relative to each other for measurement and display purposes. |
| Glyph outlines | Outline data describes the shapes of letters and symbols so they can be scaled for different font sizes and output resolutions. |
| Hinting |
TrueType instructions can adjust outlines to the pixel grid during rasterization, helping maintain legibility even at small sizes. NOV implements its own proprietary hinter
with best-in-class performance due to optimizations that are not found in open source hinters.
|
| Glyph positioning (GPOS) | Adjusts glyph placement and spacing, including kerning and the attachment of combining marks to base glyphs. |
Nevron Open Vision contains a completely managed implementation of the TTF/OTF standard that is coupled with our managed Unicode implementation for increased performance. The fact that the
Nevron Rich Text Editor for .NET does not use any parts of the text processing stack from the OS ensures that document processing, measurement, layout, and visualization remain
identical when the OS or .NET Core environment changes. Also, by solely utilizing managed memory and managed code, the control ensures that it is impervious to attacks using malicious fonts (for example, with malformed hinting code) or text sequences.