All notable changes to crossfont are documented in this file.
The sections should follow the order Added
, Changed
, Fixed
, and Removed
.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Font size of scalable colored glyphs
- macOS underline metrics being relative to descent and not baseline
- On macOS, use the
AppleFontSmoothing
user default to decide whether fonts should be "smoothed"
- Renamed
darwin::Rasterizer
todarwin::CoreTextRasterizer
- On macOS,
use_thin_strokes
andset_font_smoothing
did not work since Big Sur
use_thin_strokes
parameter fromRasterize::new
trait methodset_font_smoothing
from thedarwin
moduleget_family_names
from thedarwin
module
- Crash on macOS when loading disabled font
- Fix 32-bit build with FreeType/Fontconfig backend
- FreeType proportional font metrics using
RasterizedGlyph::advance
andRasterize::kerning
- Minimum Rust version has been bumped to 1.56.0
- Minimum Rust version has been bumped to 1.46.0
- Core Text backend uses a current font as the original fallback font instead of Menlo
- Core Text backend ignoring style for font fallback
- Fontconfig not checking for fonts installed after
Rasterizer
creation - Crash with non-utf8 font paths on Linux
- Bitmap rendering with FreeType 2.11.0
- FreeType font height metric will now use
(ascent - descent)
if it is bigger than height - Several types have been renamed to comply with the
upper_case_acronyms
clippy lint
- The rasterizer's
Error
type is now shared across platforms - Missing glyphs are now returned as the content of the
MissingGlyph
error RasterizedGlyph
'sc
andbuf
fields are now namedcharacter
andbuffer
respectivelyGlyphKey
'sc
field is now namedcharacter
- Minimum Rust version has been bumped to 1.43.0
- Compilation with FreeType version below 2.8.0 on Linux/BSD