Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Little job for novice programmer

Reply
Thread Tools

Little job for novice programmer

 
 
Roedy Green
Guest
Posts: n/a
 
      09-09-2003
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).


--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
1 little 2 little 3 little Kennedys dale Digital Photography 0 03-23-2008 01:03 PM
Reading Lines with Fgets and a bit of C++ {Novice Programmer} AMT2K5 C Programming 6 07-06-2005 02:34 AM
Is this possible to do in C++ {Novice Programmer} AMT2K5 C++ 3 06-27-2005 09:49 PM
[C++] String Tokenizer with Delimiter {Novice Programmer} AMT2K5 C++ 9 06-11-2005 03:24 PM
[C++] Segmentation Fault {C++ Novice Programmer} AMT2K5 C++ 6 06-09-2005 04:08 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57