Results 1 to 4 of 4

Thread: glutBitMapCharacter

  1. #1
    Member Newbie
    Join Date
    Jan 2005
    Location
    Lexington, KY
    Posts
    48

    glutBitMapCharacter

    I was able to display each of the 7 fonts mentioned with glutBitMapCharacter:

    GLUT_BITMAP_8_BY_13
    GLUT_BITMAP_9_BY_15
    GLUT_BITMAP_TIMES_ROMAN_10
    GLUT_BITMAP_TIMES_ROMAN_24
    GLUT_BITMAP_HELVETICA_10
    GLUT_BITMAP_HELVETICA_12
    GLUT_BITMAP_HELVETICA_18

    But I need to display characters in a HUGE font, 50 or 60 pixels high. Is there a font I don't know about that I could use with glutBitMapCharacter to get really huge fonts?

    Thanks in advance
    -m.Y.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2003
    Posts
    369

    Re: glutBitMapCharacter

    mm nope. You'd either have to use the other glutSomethingICantRememberCharacter function or use the operating system's functions through wgl or glx (for linux). There are tutorials for that at Nehe's.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2005
    Posts
    3

    Re: glutBitMapCharacter

    Try glScalef(float, float, float);
    Maybe can help to increase your fonts. Note that a value of 1.0, is the original size.

  4. #4
    Member Newbie
    Join Date
    Jan 2005
    Location
    Lexington, KY
    Posts
    48

    Re: glutBitMapCharacter

    NeHe lesson 13 shows how to do it using Windows. Wanted to stick with glut, but as long as I can get Windows and glut to play nice together... Using the method as shown in Lesson 13, fonts of just about any size and style can be created. Very flexible and solves my problem.

Similar Threads

  1. glutBitmapCharacter
    By stone1cold in forum OpenGL: General
    Replies: 2
    Last Post: 05-01-2002, 08:35 AM
  2. glutBitmapCharacter
    By stone1cold in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-29-2002, 08:28 AM
  3. glutBitmapCharacter()
    By screwtape in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-26-2001, 05:46 AM
  4. glutBitmapCharacter
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-30-2001, 04:13 AM
  5. glutBitmapCharacter() ??
    By Roach in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-10-2000, 08:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean