Suggestiongs for next major release breaking changes
HackbrettXXX opened this issue · 0 comments
HackbrettXXX commented
- Don't flip
width/heightifformatparameter 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
ptthe default unit (scale factor 1). - Get rid of
floatPrecisionoption in favor ofprecision. - Redesign
getFontListAPI with separate font style and font weight - Get rid of synchronous XHRs and make the respective APIs return a Promise.
- Clean up
htmlAPI. Make it return a proper Promise. - Maybe deprecate or remove
setTextColor- it's the same assetFillColor set/getFontSizeshould use current document unit, not alwayspt. Same for similar functions likegetLineHeight.