7.2 KiB
7.2 KiB
Change Log
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
0.16.2 - 2024-02-19
Fixed
- System fonts loading on Windows when the system drive is not
C:\\. @tronical
0.16.1 - 2024-02-09
Fixed
- Treat fonts with non-zero italic angle as italic.
0.16.0 - 2023-10-31
Changed
ttf-parserandmemmap2dependencies update.
0.15.0 - 2023-10-01
Changed
- Enable the
fontconfigfeature by default. Linux-only. - MSRV bumped to 1.60 due to
log.
Fixed
- Fix fontconfig alias matching order. @declantsien
0.14.1 - 2023-05-10
Fixed
- Return valid IDs from
Database::load_font_source(). @notgull
0.14.0 - 2023-05-09
Changed
Database::load_font_source()returns a list of loaded face IDs now. @notgullttf-parserandmemmap2dependencies update.
0.13.1 - 2023-04-23
Added
- Load system fonts on RedoxOS. @FloVanGH
Fixed
- Improve missing
XDG_CONFIG_HOMEenvironment variable handling. Linux only. @7sDream - Improve downloadable fonts detection on macOS. @messense
0.13.0 - 2023-02-21
Added
Database::default(). @7sDream
Changed
- Database uses
slotmap::SlotMapinstead ofVecas an internal storage now. This allows us to have O(1) indexing byIDby sacrificing faces iteration speed a bit. @7sDream Database::remove_faceno longer returnsbool.Database::facesreturns an Iterator and not a slice now.- MSRV bumped to 1.49
0.12.0 - 2023-02-05
Fixed
- Face weight matching.
0.11.2 - 2023-01-10
Added
- Implement
Displaytrait forID. @7sDream
0.11.1 - 2022-12-26
Fixed
- Always prefer Typographic Family to Family Name when available. @CryZe
- Prevent duplicated family names.
0.11.0 - 2022-12-25
Added
- Support localized family names.
- Improve fontconfig support. @declantsien
Changed
FaceInfo::familywas replaced withFaceInfo::familiesand contains a list of family names now.
Fixed
- Improve family name detection in variable fonts.
0.10.0 - 2022-11-08
Added
no_stdsupport. @jackpot51
0.9.3 - 2022-10-26
Added
Database::family_nameis public now.
0.9.2 - 2022-10-22
Added
Database::push_face_infoID::dummy
Fixed
- Expand home path
~prefix during fontconfig paths resolving. @snoyer
0.9.1 - 2022-02-21
Changed
- Reduce binary size by 10% using less generic code.
- Simplify Database::query implementation.
0.9.0 - 2022-02-20
Added
- Way faster fonts scanning by using a more low-level
ttf-parserAPI which allows us to parse only required TrueType tables. On my hardware,load_system_fonts()loaded 898 fonts in 9ms instead of 11ms in the release mode and in 35ms instead of 52ms in debug. Currently, we're parsing onlyname,OS/2andposttables.
0.8.0 - 2022-02-12
Added
- Load user fonts on Windows.
fontconfigfeature to allow retrieving font dirs from the fontconfig config file instead of using hardcoded paths. Linux-only. @Riey
0.7.0 - 2021-10-04
Changed
- The
Sourceenum has a new variantSharedFile, used for unsafe persistent memory mappings. FaceInfostoresSourcedirectly now, not anymore in anArc. InsteadSource::Binarynow stores anArcof the data.
0.6.2 - 2021-09-04
Fixed
- Fix compilation without the
fsfeature.
0.6.1 - 2021-09-04
Changed
- Split the
fsbuild feature intofsandmemmap. @neinseg
0.6.0 - 2021-08-21
Added
- Search in
$HOME/.fontson Linux. @Linus789
Changed
- Generic font families are preset by default instead of being set to
None.
0.5.4 - 2021-05-25
Added
- Implement
Eq,HashforQuery,Family,WeightandStyle. @dhardy
Changed
- Update
ttf-parser
0.5.3 - 2021-05-19
Changed
- Update
ttf-parser
0.5.2 - 2021-05-19
Changed
- Update
memmap2 - Add additional search dir for macOS.
0.5.1 - 2020-12-20
Fixed
- Compilation on Windows.
0.5.0 - 2020-12-20
Added
FaceInfo::post_script_nameFaceInfo::monospacedDatabase::load_system_fonts
0.4.0 - 2020-12-06
Changed
- Use a simple
u32for ID instead of UUID.
0.3.0 - 2020-12-05
Changed
ttf-parserupdated.
0.2.0 - 2020-07-21
Changed
ttf-parserupdated.
Fixed
- Stretch processing.
ttf-parserwas incorrectly parsing this property.