mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
Vertical type laid Latin letters and digits on their side (the word turned 90°), and called that Photoshop's default. Photoshop's Vertical Type tool stacks them upright, one character per em down the column: the run's BaselineDirection is 1 (withStream); 2 (rotated) turns them. - doc: CharStyle::rotate_roman (false = upright, the default). - text/psd: BaselineDirection is read (a run without one takes the style sheet's, which Photoshop writes as 2) and written back. - text/layout: in vertical type, roman characters take the upright path unless their run rotates them. Each is given one em down the column (a second shaping pass sets its letter spacing from the shaped advance), with pair kerning off between the stacked letters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>