Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Fix text rise not always reset #37

Merged
merged 1 commit into from
Apr 15, 2023
Merged

馃悰 Fix text rise not always reset #37

merged 1 commit into from
Apr 15, 2023

Conversation

ralfstx
Copy link
Member

@ralfstx ralfstx commented Apr 15, 2023

When a text rise was set in the last chunk of a text content object, it was not reset at the beginning of the next text object. This caused the text rise to be applied to the rest of the page.

Text rise is a text state operator [1] that is retained across text objects in a single content stream, i.e. a page.

Consequently, this commit maintains the text state across text objects within a page.

[1]: See 5.2 Text State Parameters and Operators
https://archive.org/details/pdf1.7/page/n395/mode/1up

When a text rise was set in the last chunk of a text content object, it
was not reset at the beginning of the next text object. This caused the
text rise to be applied to the rest of the page.

Text rise is a text state operator [1] that is retained across text
objects in a single content stream, i.e. a page.

Consequently, this commit maintains the text state across text objects
within a page.

[1]: See 5.2 Text State Parameters and Operators
https://archive.org/details/pdf1.7/page/n395/mode/1up
@ralfstx ralfstx merged commit 2563bb6 into main Apr 15, 2023
1 check passed
@ralfstx ralfstx deleted the fix-text-rise branch April 15, 2023 13:29
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.

None yet

1 participant