summaryrefslogtreecommitdiff
path: root/src/export/subset.rs
AgeCommit message (Collapse)Author
2022-06-10Bump dependenciesLaurenz
2022-05-09Fix wrong table padding in subsettingLaurenz
2022-04-05Fix wrong `search_range` computationLaurenz
2022-02-07Tidy upLaurenz
2021-12-30Make clippy a bit happierLaurenz
2021-11-15Make clippy happier and remove `Str`Laurenz
2021-08-29Subset CFF subrs referenced by FD arrayLaurenz
2021-08-28Primitive CFF1 subsettingLaurenz
The subsetting strategy is somewhat crazy for now: Simply zero the glyph data for all unused glyphs. While the CFF table itself doesn't shrink, the actual embedded font is compressed and greatly benefits from the repeated zeros. This already compresses the fonts a lot (~90% for NotoSerifCJK), but they are still quite large. Therefore, the plan of action: - First, find more data that can be zeroed out. - Then _maybe_ see whether we can instead properly rebuild the subsetted font.
2021-08-27Refactor subsetterLaurenz
- Gracefully handle failed subsetting of one table - Remove need for creating a ttf-parser face
2021-08-27Subset post tableLaurenz
2021-08-25Subset glyf and loca tablesLaurenz
2021-08-24Basic subsetting architectureLaurenz
Constructs a brand new font file where only necessary tables are contained.