Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

Problem with Japanese Fonts and Java (Mayjay)

Thread view: 
ro.naldfi.scher@gmail.com - 07 Jun 2006 07:46 GMT
I would like to run a Java application under Linux (Zig Zichterman's
"Mayjay",
available for free at http://ziggr.com/mayjay/), which is supposed to
display
Japanese characters. The problem is that this application does not find
and Japanese fonts on my system.

I'm pretty sure that I do have at least *some* suitable Japanese font,
because
for example my web browser (Seamonkey) is able to display Japanese
pages. I contacted the author of Mayjay to ask, how he determined what
a Japanese font is, and he replied that he used
java.awt.GraphicsEnvironment.getAllFonts()), and tests to see which of
those fonts can display japanese. He guesses that
Java does not infer correctly from the OS which fonts are Japanese, so
this might
be either a Linux or a Java problem.

Unfortunately I don't have much experience in this area. Any help would
be
highly appreciated.

Ronald
hiwa - 07 Jun 2006 10:49 GMT
ro.naldfi.scher@gmail.com :

> I would like to run a Java application under Linux (Zig Zichterman's
> "Mayjay",
[quoted text clipped - 19 lines]
>
> Ronald
Java needs proper font configuration file in its jre/lib directory.
If your system locale is not ja on your Linux system, Java would not
use
the correct font config for Japanese even when it has one.

Try visit: http://forum.java.sun.com/forum.jspa?forumID=54
hiwa - 07 Jun 2006 11:56 GMT
hiwa :

> ro.naldfi.scher@gmail.com :
>
[quoted text clipped - 27 lines]
>
> Try visit: http://forum.java.sun.com/forum.jspa?forumID=54
Mayjay has Font menu that selects font from font paths or
/etc/X11/fs/config ..... catalogue entries


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.