On a blackbox linux system neither the system or the openjdk had any fonts so this caused issue for my Java application.
So far to get round this I have copied the Lucida fonts from an Oracle Java install into the jre/lib/fonts
dir and ran fc-cache -rv jre/lib/fonts
and that has worked for me.
But it seems these standard fonts do not support CKJ scripts, what is a font I can copy to fonts that will add support for these scripts for my Java application.
Note I cannot run install or similar on the linux machine I need a font I can just bundle with my application that I can then copy to the jre/lib/fonts folder.
True Type Fonts (TTF) TrueType is a standard for vector fonts and was developed by Apple and Microsoft in the late 1980s as a competitor to the Adobe's Type 1. Their aim was to create a font format which can be cross-platform.
TrueType Font (TTF) TTF has long been the most common format for fonts on Mac and Windows operating systems. All major browsers have supported it. However, IE8 has no support for TTF; and starting with IE9 it is only partially supported as the fonts must be set to “installable”.
At first glance, their component strokes seem to have a consistent thickness reminiscent of Latin Sans Serif typefaces like Helvetica. This type of Chinese font is known as Heiti. Literally “black-style,” Heiti is the dominant family of digital fonts in use on Chinese phones and computers around the world.
Chinese, Japanese, and Korean (CJK) fonts are derived from the Adobe CID-Keyed font technology and are available in AFP outline format. CJK fonts contain different typefaces that are suitable for printing various Chinese, Japanese, and Korean documents.
DO NOT combine and create your own CJK fonts, because same Chinese Character (a codepoint in Unicode) may have different glyphs in Chinese Simplified, Chinese Traditional, Japanese and Korean fonts. If you use font designed for one area for users from another area, they will feel that your font is strange, hard to recognize, or even wrong.
Check Noto Serif CJK is here! for an example about glyphs of 述.
Check Source Han Serif, an open source Pan-CJK typeface for an example about glyphs of 曜.
I strongly recommend you to use Noto Sans CJK and Noto Serif CJK family for your purpose, and use Noto Sans/Serif CJK SC when rendering Chinese Simplified text, Noto Sans/Serif CJK TC when rendering Chinese Traditional text, Noto Sans/Serif CJK JP when rendering Japanese text, and Noto Sans/Serif CJK KR when rendering Korean text. Never mix them together.
You could take a look at Noto, which will "support all languages with a harmonious look and feel."
I couldn't find a font that supported Chinese, Japanese and Korean so, I had to create my own. Below is a quick program I made to show off this font showing hello in all four languages + English. (I hope that's ok).
Download Link: https://mega.nz/#!Mt5mCJzR!DMVa1usSTV6OEraQQlcF8dGcg5VYkboNB6O_dkQD-QE
Edit:
I found someone else who has done a similar thing to me (combined lots of fonts) The link to their download is here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With