mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-02 16:54:34 +00:00
font.list now gives, for the face that sets the text, its raw OS/2 fsType and what the bits mean: restrictedLicence, bitmapOnly, noSubsetting, editable and previewPrint (null when the face is missing). A host that makes print PDFs can then refuse a face whose licence doesn't allow the export, including system fonts and the bundled fonts, without reading the font files itself. PDF export subsets every font, so a caller needs noSubsetting as well as the restricted and bitmap-only bits. FontFace gains fs_type(); restricted_licence() and bitmap_only() read it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ApvpyStzzHbKyDBNxpzn2Y