Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: optimize macOS font loading for better CJK support #719

Merged
merged 2 commits into from
Feb 14, 2025

Conversation

weibing-bab
Copy link
Contributor

Following up on #711, some macOS devices still experienced font rendering issues.
This commit:

  • Simplifies macOS font options to use only essential fonts
  • Uses Hiragino Sans GB as primary font for its complete Unicode support
  • Keeps .AppleSystemUIFont as system fallback
  • Retains Apple Color Emoji for emoji support

This change ensures more reliable CJK text rendering across different macOS versions
without requiring additional font installations.

Fixes remaining font issues from #711

Following up on browser-use#711, some macOS devices still experienced font rendering issues.
This commit:
- Simplifies macOS font options to use only essential fonts
- Uses Hiragino Sans GB as primary font for its complete Unicode support
- Keeps .AppleSystemUIFont as system fallback
- Retains Apple Color Emoji for emoji support

This change ensures more reliable CJK text rendering across different macOS versions
without requiring additional font installations.

Fixes remaining font issues from browser-use#711
@MagMueller MagMueller merged commit 7260e1c into browser-use:main Feb 14, 2025
2 checks passed
AryamanParida pushed a commit to AryamanParida/browser-use that referenced this pull request Mar 7, 2025
fix: optimize macOS font loading for better CJK support
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.

2 participants