I am trying to use a japanese font on my english OS (WM5).
In version 0.4.1 following bug was fixed:
"getAllFonts returns an empty array"
Since 0.4.1 the following is working:
- GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
- String[] fontnames = ge.getAvailableFontFamilyNames();
It shows me any tt font which is present int the Font dir on the WM device (e.g. MS Gothic, Meiryo, etc), but when I want to use any of the added tt fonts, e.g.:
- Font font = new Font("Meiryo", Font.PLAIN, 12);
it still only shows me an rectangle on the screen when I input an japanese character.
I am trying to use a japanese font on my english OS (WM5). In version 0.4.1 following bug was fixed: "getAllFonts returns an empty array" Since 0.4.1 the following is working: - GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); - String[] fontnames = ge.getAvailableFontFamilyNames();
It shows me any tt font which is present int the Font dir on the WM device (e.g. MS Gothic, Meiryo, etc), but when I want to use any of the added tt fonts, e.g.:
- Font font = new Font("Meiryo", Font.PLAIN, 12);
it still only shows me an rectangle on the screen when I input an japanese character.
(Same software on J9 works fine)