Little job for novice programmer

Discussion in 'Java' started by Roedy Green, Sep 9, 2003.

  1. Roedy Green

    Roedy Green Guest

    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.
     
    Roedy Green, Sep 9, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AMT2K5
    Replies:
    6
    Views:
    748
    Larry I Smith
    Jun 9, 2005
  2. AMT2K5
    Replies:
    9
    Views:
    6,503
    AMT2K5
    Jun 11, 2005
  3. AMT2K5
    Replies:
    6
    Views:
    873
    AMT2K5
    Jul 6, 2005
  4. AMT2K5
    Replies:
    3
    Views:
    314
    Victor Bazarov
    Jun 27, 2005
  5. Rogério Brito

    Little novice program written in Python

    Rogério Brito, Apr 25, 2008, in forum: Python
    Replies:
    20
    Views:
    768
    Rogério Brito
    Apr 28, 2008
Loading...

Share This Page