Skip to content

Add bidirectional and vertical text editing - #152

Merged
IAmJSD merged 2 commits into
mainfrom
pr/bidi-vertical-text
Sep 20, 2026
Merged

IAmJSD merged 2 commits into
mainfrom
pr/bidi-vertical-text

Conversation

@IAmJSD

@IAmJSD IAmJSD commented Sep 19, 2026 •

Copy link
Copy Markdown
Member

Add automatic/explicit paragraph direction and vertical writing modes in the Character panel. Shape Arabic/Hebrew and mixed-direction runs in visual order while retaining logical Unicode text; lay out vertical columns with Unicode orientation and supported font alternates.

Caret movement, hit testing, disjoint selections, word navigation and grapheme deletion follow shaped positions. Direction and writing mode remain undoable and persist in Schist text metadata. Suitable script fonts are required; vertical writing and text-on-path are mutually exclusive. See docs/text.md.

Validation: make check-text passed core, text, editing and Affinity regressions; 35 text-engine and 35 Type-tool tests cover bidi boundaries, paragraph separators, wrapping, vertical punctuation, hit testing, navigation and deletion. Strict text lint and catalog checks passed.

Stack position 5/7. Base: pr/extended-actions; review and merge after the preceding PR.

Depends on #151.

The combined seven-feature stack passed the native app build (make app PROFILE=debug), native and wasm checks, focused feature tests, make check-i18n, rustfmt, and strict Clippy across changed crates. The required Vulkan transform regression and desktop canvas smoke also passed. Each PR head passed formatting independently. Cross-platform CI results are reported in the checks below.

@IAmJSD
IAmJSD force-pushed the pr/bidi-vertical-text branch from 2878e05 to 94b0929 Compare September 19, 2026 20:44
@IAmJSD
IAmJSD force-pushed the pr/bidi-vertical-text branch from 94b0929 to d559185 Compare September 19, 2026 20:57
@IAmJSD
IAmJSD added this pull request to stack #155 September 20, 2026 08:29
@IAmJSD
IAmJSD force-pushed the pr/bidi-vertical-text branch from d559185 to 56d1364 Compare September 20, 2026 09:13
@IAmJSD
IAmJSD force-pushed the pr/bidi-vertical-text branch from 56d1364 to 02aa62d Compare September 20, 2026 09:14
@IAmJSD
IAmJSD force-pushed the pr/bidi-vertical-text branch from 02aa62d to c088af6 Compare September 20, 2026 09:15
@IAmJSD
IAmJSD force-pushed the pr/bidi-vertical-text branch from 319f001 to e9454dc Compare September 20, 2026 09:42
Base automatically changed from pr/extended-actions to main September 20, 2026 09:42
@IAmJSD
IAmJSD force-pushed the pr/bidi-vertical-text branch from e9454dc to 0ffd79b Compare September 20, 2026 09:42
@IAmJSD
IAmJSD merged commit 1652fd3 into main Sep 20, 2026
0 of 5 checks passed
@IAmJSD
IAmJSD deleted the pr/bidi-vertical-text branch September 20, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant