mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 12:24:19 +00:00
With Show East Asian Options on, the Glyphs panel menu lists Traditional Forms, Expert Forms, JIS 04, JIS 90, JIS 78 and JIS 83 Forms, Monospaced Full-Width, Half-Width, Third-Width and Quarter-Width Forms, and Revert To Default Forms. Each form draws the selected characters with the font's OpenType feature for it (trad, expt, jp04, jp90, jp78, jp83, fwid, hwid, twid or qwid). A form is checked when every selected character has it and disabled when none of the faces that draw the selected text, fallback faces included, has the feature. The form is a new character attribute, glyphForm, one form at a time (text.setFormat, text.setRangeStyle). It is saved only when set, character styles carry it, and runs that differ only in their form shape as one piece of text. SVG writes it in font-feature-settings; PDF draws the glyphs from the layout.