Commit 60c1f62
authored
docs(pptx): surface font substitution and say how to avoid it (#452)
* docs(pptx): surface font substitution and say how to avoid it
The backend already warns once per family whenever a deck will reference
a font instead of carrying it, and each message names what to do. The
examples silenced com.demcha.compose outright, so a reader running a deck
example saw none of it — the warnings fired into a muted logger. Raising
that logger to WARN costs 14 lines across all 87 generated documents,
because every warning is already deduplicated per family or per kind.
The module page said substitution was logged but not what it costs or how
to avoid it. It now states the three cases a font can land in — a
standard-14 name travelling as a metric-compatible viewer font with
identical widths and different letterforms, an embeddable binary family
travelling as itself, and a name-only family that depends on the viewer
having it installed — so a reader who needs glyph identity knows to use a
bundled family or register their own.
* docs(changelog): state the dedup rule instead of a line count
The entry pinned two numbers and both were wrong: the suite writes 93
documents, not 87, and emits 18 warning lines, not 14 — the earlier tally
matched on the render./docx. prefixes and missed the glyph.missing lines
and one node-drop warning.
Correcting them would only reset the clock, since adding one example
moves both. The entry now describes the property that keeps the output
short, and states the two dedup scopes accurately: a font substitution is
deduplicated per family per render, a capability note per kind for the
process.1 parent 83ca902 commit 60c1f62
3 files changed
Lines changed: 49 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
185 | 196 | | |
186 | 197 | | |
187 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
96 | 130 | | |
97 | 131 | | |
98 | 132 | | |
| |||
0 commit comments