TPPDF v0.3.0 Release Notes

Release Date: 2017-01-19 // over 7 years ago
  • Full Changelog

    Implemented enhancements:

    • โž• Added command for new page creation creteNewPage()
    • โž• Added image caption and how image should fit, as parameter in addImage(image: UIImage, size: CGSize, caption: NSAttributedString, sizeFit: ImageSizeFit)
    • ๐Ÿšš Image is moved to new page if there is not enough rest space
    • โž• Added pagination, define position using paginationContainer
    • โž• Added imageQuality to reduce pdf file size
    • โž• Added command addImagesInRow(images: [UIImage], captions: [NSAttributedString], sizeFit: ImageSizeFit) for rendering two images next to each other
    • Images can be added to header or footer
    • Line separator can be drawn in header or footer
    • Text font in table can be modified in addTable(..., textFont: UIFont)
    • โž• Added paragraph support in table, moves to new page if not enough space
    • โž• Add metadata information to PDF file
    • ๐Ÿ‘Œ Improved PDF generation of large files
    • โž• Added command setFont(font: UIFont) to change the font in a container
    • โž• Added command resetFont(container: Container) to reset the font of a container to default

    ๐Ÿ”€ Merged pull requests:

    • PR #3 from kf99916/master