Added
- Support for instancing variable fonts and reading variable font
related tables such asfvar
,gvar
,avar
. - Support for CFF2: Reading, instancing, subsetting to CFF, and extracting
outlines. - Refactor Glyph types to be more compact and track phantom points.
- Ability to generate a HTML font specimen. Gated behind off-by-default
specimen
feature.
Changed
- Use default feature mask when shaping Thai and Lao text.
pathfinder_geometry
is no longer optional as it's used for variable fonts.- Apply
rvrn
early in shaping. - Use bitflags for
macStyle
andfsSelection
. - Introduce
RawGlyphFlags
for tracking glyph flags. - Add
ParseError::UnsuitableCmap
and changeFont::new
to return
Result<Font, _>
instead ofResult<Option<Font>, _>
.
Fixed
- Fix registry and ordering when converting CFF Type 1 to CID.
- Recognise Apple's
true
magic for TrueType fonts.
Full Changelog: v0.14.2...v0.15.0