THE GITHTML FIELD GUIDE
Check every language subset before relying on an embedded font
A font declaration can divide character coverage across several resources, so embedding one font file may leave other scripts or symbols dependent on the network. Inspect unicode-range rules and test the actual document's characters. A readable system-font fallback is often preferable to preserving a partial custom-font setup with unexplained missing glyphs.
Identify the hidden dependency
A Latin paragraph may render correctly offline while Greek symbols or another language falls back unexpectedly. The first font request is therefore not a complete inventory of the document's typography dependencies.
Build a specimen from actual document content rather than a generic alphabet. Include names with accents, curly punctuation, currency symbols, arrows, mathematical operators, and every writing system in the report. Add bold and italic examples if those faces use separate resources. A font can cover the required letters in its regular face while another requested weight comes from a different file or fallback. Keep the specimen small enough to inspect visually but representative enough to expose the characters that carry meaning in tables, code explanations, and figure labels.
Prepare the intended reading copy
Review every font-face declaration and its character range. Include only resources you are authorized to distribute, and keep a fallback stack even when embedding. Avoid claiming a font contains a glyph merely because its CSS range includes that code point.
When preserving a custom font, map each font-face rule to its resource, weight, style, and declared character range. Check the actual licensed asset and distribution permission through the project's approved process rather than assuming a web font URL permits repackaging. If the mapping becomes complex, use a dependable system-font stack and inspect the resulting layout. A fallback can change line lengths and table heights, so compare captions and headings for clipping after the switch. Do not convert all text to images merely to preserve a brand face; that trades one dependency problem for readability and accessibility problems.
- Inspect all unicode-range declarations rather than only the first font URL.
- Verify actual glyph coverage with representative text from the document.
- Retain readable fallbacks and remove unnecessary remote font dependencies.
Font check: Latin text, accented names, punctuation, symbols, and each included writing system.Verify the offline result
Test names, punctuation, mathematical symbols, and every language present in the final copy.
Ask a reviewer familiar with the included languages to inspect missing glyph boxes, incorrect substitutions, and meaningful punctuation. A page can remain readable in English while corrupting a person's name or a mathematical condition. Record any intentional typography change in the export notes and keep the content itself unchanged. The acceptance criterion is accurate readable text across the actual character set, not pixel-perfect reproduction of an online font.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.