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 / GUI / December 2005

Tip: Looking for answers? Try searching our database.

map logical Dialog Font

Thread view: 
webdel - 05 Dec 2005 15:53 GMT
Hi, i want map logical Dialog Font to use Lucida Sans  without use
font.properties file but at runtime.
I have problem between window and linux:
windows have map Arial
linux have map Lucida Sans

Tnk
Thomas Weidenfeller - 06 Dec 2005 08:05 GMT
> Hi, i want map logical Dialog Font to use Lucida Sans  without use
> font.properties file but at runtime.

I am not aware of any public or private API for the mapping. If you want
to map them, you need to use the font properties.

> I have problem between window and linux:
> windows have map Arial
> linux have map Lucida Sans

That sounds more like you use hard-coded sizes and positions instead of
using layout managers. Don't waste your time with mapping the fonts, use
it to get your layout managers right.

/Thomas
Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

webdel - 06 Dec 2005 12:05 GMT
but can i make fontconfig.properties in other folder (not in javahome/lib)?

thank

Thomas Weidenfeller ha scritto:

>> Hi, i want map logical Dialog Font to use Lucida Sans  without use
>> font.properties file but at runtime.
[quoted text clipped - 11 lines]
>
> /Thomas


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



©2008 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.