Skip to content

v2.0.0

Compare
Choose a tag to compare
@Aymkdn Aymkdn released this 01 Jun 16:20
· 175 commits to master since this release
  • Deep rebuild of all the code to make it simpler to maintain – with bug fix and various improvements
  • Added option tableAutoSize to let the program to define widths and heights based on the inline CSS used
  • Changed the way the CSS numbers/units are handled: before only the number was parsed for a CSS property, now it checks if it's a 'PX', 'PT' or 'REM', then the number is converted to a 'PT' value because PDFMake uses this unit. For example, 16px will be converted to 12. All the other units ('vw', '%', …) will be ignored.
  • Jumped to v2.0.0 to make sure people will be careful for existing projects