Releases: typst/pdf-writer
Releases · typst/pdf-writer
0.7
Breaking changes:
- Rename
destination_direct
todestination
inAction
- Rename
properties_direct
toproperties
inMarkContent
device_n
inColorSpace
now returns aDeviceN
struct
Further changes:
- Full support for ICC-based and
DeviceN
color spaces - Add
OutputIntent
s - Add metadata streams. Check out
xmp-writer
to obtain the metadata payload
0.6
Notable changes:
- Writers for Tagged PDF and Structured Content
- Writers for Name and Number trees
- Support for
TypedArray
andTypedDict
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
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
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
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