Skip to content

Commit a0703ac

Browse files
brzuchalclaude
andcommitted
Merge origin/main into i18n-pl
Main named every input for assistive technology (labelled_by, Role, a name argument on spinner, small_button_named) and moved the new-slide and section menus into functions. Main's code is kept and the visible labels and accessible names go through tr() again, including where they moved. The interface-language list in Preferences is labelled by its field, as main's naming test requires. New catalog entries in Ukrainian and Polish: Duration, Delay (the spinners' names) and Delete Surrounding Text. start_screen_opens_the_palette_and_preferences fails the same way on main (no ⌥ glyph in the test fonts). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 parents 6963b4d + 14f40c4 commit a0703ac

66 files changed

Lines changed: 11572 additions & 2586 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,45 @@ concurrency:
1717
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1818

1919
jobs:
20+
# Keep the early manifest preflight separate from the reusable workflow. The shared gate
21+
# also runs with require-craft-fonts: true, so the build script enforces actual required faces.
22+
# Keep this pin identical to gate, freebsd.yml and release.yml.
23+
font-pin:
24+
runs-on: ubuntu-latest
25+
env:
26+
# Same craft-fonts commit as release.yml.
27+
CRAFT_FONTS_REF: 37827adc41fd165f9a9234ac40f94dbad353aa69
28+
steps:
29+
- name: Check out craft-fonts
30+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
31+
with:
32+
repository: storytold/craft-fonts
33+
ref: ${{ env.CRAFT_FONTS_REF }}
34+
path: craft-fonts
35+
- name: Font pin gate
36+
env:
37+
# The only pin allowed to predate the reviewed Chinese manifest. It is a sentinel, not
38+
# a proposed future SHA; update it together with all three workflow pins.
39+
PENDING_CRAFT_FONTS_PIN: 43913056ce82a3fdad0ef69f6b88d1dc922a8104
40+
run: |
41+
manifest="$GITHUB_WORKSPACE/craft-fonts/fonts/simplified-chinese-manifest.txt"
42+
if [ -f "$manifest" ]; then
43+
echo "craft-fonts pin carries the reviewed simplified-Chinese manifest."
44+
elif [ "$CRAFT_FONTS_REF" = "$PENDING_CRAFT_FONTS_PIN" ]; then
45+
echo "::warning title=craft-fonts pin pending::The pinned craft-fonts commit has no fonts/simplified-chinese-manifest.txt, so CJK checks may skip. Advance ci.yml, freebsd.yml and release.yml together to the reviewed immutable SHA before claiming shipped Chinese fonts."
46+
else
47+
echo "::error title=craft-fonts pin missing Chinese manifest::CRAFT_FONTS_REF advanced past the known pending pin ($PENDING_CRAFT_FONTS_PIN) but still has no fonts/simplified-chinese-manifest.txt. Update the pin to the reviewed commit that carries it."
48+
exit 1
49+
fi
50+
2051
gate:
52+
needs: font-pin
2153
# Tracks @main so suite-wide CI fixes reach every app without a PR in each repository.
2254
uses: storytold/craft-common-actions/.github/workflows/gate.yml@main
2355
with:
2456
# Same craft-fonts commit as release.yml.
25-
craft-fonts-ref: 43913056ce82a3fdad0ef69f6b88d1dc922a8104
57+
craft-fonts-ref: 37827adc41fd165f9a9234ac40f94dbad353aa69
58+
require-craft-fonts: true
2659
packages: >-
2760
libasound2-dev libxkbcommon-dev libwayland-dev libx11-dev libxrandr-dev libxi-dev
2861
libgl1-mesa-dev

‎.github/workflows/freebsd.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ jobs:
2727
# Intentionally tracked at @main (not SHA-pinned) so org-wide CI improvements, security fixes, and build optimizations propagate without PR churn across all craftapp repos.
2828
uses: storytold/craft-common-actions/.github/workflows/freebsd.yml@main
2929
with:
30-
craft-fonts-ref: 43913056ce82a3fdad0ef69f6b88d1dc922a8104
30+
# Keep identical to ci.yml and release.yml. The shared FreeBSD workflow passes
31+
# CRAFT_FONTS_DIR to its tests but has no CRAFT_FONTS_REQUIRED input yet, so it does not
32+
# qualify the required Chinese input after the pin advances; that gate stays explicitly
33+
# pending in docs/egui-037-migration-plan.md section 5.1.
34+
craft-fonts-ref: 37827adc41fd165f9a9234ac40f94dbad353aa69

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
with:
2525
app-name: deckcraft
2626
app-title: DeckCraft
27-
craft-fonts-ref: 43913056ce82a3fdad0ef69f6b88d1dc922a8104
27+
# Keep identical to ci.yml and freebsd.yml. The shared release workflow sets
28+
# CRAFT_FONTS_REQUIRED=1 in its packaging steps, so a pin without the reviewed Chinese
29+
# manifest fails the release instead of silently skipping it.
30+
craft-fonts-ref: 37827adc41fd165f9a9234ac40f94dbad353aa69
2831
version: ${{ inputs.version }}
2932
secrets:
3033
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}

‎ATTRIBUTION.md‎

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ artwork. The ribbon and menu icons stay original drawings.
4343

4444
| Asset | Author | Source | Licence | Used for |
4545
|---|---|---|---|---|
46-
| Ubuntu Light (`Ubuntu-Light.ttf`, via the `epaint_default_fonts` crate 0.36) | Dalton Maag Ltd for Canonical | https://crates.io/crates/epaint_default_fonts | Ubuntu Font Licence 1.0 | Last-resort text face when no other font is available; UI fallback |
47-
| Hack Regular, Noto Emoji, emoji-icon-font (via `epaint_default_fonts` / egui) | Source Foundry; Google; Jakub Steiner et al. | https://crates.io/crates/epaint_default_fonts | MIT / Bitstream-Vera, OFL-1.1, MIT | egui UI fallback glyphs |
46+
| Ubuntu Light (`Ubuntu-Light.ttf`, via the `epaint_default_fonts` crate 0.37) | Dalton Maag Ltd for Canonical | https://crates.io/crates/epaint_default_fonts | Ubuntu Font Licence 1.0 | Last-resort text face when no other font is available; UI fallback |
47+
| Hack Regular, Noto Emoji (via `epaint_default_fonts` / egui) | Source Foundry; Google | https://crates.io/crates/epaint_default_fonts | MIT / Bitstream-Vera, OFL-1.1 | egui UI fallback glyphs |
48+
| `epaint_default_fonts::EGUI_ICONS`, `epaint_default_fonts::EMOJI_ICON` (dependency font inputs) | John Slegers | [egui 6d518fc7](https://github.com/storytold/egui/tree/6d518fc799681571963842f95b55a6b68431b15a/crates/epaint_default_fonts/fonts), [emoji-icon-font](https://github.com/jslegers/emoji-icon-font) | MIT (Copyright (c) 2014 John Slegers; full upstream text in `NOTICE`) | egui-icons.ttf is the five-glyph subset, included by default_fonts independently of monochrome_emoji_fonts; emoji-icon-font.ttf is the full monochrome fallback. Dependency assets unmodified here; no font file copied into this repository. |
4849

4950
## Embedded at build time from craft-fonts (`CRAFT_FONTS_DIR`)
5051

@@ -60,9 +61,14 @@ families excluded by `crates/fonts/build.rs`:
6061
| Carlito, Caladea | OFL-1.1 | Metric-compatible stand-ins for documents that ask for Calibri / Cambria |
6162
| Liberation Sans, Serif, Mono | OFL-1.1 | Metric-compatible stand-ins for Arial, Times New Roman, Courier New |
6263
| Montserrat, Lato, Open Sans, Roboto, Merriweather, Playfair Display, Poppins, Nunito Sans | OFL-1.1 | Theme fonts |
63-
| BIZ UDPGothic, BIZ UDMincho, Shippori Mincho, Noto Sans Arabic | OFL-1.1 | Japanese and Arabic text |
64+
| BIZ UDPGothic, BIZ UDMincho, Shippori Mincho | OFL-1.1 | Japanese text |
65+
| Noto Sans Arabic, Noto Sans Hebrew | OFL-1.1 | Arabic and Hebrew text |
66+
| Noto Sans Thai, Noto Sans Georgian | OFL-1.1 | Thai and Georgian text |
67+
| NanumGothic | OFL-1.1 | Korean text and interface fallback |
68+
| Noto Sans Symbols, Noto Sans Symbols 2 | OFL-1.1 | Interface symbol fallback |
6469

65-
Web (wasm32) builds embed only Inter Regular/Bold and BIZ UDPGothic Regular.
70+
Web (wasm32) builds embed only Inter Regular/Bold (and a Variable face where the Latin manifest
71+
provides one) and BIZ UDPGothic Regular.
6672

6773
## PDF writer colour profiles
6874

@@ -77,3 +83,13 @@ is copied into this repository. The licence text is in `licenses/pdf-writer/LICE
7783
| `krilla 0.8.2 / icc/sGrey-v4.icc` | Clinton Ingram (Compact ICC Profiles) | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sGrey-v4.icc | CC0-1.0 | `00c0f94e09127520a17dc0e1d9264b5702081d96dbdb1549ee88e3631ce42a9d` | PDF export colour profiles |
7884
| `krilla 0.8.2 / icc/sRGB-v2-magic.icc` | Clinton Ingram (Compact ICC Profiles) | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sRGB-v2-magic.icc | CC0-1.0 | `af4efe28f6d311799865f325ba39184a2e978b113ca74124d60af7de22b105f4` | PDF export colour profiles |
7985
| `krilla 0.8.2 / icc/sRGB-v4.icc` | Clinton Ingram (Compact ICC Profiles) | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sRGB-v4.icc | CC0-1.0 | `c56e1685d888f5edb92fe07f2750f387f8fe8e91b32ff8fb0b56bfbbb9458353` | PDF export colour profiles |
86+
87+
### Optional native Chinese fallback
88+
89+
Native builds also read craft-fonts' `fonts/simplified-chinese-manifest.txt` when present.
90+
This opt-in does not enter the wasm font allowlist. Font bytes and the full licence remain
91+
in craft-fonts, including the LXGW Reserved Font Names and original Klee notice.
92+
93+
| Family | Author | Source | Licence | Use |
94+
|---|---|---|---|---|
95+
| LXGW WenKai Lite Regular 1.530 | LXGW; original Klee Project Authors / Fontworks | https://github.com/lxgw/LxgwWenKai-Lite/tree/b712c83d98acf977bacfb7fb010207802808bda9 | OFL-1.1, unmodified upstream font | Native Chinese glyph fallback after existing UI faces; font SHA256 `f799a538a3355877e597a0ae04050e897932c9ae7689eb9227c2953c5dd549ea`, OFL SHA256 `0333a85fe077b6849f8e417acc44e8bd879442ceb681e271acf93e2d57fd4e2e` |

0 commit comments

Comments
 (0)