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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestiongs for next major release breaking changes #3067

Open
HackbrettXXX opened this issue Jan 18, 2021 · 0 comments
Open

Suggestiongs for next major release breaking changes #3067

HackbrettXXX opened this issue Jan 18, 2021 · 0 comments

Comments

@HackbrettXXX
Copy link
Collaborator

HackbrettXXX commented Jan 18, 2021

  • Don't flip width/height if format parameter does not fit dimensions. The orientation parameter only makes sense if a fixed page format like "a4" is provided. (e.g. addPage() orientation is inverted, and a question #3066).
  • Make some hotfixes the default behavior.
  • Maybe make pt the default unit (scale factor 1).
  • Get rid of floatPrecision option in favor of precision.
  • Redesign getFontList API with separate font style and font weight
  • Get rid of synchronous XHRs and make the respective APIs return a Promise.
  • Clean up html API. Make it return a proper Promise.
  • Maybe deprecate or remove setTextColor - it's the same as setFillColor
  • set/getFontSize should use current document unit, not always pt. Same for similar functions like getLineHeight.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant