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

feat: replace fandol font with ubuntu in ctex #33

Closed
xiaohanyu opened this issue Apr 16, 2024 · 1 comment
Closed

feat: replace fandol font with ubuntu in ctex #33

xiaohanyu opened this issue Apr 16, 2024 · 1 comment
Assignees
Labels
backend Backend related feat New feature or request frontend Frontend related
Milestone

Comments

@xiaohanyu
Copy link
Member

xiaohanyu commented Apr 16, 2024

Description

Fandol font in ctex do not have very good support for rarely-seen character (生僻字),such as , , it will show an F inside a rectangle:

Example:

Image

The root cause is, the fandol font set that we use right now do not seem support these rarely-seen characters. ctex packages provides other options for font size:

Image

ubuntu and founder font seems to be free to commercial use, let's use ubuntu first. Later we may allow user to choose font based on their own needs.

Ref:

[Optional] Possible Solutions

NA

Acceptance Criteria

  • rarely-seen characters in CJK should be handled correctly and show in PDF

Todo list

NA

@xiaohanyu xiaohanyu self-assigned this Apr 16, 2024
@xiaohanyu xiaohanyu added feat New feature or request backend Backend related frontend Frontend related labels Apr 16, 2024
@xiaohanyu xiaohanyu added this to the M-0.4 milestone Apr 16, 2024
@xiaohanyu
Copy link
Member Author

Fixed, preview:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related feat New feature or request frontend Frontend related
Projects
None yet
Development

No branches or pull requests

1 participant