itch.io/t/3852779/very-weird-vertical-alignment-in-gamemakerVery weird vertical alignment in GameMaker/t/3852779/very-weird-vertical-alignment-in-gamemakerWed, 19 Jun 2024 20:24:46 GMTWed, 19 Jun 2024 20:24:46 GMTWed, 19 Jun 2024 20:24:46 GMTI'm getting very weird vertical alignment when using Silver in GameMaker.  Attaching an image showing three single line strings all drawn in the same spot (the red dot) with different valign settings. The vertical alignment differences are so extreme that it appears as though they are on entirely different lines. 

My guess is something is wrong with the internal font formatting in Silver that's causing this since it doesn't happen with other fonts (at least nothing this extreme!).  

I have a solution that fixes this issue using the Scribble text rendering library, but wondering if there's any way to fix it for native GameMaker text rendering as well.  Anyone know if there is some way to change the font settings in GameMaker or a special import method so it doesn't do this?

For anyone else using Scribble this is my current fix, which aligns everything to the edges of the capitalized roman characters. Depending on how you're approaching localization, slightly different settings may make sense and you may want to swap these settings when changing languages. Note that this will only fix the issue when rendering text using Scribble functions not for any native text rendering.

scribble_font_set_halign_offset("fnt_silver",fa_center,1);
scribble_font_set_halign_offset("fnt_silver",fa_right,2);
scribble_font_set_halign_offset("fnt_silver",fa_left,0);
scribble_font_set_valign_offset("fnt_silver",fa_top,-2);
scribble_font_set_valign_offset("fnt_silver",fa_middle,1);
scribble_font_set_valign_offset("fnt_silver",fa_bottom,5);
]]>
/t/2463210/which-ranges-are-supported-in-this-fontWhich ranges are supported in this font?/t/2463210/which-ranges-are-supported-in-this-fontSun, 06 Nov 2022 08:34:24 GMTSun, 06 Nov 2022 08:34:24 GMTSun, 06 Nov 2022 08:56:55 GMTAttempting to use this for Game Maker Studio 2 and have no idea what kind of range I should be setting because I'm not fully sure what Silver supports at the moment.

Any help would be appreciated. Thank you for the font.

]]>