advanced Font rendering

M

Marten Lehmann

Hello,

from Photoshop I'm used to be able to define the space between two
characters. So I can generate something like

T E X T

without having to put the blanks in there on my own. This setting can
also be used to put the characters closer to each other, so the
characters might be overlapping.

Is there an option in the Font-classes of awt to achieve the same
result? On the one hand I haven't found something yet, but on the other
hand I'm not really sure what to look for.

Regards
Marten
 
O

Oliver Wong

Marten Lehmann said:
Hello,

from Photoshop I'm used to be able to define the space between two
characters. So I can generate something like

T E X T

without having to put the blanks in there on my own. This setting can also
be used to put the characters closer to each other, so the characters
might be overlapping.

Is there an option in the Font-classes of awt to achieve the same result?
On the one hand I haven't found something yet, but on the other hand I'm
not really sure what to look for.

(1) Learn the proper terminology by going to
http://en.wikipedia.org/wiki/Tracking_(typography)
(2) Perform a google search for "tracking java font"
(3) Read
http://download.java.net/jdk6/docs/api/java/awt/font/TextAttribute.html
(4) Profit!!!

- Oliver
 
O

Oliver Wong

Marten Lehmann said:
Thanks. Seems that I have to wait for JDK1.6 to be released until I can
use this feature.

Yes, unfortunately. However, you can download the betas right now if you
want to start development early.

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top