parallax/jsPDF

Suggestiongs for next major release breaking changes

HackbrettXXX opened this issue · 0 comments

  • 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. #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.