Skip to content

feat: install Chinese font (fonts-wqy-zenhei) in Docker image#63

Merged
quick-sort merged 1 commit into
mainfrom
feat/docker-chinese-font
Jun 18, 2026
Merged

feat: install Chinese font (fonts-wqy-zenhei) in Docker image#63
quick-sort merged 1 commit into
mainfrom
feat/docker-chinese-font

Conversation

@hilr

@hilr hilr commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes Feature: Docker 镜像安装中文字体 #62. The Docker image only had fonts-liberation (Latin), so agent-generated charts/PDFs with Chinese rendered as tofu.
  • Adds fonts-wqy-zenhei (~10MB) to the apt-get install list. Chosen over fonts-noto-cjk to keep image size small.

Test Plan

  • Dockerfile syntax unchanged except the one package addition
  • Rebuild image and confirm fc-list | grep -i wqy shows the font (manual; no Docker build in CI)

Closes #62

Add fonts-wqy-zenhei so generated charts/PDFs render Chinese instead of
tofu. Chosen over fonts-noto-cjk to keep image size small (~10MB).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@quick-sort quick-sort merged commit b7b0a78 into main Jun 18, 2026
1 check passed
@quick-sort quick-sort deleted the feat/docker-chinese-font branch June 18, 2026 05:39
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.

Feature: Docker 镜像安装中文字体

2 participants