Skip to content

Releases: typst/pdf-writer

0.7

27 Apr 11:07
Compare
Choose a tag to compare
0.7 Pre-release
Pre-release

Breaking changes:

  • Rename destination_direct to destination in Action
  • Rename properties_direct to properties in MarkContent
  • device_n in ColorSpace now returns a DeviceN struct

Further changes:

  • Full support for ICC-based and DeviceN color spaces
  • Add OutputIntents
  • Add metadata streams. Check out xmp-writer to obtain the metadata payload

0.6

10 Jun 09:14
Compare
Choose a tag to compare
0.6 Pre-release
Pre-release

Notable changes:

  • Writers for Tagged PDF and Structured Content
  • Writers for Name and Number trees
  • Support for TypedArray and TypedDict of writers (this is a small breaking change because a few manual arrays of writers have been removed)
  • Text strings are now written in PDFDocEncoding instead of UTF-16 if possible

0.5

18 Mar 11:11
Compare
Choose a tag to compare
0.5 Pre-release
Pre-release

This release is mostly a maintainance release, but with a few breaking changes:

  • writer.finish() will panic instead of hanging when an indirect reference id was used twice
  • The gray color space setters were renamed

Further changes:

  • More color space setters, including ProPhoto
  • New example on how to embed an image into a PDF
  • Bumped dependencies and edition

0.4.1

06 Dec 22:38
Compare
Choose a tag to compare
0.4.1 Pre-release
Pre-release

This is a small maintenance release including:

  • Bugfix for Name writing: Some characters that must be escaped were not
  • Convenient color space setters for sRGB, Adobe RGB, and Display P3

0.4

04 Dec 20:08
Compare
Choose a tag to compare
0.4 Pre-release
Pre-release

With this release, there are lots of new features as well as general improvements to the writing interface.

Among other things:

  • Many more content stream operators
  • External graphics state dictionaries
  • Color Spaces, Patterns & Shadings
  • Form XObjects
  • Type 1 and 3 fonts
  • Document info dictionaries
  • All four kinds of functions
  • Writer-specific types moved to types module