Releases: typst/subsetter
Releases Β· typst/subsetter
Version 0.2.6
- For variable fonts where the selected coordinates end up at the default instance, the subsetter now avoids instancing, instead reusing the existing outlines
Version 0.2.5
- Fixed generated left-side bearing value for variable fonts. This bug could lead to wonky-looking kerning for variable fonts.
Version 0.2.4
- Fixed a potential crash for invalid CFF fonts
- Fixed potential crash for invalid
hheatables - Fixed a bug where CFF subroutines were not properly terminated
- Fixed that
storageOffsetinnametable was not respected - Fixed potentially invalid maxp data being emitted for variable TTF fonts
- Fixed potentially invalid hinting data being emitted for variable TTF fonts
- Fixed some potential overflows
- Bumped
skrifato0.42,kurboto0.13, andwrite-fontsto0.48 - Raised MSRV to Rust 1.85
Version 0.2.3
- Added support for subsetting variable fonts by instancing them
- This is feature-flagged behind the
variable-fontsfeature, which is now enabled by default - A new API
subset_with_variationswas added to specify the variation coordinates
- This is feature-flagged behind the
- Subsetting now preserves more name table records (7, 8, 9, 11, 12, 13, 14 from the spec)
- Bumped the
kurbodependency to version 0.12 - Added MSRV of Rust 1.82
Version 0.2.2
This release has no publicly-facing changes. Internally, the fxhash dependency was replaced by rustc-hash as fxhash is unmaintained.
Version 0.2.1
- Performance improvements
- Marked
GlyphRemapper::{remap, get}as inlinable - Improved performance of
GlyphRemapperby internally switching fromBTreeMaptoFxHashMap
- Marked
Version 0.2.0
This release contains a full rewrite of the CFF subsetting and various improvements for TrueType subsetting, yielding highly reduced output sizes. This goes along with a new public API as the crate now requires its users to remap glyph IDs (this is required for minimizing file sizes). Thanks to @LaurenzV for their work on all of this!
0.1.1
Fixes two bugs with CFF subsetting.
0.1
This is the initial release of subsetter, a library for OpenType font subsetting.