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 / September 2007

Tip: Looking for answers? Try searching our database.

java 6 font problem on linux

Thread view: 
FredO - 27 Sep 2007 11:02 GMT
Hi, I am using Mandriva 2007 (linux) and I have an application that
uses Portuguese. Under 1.4.2, buttons, labels, tables, menu items,
etc., all displayed correctly.

When i run it under 1.6, all of the Portuguese accented characters are
displayed as little squares. What do I have to do to get the
application to use (for example) one of the postscript fonts that come
with Mandriva?
Knute Johnson - 27 Sep 2007 17:56 GMT
> Hi, I am using Mandriva 2007 (linux) and I have an application that
> uses Portuguese. Under 1.4.2, buttons, labels, tables, menu items,
[quoted text clipped - 4 lines]
> application to use (for example) one of the postscript fonts that come
> with Mandriva?

I'm not a Java font expert but I think Java requires TrueType fonts even
on linux.  You can load fonts from a file or your application jar.

Signature

Knute Johnson
email s/nospam/knute/

Roedy Green - 27 Sep 2007 22:26 GMT
>What do I have to do to get the
>application to use (for example) one of the postscript fonts that come
>with Mandriva?

Experiment with http://mindprod.com/applet/fontshower.html

to discover the names of the fonts available or either platform to
Java and exactly how they are spelled.  

Java 1.6 normally gives you access to the native fonts on a platform.
In Linux IRRC  that includes the PS fonts, but in Windows only the
OpenType fonts.

Perhaps the easier way to solve the problem is to find a
Portuguese-supporting font naturally available on both systems.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



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.