Suggestiongs for next major release breaking changes
HackbrettXXX opened this issue · 0 comments
HackbrettXXX commented
- Don't flip
width/height
ifformat
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 ofprecision
. - 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 assetFillColor
set/getFontSize
should use current document unit, not alwayspt
. Same for similar functions likegetLineHeight
.