Skip to content

Conversation

@rcoreilly
Copy link
Member

converting code from tdewolff canvas PDF rendering to support direct rendering to PDF files.

@rcoreilly rcoreilly marked this pull request as draft October 2, 2025 10:05
…rd system and text transforms etc, but should be good now.
…er / rich.Settings: it wasn't using the args passed in shaper anyway, and it is just cleaner to have one definitive location for global rich text settings (font names etc), so cleaned that up.
…roperties control pagination. just needs testing of that and floats
…ive transform -- pdf and svg renderers actually need the incremental one, not Cumulative! fixes pdf rendering of svgs (modulo missing features).
…thors to just a string so you can do random formatting on it.
…ays, using to center figures, prevent page breaks on headers, etc.
Copy link
Member

@kkoreilly kkoreilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments through content.

Copy link
Member

@kkoreilly kkoreilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments through gpu.

Copy link
Member

@kkoreilly kkoreilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments through math32.

Copy link
Member

@kkoreilly kkoreilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments up to paginate.

Copy link
Member

@kkoreilly kkoreilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments through rich.

Copy link
Member

@kkoreilly kkoreilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reviewed!

rcoreilly and others added 9 commits December 24, 2025 22:37
…ally), including WrapPi convenience function, along with associated tests, including for previously untested Truncate and IntMultiple functions.
…e gets set as fully transparent color, in which case text render mode should not render stroke.
…ugs, and MinAngleDiff for subtracting angles.
@kkoreilly kkoreilly merged commit 50dcded into main Jan 6, 2026
1 check failed
@kkoreilly kkoreilly deleted the pdf branch January 6, 2026 00:21
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.

3 participants