Skip to content

Suggestiongs for next major release breaking changes #3067

Open
@HackbrettXXX

Description

@HackbrettXXX
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions