Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Java fonts

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java fonts

    Hey,

    In Java, I don't like the fonts provided by the Font class. What can I do to use Courier as it is in MS paint?

    If that is not possible, how might I go about creating a custom font?


  2. #2
    Member
    Join Date
    Mar 2012
    Location
    United States
    Posts
    118
    My Mood
    Inspired
    Thanks
    1
    Thanked 33 Times in 31 Posts

    Default Re: Java fonts

    I suggest checking Oracle's Font Class page as it provides a lot of information. Search that page for getAllFonts which could help out as well. Also, this Physical and Logical Fonts page gives some more information.

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java fonts

    I really appreciate the reply, I'll continue to work on the problem using the sources you provided

Similar Threads

  1. Click to start and drawString fonts
    By Campos in forum Java Applets
    Replies: 3
    Last Post: July 24th, 2009, 02:24 PM