Thread: Question on Font

  1. #1
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681

    Question on Font

    Ok created my own font and got it working. I'm trying to get and use some symbols from the standard ASCII.

    An example of the character I'm trying to get is on the attached file. On the character map Font Courier New, bottom says U +256C.

    How would I output this character? In a console I could printf("%c", 206); and I have tried to use that format with wsprintf but can't seem to find the right #. Any help would be great.

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    The character you are trying to output is not standard ASCII, rather, it is in the "extended ASCII" set, and the font you have derived from may not include it, (some tt fonts do not), these characters were created really for console type environments.

    Dump all of the characters of your font out to a window and see what is there, and where it is. If it's not there, then it's not there.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    You may find that the character you used to use in dos is now part of Unicode in Windows. Check out the unicode specs to see if your character is a part of it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX | Drawing text
    By gavra in forum Game Programming
    Replies: 4
    Last Post: 06-08-2009, 12:23 AM
  2. RichEdit Font Color
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 11-01-2003, 04:07 PM
  3. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  4. Font problems..
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 06-23-2002, 02:18 PM
  5. How To Give A Font Colour ?
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 09-14-2001, 01:22 PM