Skip to content

Feat Add RTL/LTR support in document layout and update package version#3

Merged
sinaatalay merged 3 commits intorendercv:mainfrom
husam515:2-add-rtl-support
Feb 16, 2026
Merged

Feat Add RTL/LTR support in document layout and update package version#3
sinaatalay merged 3 commits intorendercv:mainfrom
husam515:2-add-rtl-support

Conversation

@husam515
Copy link
Contributor

Add the support for both of Left to Right(LTR) and Right to Left(RTL) languages.
closes #2

Add text-direction parameter (native Typst ltr/rtl type) with two
direction-aware helper functions (directional-grid, directional-inset)
that encapsulate all layout mirroring logic. Both helpers read is-rtl
from config state internally, so components never need to pass it.

Updates all 11 locations that need RTL awareness: content-area, summary,
regular-entry, education-entry, section titles, and top note placement.

Includes Persian RTL example (examples/rtl.typ).

Closes rendercv#2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sinaatalay
Copy link
Member

Thank you very much.

@sinaatalay sinaatalay merged commit c58a586 into rendercv:main Feb 16, 2026
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.

feat: add support to rtl langauges

3 participants