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. Advertisements

  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. Advertisements

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. dave richards
    Replies:
    2
    Views:
    866
    Paul Furman
    Feb 19, 2004
  2. John Hunter

    gdmodule true type font size

    John Hunter, Sep 13, 2003, in forum: Python
    Replies:
    0
    Views:
    413
    John Hunter
    Sep 13, 2003
  3. John Hunter
    Replies:
    1
    Views:
    398
    Eric Brunel
    Sep 17, 2003
  4. Christian Stapfer

    Problem loading true-type font with PIL

    Christian Stapfer, Sep 1, 2006, in forum: Python
    Replies:
    5
    Views:
    2,120
    Christian Stapfer
    Sep 3, 2006
  5. bdb112
    Replies:
    45
    Views:
    1,987
    jazbees
    Apr 29, 2009
  6. mttc
    Replies:
    2
    Views:
    2,709
    Roedy Green
    Jul 3, 2009
  7. Pradipto Banerjee
    Replies:
    1
    Views:
    311
    Steven D'Aprano
    Oct 19, 2012
  8. Pradipto Banerjee
    Replies:
    6
    Views:
    407
    Pradipto Banerjee
    Oct 21, 2012
Loading...