Repository navigation
Fonts: finish Thai fallback delivery for desktop and web releases - #1311
Merged
Merged
Conversation
Retain the complete reviewed change, including prior integration resolutions, on current upstream. #736: deliver Thai UI fonts in desktop and web releases Use the merged craft-fonts input containing Noto Sans Thai across release, FreeBSD and Nix builds. Retain the small Thai face in the wasm subset and reject required release inputs that lack it. Exercise the reported Thai folder name through all UI families and include original font licence texts in Windows installers as well as portable packages. Refs #736; completes delivery of the fallback added in #750. Validation: UI tests, UI-only strict Clippy, 28 wasm checks, HEIF checks, assets, layers, parity and formatting pass. All 21 unrelated workspace failures reproduce with upstream Rust sources and the old font input; existing Rust 1.95 metadata/engine Clippy findings remain unchanged.
LabDennis
force-pushed
the
fix/736-thai-release-fonts
branch
from
October 14, 2026 18:03
5e44041 to
1f4aaae
Compare
Member
|
Thank you @LabDennis! This landed on main in integration batch 36 (#1843). If you haven't already, please join our Discord: https://discord.gg/artcraft. We'd love to have you there. |
geazzysena
pushed a commit
to geazzysena/lightcraft
that referenced
this pull request
Oct 15, 2026
…yml pins (3d9ab3a, with Noto Sans Thai) Windows ARM64 on main failed since batch 36: storytold#1479's scripts pinned 8dcdacd, which predates the Thai face storytold#1311 made required. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thai folder names still render as boxes in release builds even after #750: the release/FreeBSD/Nix font pin predates Noto Sans Thai, and the web build discards every face except BIZ UDPGothic Regular.
3d9ab3a132ed0eff457e424226a435a901da30d3, which includes Thai.Studio34 ถ่ายภาพงานแต่งงานthrough proportional, semibold and monospace UI fonts.The upstream merge keeps the new wheel-scroll regression and variable-font semibold support. The Thai test now accepts the dedicated strong variant and still verifies its glyph coverage. One equivalent boolean simplification in the upstream preview-failure indicator also fixes the strict Clippy check; it does not change rendering behavior.
Refs #736. Builds on merged #750 and storytold/craft-fonts#15. This uses merged font assets and does not depend on craft-fonts#23. No roadmap or agent-instruction changes.
Direct build-script checks pass for desktop and web font selection, rejection of the old required input, and optional absent input. Windows licence-bundle checks preserve every original licence text and cover a build without craft-fonts; PowerShell and WiX XML parse successfully. A complete MSI was not built locally. The Nix NAR hash was calculated from the pinned Git tree and the calculation reproduces the old lock's hash; no Nix build was run on Windows.
Validation after syncing upstream
b3d392b4994ee99dc389890f006600769d0c4ff5(Windows, Rust 1.95.0): 810 UI library tests passed, 3 existing ignored, with the desktoplightcraft-engine/denoisefeature enabled; all seven theme/font tests pass. UI-only strict Clippy, formatting, assets, layers, parity references and all 28 WASM crate checks pass. The initial isolated UI run omitted the desktop denoise feature and failed six model-setup tests; all six pass with that feature, without weakening their assertions.The full
cargo xtask ciremains blocked at pre-existingcollapsible_matchdiagnostics in unchangedcrates/meta/src/gpx.rs:118andcrates/meta/src/xmp.rs:256; subsequent full-workspace test stages did not run. The focused checks above were run separately. No claim that the full workspace CI is green. Immediately before pushing, upstream was re-fetched, #736 remained open, and no overlapping font-delivery PR was open.Related cross-app reports
The existing #736 report explicitly describes Thai UI text across several Craft apps. The same interface/filename symptom is also reported in storytold/pdfcraft#440, storytold/pdfcraft#1035 (item 1), storytold/pdfcraft#664 (item 1) and storytold/pdfcraft#218 (interface text).
These are related font-delivery reports, not issues closed by this LightCraft PR. Each app has its own font selection and release input; PDF text editing and corrupted saved filenames in the broader reports are separate problems.
Synced with upstream
a4b53b28cc52b68d9f5bdca09fa5666cdad5ad5f. UI tests: 835 passed, 3 existing ignored, 6 failed. All six failures were independently reproduced on an unchanged upstream checkout:tests_model_setupassumes denoise models are runnable in this build. Those unrelated tests and assertions are unchanged. The Thai glyph tests, native/WASM font-input checks, missing-Thai rejection and complete Windows font-licence bundle checks passed. Formatting, assets and dependency layers were also checked. This is targeted Windows validation, not a green full-CI claim.The branch is now based on upstream
3b4279fc2485. History: 3 → 1 commits. The rewritten file tree was checked against the previous PR plus current upstream, preserving prior integration resolutions.Scoped Windows regression checks: 6 passed, 0 ignored, zero failures. Applicable formatting, locked Cargo metadata and repository tooling checks passed. This is scoped validation, not a new full-workspace or cross-platform CI claim.