Ticket #14239

Usage of available fonts
Open Date: 2008-12-09 14:56 Last Update: 2009-10-07 23:49

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

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)

Ticket History (3/3 Histories)

2008-12-09 14:56 Updated by: hub02371
  • New Ticket "Usage of available fonts" created
2009-09-15 00:06 Updated by: freebeans
  • Resolution Update from None to Fixed
  • Milestone Update from (None) to jvm0.4.6 (closed)
2009-10-07 23:49 Updated by: freebeans
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2009-10-07 23:49

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login