-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
resolves #386 install CJK font #579
Conversation
The package I think I think the weight Can also use serif cjk font And if this font is installed, the font kroki/server/ops/docker/jdk11-alpine/Dockerfile Lines 24 to 27 in ba0913c
|
Thanks for your input @zengxs
|
I took a closer look and Noto has exactly the same size: The package
As you've mentioned, we probably don't want to include all font weights.
I don't have a strong opinion since I can't tell if |
9208f5e
to
fd8aaee
Compare
Here's the Docker image size before (0.11.0) and after (latest) with
That's a 75MB increase which is fine and I'm willing to move forward with this change. |
In fact, they are almost the same font (ref this post), just with different names. If you want to install font from alpine package repository, |
Thanks again for your feedback and links to resources, this is greatly appreciated 👍🏻
OK, I see.
I quite like the fact that |
With this change, CJK characters are now correctly rendered when converting to PNG:
For reference, here's the result using http://www.plantuml.com/
The package
font-noto-cjk
(and all its dependencies) is quite large, approximately 200MB.Here's the Docker image size before (0.10.0) and after (latest):
resolves #386