mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-19 02:10:15 -05:00
* #2240: fonts Word embeds as subsets lay out the text set in them Embedded fonts were registered under the family inside the font file. Word embeds a subset ("embed only the characters used") under a made-up family (___WRD_EMBED_SUB_46) and the text asks for it by the font table's name (OBRBWW+Century Schoolbook), so it still fell back to a substitute. Each embedded file now comes with its font table name, and its faces go by that name when they don't already. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * #2240: the black-circle fallback test passes its font's table name main's new `circle_checks_face_coverage` test (#2582) called `add_document_fonts` with bare font bytes; with this branch each embedded font comes with the name the document's font table gives it, so the test passes "Times New Roman" alongside the face it renames to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>