Skip to content

fix(fonts): take bundled Noto faces from the noto-fonts prebuilt stack - #1317

Merged
jing2uo merged 1 commit into
mainfrom
fix/noto-fonts-prebuilt
Nov 17, 2026
Merged

jing2uo merged 1 commit into
mainfrom
fix/noto-fonts-prebuilt

Conversation

@jing2uo

@jing2uo jing2uo commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1316.

What: jsDelivr now returns 404 for [email protected]/Sans/OTC/NotoSansCJK-Regular.ttc, so eight packages that pinned it from there can't be installed or updated. They now pin the noto-fonts prebuilt stack instead (flatpark/prebuilt#20, release noto-fonts-v1).

Affected: com.fluxdown.app, app.concat.editor, com.bigtree.zedis, com.kang.nyaterm.preview, dev.navop.Navop, com.longbridge.Longbridge, dev.dbflux.DBFlux, io.github.yituorou.meatshell.

Packaging:

  • One extra-data pin, noto-fonts-noto-fonts-v1-noarch.tar.xz (11.2 MB). It's arch- and runtime-independent, so there's no only-arches. It contains NotoSansCJK-Regular.ttc and NotoSans-Regular.ttf, byte-identical to the old pins (same sha256), plus their OFL texts.
  • apply_extra.sh unpacks it to /app/extra/noto-fonts. fonts.conf, SLINT_FONT_PATH (Concat) and SLINT_DEFAULT_FONT (MeatShell) now point at /app/extra/noto-fonts/share/fonts instead of /app/extra/fonts.
  • Docs: prebuilt.md lists the stack and notes noarch stacks. rendering-and-fonts.md tells new packages to pin the stack, not a font CDN.

Tested:

  • check-apply-extra.sh passed on all eight apps (root, no capabilities, offline).
  • publish.sh --verify passed for one app per toolkit: FluxDown (GPUI) and MeatShell (Slint 1.16, SLINT_DEFAULT_FONT). Both start and draw their Chinese UI on :99 with no tofu.
  • Inside the FluxDown sandbox, fc-list with the package's fonts.conf lists every Noto Sans CJK SC/TC/HK/JP/KR family from /app/extra/noto-fonts/share/fonts.
  • Not shown: rendering from the bundled face on its own. The test host has Noto CJK installed, and /proc/<pid>/maps shows the host copy winning, as the fallback order intends. Longbridge, the one app with no host fonts at all, was not launched; its change is the same path swap.

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

Eight packages pinned Noto Sans CJK (and Longbridge also Noto Sans) as
extra-data from jsDelivr's GitHub proxy. jsDelivr now answers 404 for the
19.5 MB CJK file, so none of them can be installed or updated (#1316).

They now pin one noarch archive from flatpark/prebuilt's noto-fonts stack:
the same bytes as before, xz-compressed to 11 MB, on a URL FlatPark
controls. apply_extra unpacks it to /app/extra/noto-fonts, and fonts.conf,
SLINT_FONT_PATH and SLINT_DEFAULT_FONT name its share/fonts. The font docs
now point new packages at the stack instead of a CDN.

Fixes #1316

Co-authored-by: Claude Opus 5.5 <[email protected]>
@jing2uo
jing2uo merged commit edf50fb into main Nov 17, 2026
@jing2uo
jing2uo deleted the fix/noto-fonts-prebuilt branch November 17, 2026 02:43
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.

[Bug] <app-id>: com.fluxdown.app font dependency gives 404

1 participant