GM:S 1.4 Some UTF8 characters will not draw

Discussion in 'Programming' started by Aleksandar Gavrilovic, Jun 26, 2016.

  1. Aleksandar Gavrilovic

    Aleksandar Gavrilovic Member

    Jun 20, 2016
    I want to draw characters like these:

    I made a font and added the appropriate ranges for all the neccessary characters. Unfortunately, not all of them are visible in the font (I tried other fonts, but the problem persists)

    Here are the font ranges

    The font I would like to use is Gargle Rg, but for these characters, actually, any font would be OK, if they worked. As you can see from the attached image below, some of the characters within the range are shown in the bottom-right corner as inserted by the font, but they are not in the image (and they are not drawn on screen when I try drawing them with draw_text).

    I tried clearing the asset cache, I don't use surfaces etc. Help would be appreciated, thank you :)

    Attached Files:

  2. FrostyCat

    FrostyCat Member

    Jun 26, 2016
    Duh, not all of the characters are visible in the font because the font doesn't have glyphs for all of them. In particular, artsy non-standard fonts tend to be skimpy in glyph coverage. Open the font in Character Map and make sure the corresponding glyph is in it before you try adding them.
    Aleksandar Gavrilovic likes this.
  3. Aleksandar Gavrilovic

    Aleksandar Gavrilovic Member

    Jun 20, 2016
    Ah, I thought maybe it would just take the glyphs from another, more default, font... Can you recommend a font which has most / all of the gliphs I need? I can't seem to find one.

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