Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: CreateFont can't change font

  1. #1
    Intern Newbie
    Join Date
    Jul 2013
    Posts
    35

    CreateFont can't change font

    I don't seem to be able to change the font in a CreateFont call:

    Code :
    text.font = CreateFont(0, 0, 0, 0, FW_REGULAR, FALSE, FALSE, FALSE, ANSI_CHARSET, OUT_TT_PRECIS, CLIP_DEFAULT_PRECIS, ANTIALIASED_QUALITY, FF_DONTCARE/*FF_MODERN*/ | DEFAULT_PITCH, "Times New Roman");

    Renders the same as:

    Code :
    text.font = CreateFont(0, 0, 0, 0, FW_REGULAR, FALSE, FALSE, FALSE, ANSI_CHARSET, OUT_TT_PRECIS, CLIP_DEFAULT_PRECIS, ANTIALIASED_QUALITY, FF_DONTCARE/*FF_MODERN*/ | DEFAULT_PITCH, "SimSun");

  2. #2
    Intern Newbie
    Join Date
    Jul 2013
    Posts
    35
    Bump!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •