Skip to content

fix(tokens): name the map glyph stacks Unitae Map, not IBM Plex - #10

Merged
mindsers merged 1 commit into
mainfrom
fix/map-font-names
Nov 12, 2026
Merged

mindsers merged 1 commit into
mainfrom
fix/map-font-names

Conversation

@mindsers

Copy link
Copy Markdown
Contributor

MAP_FONTS asked for IBM Plex Sans Regular / Medium / Italic. The glyphs the app serves are IBM Plex Sans turned into map SDF glyphs, and the font's licence (OFL 1.1, Reserved Font Name "Plex" — in IBM's package and in the Google Fonts copy alike) keeps that name for unmodified versions. Glyphs are a modified version, so they need another name.

  • MAP_FONTS → Unitae Map Regular, Unitae Map Medium, Unitae Map Italic. Same letterforms.
  • The JSDoc and the README say why, and that the OFL and IBM's copyright ship with the glyphs.
  • The font test now recognises stacks by their style suffix, not by « Sans ».

@unitae/tokens 0.2.0 has not been published yet, so the version stays: tag tokens-v0.2.0 after this merges.

Test plan

  • pnpm test:lint, pnpm test:typecheck, tokens tests (108)

The glyphs are IBM Plex Sans turned into map SDF glyphs. The font's
licence (OFL 1.1, Reserved Font Name "Plex") keeps that name for
unmodified versions, and glyphs are a modified version, so MAP_FONTS now
asks for Unitae Map Regular, Medium and Italic. Same letterforms; the
host ships the OFL and IBM's copyright with the glyphs. 0.2.0 is not
published yet, so the version stays.
@mindsers
mindsers merged commit 9e197ee into main Nov 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant