[]
        
(Showing Draft Content)

GlyphWidths

DsPdfJS API v9.1.0


DsPdfJS API / GlyphWidths

Enumeration: GlyphWidths

Specifies the preferred glyph widths (generally used in CJKV fonts).

Enumeration Members

AlternateHalfWidths

AlternateHalfWidths: 5

Replace glyphs designed to be set on full-em widths, fitting them onto half-em widths using the 'halt' font feature.


Default

Default: 0

Don't apply any special glyph-width features.


FullWidths

FullWidths: 3

Replace glyphs set on other widths with glyphs set on full (usually em) widths using the 'fwid' font feature.


HalfWidths

HalfWidths: 4

Replace glyphs other than half an em, with glyphs on half-em (en) widths using the 'hwid' font feature.


ProportionalAlternateWidths

ProportionalAlternateWidths: 2

Respace glyphs designed to be set on full-em widths, fitting them onto individual (more or less proportional) horizontal widths ('palt').


ProportionalWidths

ProportionalWidths: 1

Replace glyphs set on uniform widths (typically full or half-em) with proportionally spaced glyphs using the 'pwid' font feature.


QuarterWidths

QuarterWidths: 7

Replace glyphs on other widths with glyphs set on widths of one quarter of an em using the 'qwid' font feature.


ThirdWidths

ThirdWidths: 6

Replace glyphs on other widths with glyphs set on widths of one third of an em using the 'twid' font feature.