Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

ci: the focused editor run installs a CJK font for the manual's Chinese pictures

yhh9cbce1775277
diff --git a/.github/workflows/editor-acceptance.yml b/.github/workflows/editor-acceptance.yml
index b0de8abf6..49520a72a 100644
--- a/.github/workflows/editor-acceptance.yml
+++ b/.github/workflows/editor-acceptance.yml
@@ -49,6 +49,14 @@ jobs:
mkdir -p desktop/public/wasm output/editor-acceptance
cp build/wasm/web/* desktop/public/wasm/
pnpm --filter @estella/editor exec vite build
+ # The runner has no CJK font, so a Chinese editor draws its labels as empty boxes. The manual's
+ # Chinese pictures are taken here, so the font goes in first.
+ - name: Fonts for the Chinese pictures
+ if: contains(inputs.checks, 'docs-shots')
+ run: |
+ sudo apt-get update -qq
+ sudo apt-get install -y -qq fonts-noto-cjk
+ fc-cache -f
- name: Run selected acceptance checks
working-directory: desktop
shell: bash
diff --git a/desktop b/desktop
index 37b287b9d..a268fd972 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit 37b287b9d0aee43505f9720df88013cc30f46df6
+Subproject commit a268fd9726d6f83e27b88c13a8957d8835aa9562