[]
DsPdfJS API / GlyphWidths
Specifies the preferred glyph widths (generally used in CJKV fonts).
AlternateHalfWidths:
5
Replace glyphs designed to be set on full-em widths, fitting them onto half-em widths using the 'halt' font feature.
Default:
0
Don't apply any special glyph-width features.
FullWidths:
3
Replace glyphs set on other widths with glyphs set on full (usually em) widths using the 'fwid' font feature.
HalfWidths:
4
Replace glyphs other than half an em, with glyphs on half-em (en) widths using the 'hwid' font feature.
ProportionalAlternateWidths:
2
Respace glyphs designed to be set on full-em widths, fitting them onto individual (more or less proportional) horizontal widths ('palt').
ProportionalWidths:
1
Replace glyphs set on uniform widths (typically full or half-em) with proportionally spaced glyphs using the 'pwid' font feature.
QuarterWidths:
7
Replace glyphs on other widths with glyphs set on widths of one quarter of an em using the 'qwid' font feature.
ThirdWidths:
6
Replace glyphs on other widths with glyphs set on widths of one third of an em using the 'twid' font feature.