Repository navigation
Capitalize the named page sizes, as in A4 and Letter - #81
Merged
Merged
Conversation
PageSize holds A4, B5, Letter and the rest, as the schema now names them, and the tests, examples and README use them. Work: 681
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
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.
The schema now names the page sizes as their papers are named,
A4,B5,Letter(lpdfio/lpdf#192), and a name in lowercase is an error.PageSizetakes the new values, and this SDK's tests and README use them.What changes
PageSize, regenerated from the schema: each constant keeps its name and takes the new value,A4forPageSize.A4andLetterfor the letter size.How it was checked
lpdf codegenwrites for this SDK renders the PDF of its XML for each of 1013 documents (make check-codegen-sdk-pythonin core).CI here builds against the last core release, so it fails until a release candidate carries the change.
Work: 681