Commit Graph
5 Commits
Author SHA1 Message Date
aiongg deeb91802f Lints: doc links, test lint allowances, struct update in tests, wildcard imports, dead code 2026-11-14 02:35:35 +00:00
aiongg a17171af48 Lints: drop the workspace missing_docs lint and warn on it in the framework crates that document every public item 2026-11-14 00:15:29 +00:00
aiongg 55b9e58ad0 craft-font-subset: take the rename prefix and notice from the caller
Naming carries prefix (the word before the number in new family and
PostScript names) and changed_by (the Apache notice), so the crate names no
service. harfbuzz-subset-sys records that MIT-Modern-Variant is allowed for its
vendored HarfBuzz only.
2026-11-12 14:32:45 +00:00
aiongg 5bfb923ccd craft-font-subset: add the fsType embed-permission check
embed_permission reads the OS/2 fsType usage permission (installable, editable,
preview and print, restricted) and the no-subsetting and bitmap-only bits, with
the precedence cadcraft's PDF export uses; allows_subset says whether an
exported file may carry a subset.
2026-11-12 14:32:45 +00:00
aiongg 4717f13ae7 Add craft-font-subset and harfbuzz-subset-sys from font-preview-service
Moves font-preview-service's HarfBuzz subsetter into the framework as the one
font subsetter: harfbuzz-subset-sys builds the vendored HarfBuzz 15.0.0
subsetter and holds the safe wrappers, so unsafe stays in that crate (added to
design-lint's contract/unsafe-allow). craft-font-subset keeps the service's
API (subset, subset_renamed, encode_woff2, closure, codepoints) and tests, and
adds cut_face for build-time interface cuts. The facade gets the native-only
font-subset feature.
2026-11-12 14:32:45 +00:00