Skip to content

Releases: random-guys/pdfmills

pdfmills v0.3.0

09 Mar 09:25
fb39ee8
Compare
Choose a tag to compare

Features

  • FixedFlex can't handle children without defined widths #29
  • we couldn't use images as background for the entire document #30
  • there was no clear or standard way of rendering multi page layouts #31
  • generating boxes for RatioFlex had too much going on #32
  • we couldn't vertically align text #34

Fixes

  • Math.floor in width and height calculations forced pdfkit to clip out text #27
  • there was no way to set spacing between text lines and characters #28
  • text height returned from pdfkit is sometimes wrong #35

Others

  • some files were in strange folders #26
  • margin translation was done at least 3 times with the same input #26
  • Layout styles should not exist as they could easily be replicated using the current element wrappers(e.g. bg, pad and the likes). #35
  • Some height and width computations are ran multiple times with the same arguments. #35
  • EqualFlex supported floating items, even if it's design is such that there's no space for floats. #35
  • FixedFlex did runtime typechecking which wasn't necessary in TS. #35
  • The default float is not the natural default case(none) #35