Home pageFind It!Contact PJAPJA documentation


 PJA Toolkit forum

This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents. If you want to write a message or answer to a subject, subscribe to it first.

Subjects Recent messages Login Subscribe

Messages of subject Text is rendered too bold


Member since : Jan 16, 2004
Messages : 5
 Jan 16, 2004 at 2:35 PM

I use PJA on a SunOS machine with Java 1.3.1 and it works fine with the Lucida fonts. However when I use Times New Roman, I have the problem that text is rendered too bold, i.e. regular text looks like bold text. Text that should be bold is rendered only slightly more bold than regular text, so it's hard to distinguish these two.

The changes I made to the font.properties file are:

dialog.0=Times New Roman Regular,ANSI_CHARSET
dialog.bold.0=Times New Roman Bold,ANSI_CHARSET
dialog.italic.0=Times New Roman Italic,ANSI_CHARSET
dialog.bolditalic.0=Times New Roman Bold Italic,ANSI_CHARSET


Any ideas what the problem might be?



Location : Paris / France
Member since : Apr 29, 2003
Messages : 394
 Jan 16, 2004 at 11:52 PM
True Type Fonts are managed by Java classes of the standard library, not by PJA Toolkit itself. Would it possible to try your application on a Unix or Windows machine without PJA Toolkit to see if the problem still happens ?
Manu (moderator/modérateur)


Member since : Jan 16, 2004
Messages : 5
 Jan 19, 2004 at 5:36 PM
Thanks for your reply. I tried the application on a Windows machine, and it ran fine there. So I tried using the font.properties file from the Windows machine on the SunOS machine and now everything looks like fine :)

Home pageFind It!ContactTop

© Copyrights 1997-2023 eTeks - All rights reserved

PJAPJA documentation