Skip to content

Conversation

@dorinvancea
Copy link
Contributor

Chrome's PDF generator cannot embed CJK characters when system-ui font keywords (-apple-system, system-ui, BlinkMacSystemFont) are the primary font-family. This is a known Chromium bug (crbug.com/1018581).

Use explicit CJK fonts for print styles that Chrome can embed:

  • Hiragino Sans GB, Heiti SC (Chinese on macOS)
  • Hiragino Sans (Japanese on macOS)
  • Apple SD Gothic Neo (Korean on macOS)
  • Microsoft YaHei, Meiryo, Malgun Gothic (Windows equivalents)

This only affects print/PDF output; screen rendering unchanged.

@dorinvancea dorinvancea requested a review from andyra January 6, 2026 16:16
Copy link
Contributor

@andyra andyra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dorinvancea dorinvancea merged commit 53f6001 into main Jan 6, 2026
12 checks passed
@dorinvancea dorinvancea deleted the chrome-print-cjk branch January 6, 2026 19:41
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.

3 participants