Windows Fonts render incorrectly in GM:S2

Discussion in 'GameMaker Studio 2 Community Tech Support' started by vdweller, Dec 20, 2018.

  1. vdweller

    vdweller Member

    Joined:
    Jun 24, 2016
    Posts:
    121
    Hi, back in GM:S 1.4 I used the Boon font for displaying Thai characters.

    Here are my 1.4 settings:
    [​IMG]

    Here are my 2.2.1 settings:
    [​IMG]

    Note: The "Boon Light" and "Boon" font names you see are the same font. Their name changes from GM version to GM version. I only have one Boon font installed. Also if you see the Style option in GMS2, it says "light" there.

    So, here is how the font is rendered in GM:S 1.4, as intended:
    [​IMG]

    And here it is in GM:S 2, which is a mess
    [​IMG]

    You many need to zoom the image to actually see it but this is not what it should look like, note the weird symbols above some letters have a "hole" in GM:S 1.4 but in 2 don't.

    Changing the size to 11 does this
    [​IMG]

    And to 12 does this
    [​IMG]

    Further changes obviously make the font larger with nio improvement.

    Bonus pic, same font, English characters, 2x zoomed:
    [​IMG]

    1) The same thing happens with other fonts too.

    2) Antialiasing stays off, these fonts are used in a pixel-arty game.

    Does anyone have an idea what to do to make the font displayed like in GM:S 1.4?

    IDE: 2.2.1.375
    Runner: 2.2.1.291

    EDIT: The font also appears wrong inside the texture page that contains it, therefore I believe it is some sort of inherent IDE incompatibility with certain fonts rather than a runtime issue.
     
    Last edited: Dec 24, 2018
  2. nunf_arm

    nunf_arm Member

    Joined:
    Jul 17, 2018
    Posts:
    5
    do you turn on the anti-aliasing?
     
  3. vdweller

    vdweller Member

    Joined:
    Jun 24, 2016
    Posts:
    121
    Didn't mention it but in my example I do not use views at all. The font is messed up even inside the texture page to begin with.
     
  4. vdweller

    vdweller Member

    Joined:
    Jun 24, 2016
    Posts:
    121
  5. rmanthorp

    rmanthorp YoYo Games Staff Admin YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    266
  6. vdweller

    vdweller Member

    Joined:
    Jun 24, 2016
    Posts:
    121
    Excellent! If this persists, I'll let you know!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice