Skip to content

Fix unclamping of negative start indent for bidi support - #241

Merged
thenixan merged 1 commit into
mainfrom
fix/bidi-outdent-clamp
Sep 20, 2026
Merged

thenixan merged 1 commit into
mainfrom
fix/bidi-outdent-clamp

Conversation

@thenixan

Copy link
Copy Markdown
Contributor

Adjust the handling of negative start indents to allow proper outdenting in bidirectional text scenarios. This change ensures that the cursor can move past the margin when a negative indent is applied, aligning with the expected behavior for both left-to-right and right-to-left text. Additional tests verify the correct rendering of text in these cases.

@thenixan
thenixan merged commit 2f86254 into main Sep 20, 2026
9 checks passed
@thenixan
thenixan deleted the fix/bidi-outdent-clamp branch September 20, 2026 14:07
ikashapov pushed a commit to ikashapov/dxpdf that referenced this pull request Oct 14, 2026
Fix unclamping of negative start indent for bidi support
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