Skip to content

feat(page): add userUnit option for custom page units (PDF 1.6)#1676

Merged
blikblum merged 3 commits intofoliojs:masterfrom
exoego:feat-page-userunit
Jan 26, 2026
Merged

feat(page): add userUnit option for custom page units (PDF 1.6)#1676
blikblum merged 3 commits intofoliojs:masterfrom
exoego:feat-page-userunit

Conversation

@exoego
Copy link
Contributor

@exoego exoego commented Jan 25, 2026

What kind of change does this PR introduce?

Add userUnit option to pages (PDF 1.6 feature).

This allows scaling the physical size of a page without changing the coordinate system.
If I understand this correctly, it is not achievable with existing pdfkit features like scale() or larger page sizes

Checklist:

  • Unit Tests
  • Documentation
  • Update CHANGELOG.md
  • Ready to be merged

@blikblum
Copy link
Member

Please fix conflicts

@blikblum blikblum merged commit edcbd4b into foliojs:master Jan 26, 2026
3 checks passed
@exoego exoego deleted the feat-page-userunit branch January 26, 2026 09:30
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.

2 participants