Skip to content

feat(noto-fonts): mirror the Noto faces packages bundle - #20

Merged
jing2uo merged 2 commits into
mainfrom
noto-fonts
Nov 17, 2026
Merged

jing2uo merged 2 commits into
mainfrom
noto-fonts

Conversation

@jing2uo

@jing2uo jing2uo commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Adds a noto-fonts stack: NotoSansCJK-Regular.ttc (Noto Sans CJK 2.004) and NotoSans-Regular.ttf (monthly release 2026.05.01), byte-identical to upstream, flat in share/fonts, with their OFL license texts.

Why: eight FlatPark packages pin Noto Sans CJK as extra-data from cdn.jsdelivr.net/gh/notofonts/[email protected]/..., which now returns 404, so they can't be installed or updated (flatpark/flatpark#1316). With this stack those packages pin a release asset in this repo instead of a third-party CDN.

  • Sources are tag-pinned from raw.githubusercontent.com by sha256, the same bytes the consumers pinned before.
  • Consumed as extra-data, unpacked to /app/extra/noto-fonts. There's no machine code in it, so any runtime can pin it.
  • Built locally with org.flatpak.Builder: output contains only share/fonts, share/licenses and manifest.json, and the font hashes match upstream.
  • The xz archive is about 11 MB, down from the 19.5 MB raw download.

Consumers move over in flatpark/flatpark (linked once the release is cut).

Co-authored-by: Claude Opus 5.5 [email protected]

jing2uo and others added 2 commits November 17, 2026 10:23
Packages whose toolkit builds its own font database (GPUI / cosmic-text,
Slint) ship Noto Sans CJK as extra-data, each pinned straight from
jsDelivr's GitHub proxy. jsDelivr now answers 404 for that 19.5 MB file,
so every install and update of those apps fails (flatpark/flatpark#1316).

Ship NotoSansCJK-Regular.ttc (Sans2.004) and NotoSans-Regular.ttf
(monthly release 2026.05.01), byte-identical to upstream and fetched
tag-pinned from GitHub, flat in share/fonts with their OFL texts, as one
extra-data stack consumers pin like any other.

Co-authored-by: Claude Opus 5.5 <[email protected]>
A stack with no machine code does not depend on the SDK or the arch, so
per-arch, per-base archives only make consumers pin two names for the same
bytes and re-pin on every runtime bump. `# release-arches: noarch` builds
once and names the archive <stack>-<tag>-noarch.tar.xz.

Co-authored-by: Claude Opus 5.5 <[email protected]>
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