font

  1. D

    GameMaker Text with font created using font_add() is not rendered

    Hello everyone. I created a new font with font_add function. When I select this font, the text is not rendered. create event active = false; point_selected = false; point_x = 0; point_y = 0; font = font_add("Arial", 12, false, false, 48, 58); draw event if (active) {...
  2. B

    Wrongly scaled font?

    Hi, I'm having trouble integrating a custom font. Game Maker Studio (I am using the 2.3 beta) seems to wrongly scale it. This is how it looks in the design: And this is how it looks in the game: I am using this font: Electronic Highway Sign Any idea how to fix it? Thanks!
  3. William Garrison

    GameMaker Different Fonts in same string?

    Hey guys and gals, Im trying to figure out how to possibly get two different fonts in the same string with a script. Below is the script I set up to try and accomplish this. But obviously doesnt work. How can I make this a thing? Why do I want to do this? Well I wanted whomever is talking...
  4. Yellowhite

    Hm... Adding Japanesse fonts

    Hoi guys! I wanna add Japanesse fonts to my game like Katakana. I have thinked of draw every sprite of japanesse font and use the funciton of "font_add_sprite" but i see the ANSII get the first 26 chars normally, and the Katakana use of 46 chars. It's just, how it's a easy way of add Japanesse...
  5. A

    SOLVED How do I add Turkish characters(special characters)

    Hello there. I live in turkey. I am working on a project to understand GML. I learned that Turkish characters are not supported in fonts."İ,Ş,Ö,Ü,Ğ,Ç,ı,ş,ö,ü,ğ,".is there a way to add these characters? Thank you in advance.
  6. cliftonbazaar

    Question - Code Font size

    I have been using GMS2 for a month now and while working on it I accidentally hit a key that increased the font size; after searching the Internet I found it was the F7 and F8 keys to change the font size. My problem is that each time the project starts it starts at the larger font size so I...
  7. Kezarus

    Language Support - Char Ranges

    Hello everyone! I am trying to add language support to my Framework for others to use and I bumped in a characters range issue. I plan to add cyrillic, japanese and chinese from Noto Sans Fonts. For cyrillic I added the range 1025 to 1105. For japanese I added 12352 to 12543 for hiragana and...
  8. T

    Question - IDE Japanese text display gets weird in IDE

    Hi all, I'm not the developer itself, but the publisher. One of my client is using GMS2 in Japanese, and he is experiencing weird display issue. It seems it depends on the font types, but it looks like this. It says "カウンターアタック", but IDE displays them in random font size. Also, I have a...
  9. Fixer90

    GameMaker Em Dash in Strings (SOLVED)

    I want to include em dashes in my strings, and not have them return as the default "▯." For example: str = "The quick brown fox — who was very quick indeed — jumped over the lazy dog."; returns as "The quick brown fox ▯ who was very quick indeed ▯ jumped over the lazy dog." I already tried...
  10. Architheutis

    Font-error within Game Maker Studio 2

    Hi There, is there anybody else who remarked partial display errors within the GMS2-interface? I updated a newer version of Game Maker Studio 2 one day. Since then something like that (see the image) happens, any time I click on a part within my object ressources. When I shut down GMS2 and...
  11. J

    Steam Steam Leaderboard with non-roman names

    My game on Steam, Shisensho Solitaire, has a built-in Leaderboard that pulls data from Steam Leaderboards. My problem is that players with names in Japanese or Chinese don't show up on my leaderboard, presumably because I don't have the fonts for them. I'm currently using a Verdana font. Not...
  12. K

    Is there any way to manipulate the size of font resource programmatically?

    I created a font resource using a .ttf file. I tried draw_text_ext bla bla using the x_scale and y_scale to enlarge the text but the text got pixelated.
  13. K

    Is there a way to justify text on a page, unlike left, center or right?

    Just like how we can justify text in MS Docs. I see three types under draw_set_halign, how about justify on page?
  14. K

    font editor panel and font functions

    So I downloaded a font from Google and created a font resource: https://docs2.yoyogames.com/index.html?page=source/_build/3_scripting/4_gml_reference/fonts/font_add.html How do I proceed then? Do I need to do font_add()? Do I need to do some code with font functions...
  15. Zek

    Asset - Fonts Pixel Font Pack

    GameMaker: Marketplace Itch.io Price: $1.99 7 clean pixel fonts for retro styled games. Preview: Contains: Retro1.ttf Retro2.ttf Retro3.ttf Retro4.ttf Retro5.ttf Retro6.ttf Retro7.ttf All of these fonts are TrueType Fonts and the font outlines in the preview images are just for visualization.
  16. O

    GML Does scaling text involve loss?

    If text is being dynamically generated and drawn to some confined space, there seems to be two ways to deal with sizing the font correctly: 1. use draw_text_transformed to draw a scaled version of the string, after string_width_ext and _string_height_ext so that you can compare it to the...
  17. M

    Question - IDE Have A Problem In Font

    I installed a font to use it in game maker studio 2 it like this i tried it in notepad but in GameMaker Studio 2 it like this When character is stocked with other character it will be correct (like font characters) But when the character alone it will be wrong If i used "arabic-support"...
  18. E

    GML [El Solvedo] Any way to change the colour of the sprite font?

    Hello. I have a sprite font. global.spritefont_black = font_add_sprite( ... ); I need to change the colour of that, but it's a sprite so there is no way to change it instead of creating new sprite for your coloured font. What should I do? Transform my sprite font into default font? If so...
  19. Kezarus

    Legacy GM Font Size / GUI Layer

    Hi friends! I am having an issue with font sizes. People say that they can't barely read the text on my game. I am at 1980 x 1080 resolution and all is fine. Should I scale the GUI Layer? What is the best course of action? Thanks in advance, Kezarus
  20. inertias

    GameMaker Font issue relating to screen resolution

    So above is a picture of a sprite that contains a very small font. My game is at 1920x1080 resolution and my monitor matches that as well. My problem is that when I draw this font to the screen (using the draw gui event), the font only appears clearly depending on where my mouse coords are (I am...
Top