physical font specified but true type font file not available

Discussion in 'Java' started by Michael Glavitsch, Jul 15, 2003.

  1. Hello

    I am specifying a physical font (new Font("TimesRoman", ...)), but the
    physical font
    file TimesRoman.ttf is not available on my platform (Solaris 8). What
    font(file) does
    the Java Runtime select or access?

    Michael
     
    Michael Glavitsch, Jul 15, 2003
    #1
    1. Advertising

  2. Michael Glavitsch

    Roedy Green Guest

    On Tue, 15 Jul 2003 19:01:17 +0200, Michael Glavitsch
    <> wrote or quoted :

    >I am specifying a physical font (new Font("TimesRoman", ...)), but the
    >physical font
    >file TimesRoman.ttf is not available on my platform (Solaris 8). What
    >font(file) does
    >the Java Runtime select or access?


    It might be null or it might be some other font.

    Font.toString might give you a good clue. Please report back what you
    discover.

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
     
    Roedy Green, Jul 15, 2003
    #2
    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. bdb112
    Replies:
    45
    Views:
    1,349
    jazbees
    Apr 29, 2009
  2. Emile van Sebille
    Replies:
    0
    Views:
    239
    Emile van Sebille
    Oct 20, 2012
  3. Ian Kelly
    Replies:
    0
    Views:
    155
    Ian Kelly
    Oct 19, 2012
  4. Pradipto Banerjee
    Replies:
    1
    Views:
    136
    Steven D'Aprano
    Oct 19, 2012
  5. Pradipto Banerjee
    Replies:
    6
    Views:
    229
    Pradipto Banerjee
    Oct 21, 2012
Loading...

Share This Page