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

Add fonts to Docker image for internationalization #26

Merged
merged 3 commits into from
Sep 21, 2018
Merged

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 21, 2018

This PR will add fonts to Docker image for internationalization.

In several languages, you may see fonts as tofu by converting PDF in Docker environment. In general, we recommend using Web fonts if you want to specify your favorite fonts in theme. But otherwise, we will use the added basic fonts.

We have added fonts that has many native speakers. In future we would accept pull requests about the other language.

Fonts rendering

Before After
before after

Troubleshooting about CJK fonts

Chinese hans and Japanese kanji have small differences of glyph. By default we use chinese fonts, but we can use Japanese fonts by -e LANG=ja_JP option or lang option in config file. Refer to #3 too.

@yhatt yhatt merged commit 0cf0b10 into master Sep 21, 2018
@yhatt yhatt deleted the docker-fonts branch September 21, 2018 15:54
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.

None yet

1 participant