Little job for novice programmer

R

Roedy Green

If you use a font that does not exist on the target machine, Java just
reverts to the default.

What you would like is something like you have in CSS or HTML where
you can specify a list of fonts in preference order.

However, Java does not directly support that.

It would be fairly easy to implement font factory that took an array
of strings for the font name argument.

If you get it going, I would be happy to post it at
http://mindprod.com/jgloss/font.html for the world to use.

Everything you need to know to implement it is at that URL.

Fame, but alas, no fortune awaits you.
(make sure you consider the problem of case sensitivity).
 

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

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top