Glyphs for NO/DK/CZ/SK: Latin Extended-A and North Sámi are covered — lock it with a test (R7) #214
Labels
No labels
blocked
claude-wip
map-report
map:is
map:se
needs-review
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
art/ismap#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
R7 for the four countries being added in #210 (Norway), #211 (Denmark), #212 (Czechia) and
#213 (Slovakia): verify the Go font stack renders their scripts before onboarding.
Status: already de-risked — the deliverable is the test, not a fix
Checked directly against the embedded font: the
goregularTTF was extracted fromgolang.org/x/image@v0.44.0/font/gofont/goregular/data.goand its cmap read with fontTools.ě U+011B, ř U+0159, ů U+016F, ď U+010F, ť U+0165, ň U+0148
ŕ U+0155
since Kartverket's SSR carries Sámi and Kven names and
N50Stedsnavnhas aspråkattribute that takes
nordsamiskandkvenskDeatnu, Ærøskøbing, Køge, Plzeň, Děčín, Žďár nad Sázavou, Ústí nad Labem, Košice, Žilina,
Ľubochňa, Dolný Kubín, Štrbské Pleso.
So R7 is a green light for all four. What is missing is the test that keeps it green —
a font replacement that dropped Latin Extended-A would silently box every Czech, Slovak and
Sámi name on the map, and nothing would fail.
Deliverables
mapsrv/glyph_check_test.gowith a Latin-Extended-A invariant assertion mirroringTestGreekGlyphInvariants: use the realNewGenerator(), generate the range containingU+0100–017F, and assert the specific codepoints listed above produce real glyphs with
valid SDF gradients. One test covering all four countries (plus Poland retroactively),
not four tests.
--virtual-time-budget) of a sample ofNorwegian, Sámi, Danish, Czech and Slovak names through the live font stack, with a
negative control, confirming no missing-glyph boxes on the actual map.
docs/country-requirements.mdR7's example and in each ofdocs/country-no.md,-dk.md,-cz.md,-sk.mdonce they exist.Data-independent — can land before or in parallel with the four pilots.