-
-
Notifications
You must be signed in to change notification settings - Fork 95
PDF rendering support #1619
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
rcoreilly
wants to merge
52
commits into
main
Choose a base branch
from
pdf
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
PDF rendering support #1619
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…rd system and text transforms etc, but should be good now.
…in render; fix times-roman
…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.
…ll at all -- offsets are off
…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.
… now generated not in html but rather in widgetHandler which is simpler and finally allows for arbitrary html formatting inside the caption.
…need that for tables etc.
…ong in htmlcore, which is just the basic handler without any of the fancy interactive stuff. moved all the pre elements into a frame, so pdf render is blocked. neuron-channels page is _amazing_ with all the plots etc.
…non-Activatable items
…s: needs an extra 3 pixels. The ascent thing must be wrong somehow, somewhere.. will fix properly later.
…getting weird sizing issue in BG -- can't quite figure it out.
…neric config as final rendering will use.
…ave to rebuild core tool to avoid error with Authors change to string instead of []string.
….FS for compatibility.
…ade delayed loading of html images optional and off by default -- content does not at all benefit from this, and it interferes with the PDF rendering.
…lt, in case it changes
… layer stuff was very broken -- now has a test but is not used by default b/c basically meaningless. but is there as an option. last major issue is the gradients (and then embedded fonts eventually)
…of optimized wrapping -- undoing that for special case of Scene that uses rasterx renderer on web.
…tyle syntax in test.
…s into global settings system where needed (call core.AddPrinterSettings())
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
converting code from tdewolff canvas PDF rendering to support direct rendering to PDF files.