Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: lapsking on Sun 18/12/2022 05:32:13

Title: gpqyj letters in the bottom line of speech text are cropped (SOLVED)
Post by: lapsking on Sun 18/12/2022 05:32:13
Hi, now I have another issue. I'm using tumbleweed template and I have changed speech font. Game resolution is 1920x1080. It's not a big issue but it's not nice either. Bottoms of gpjqy letters in bottom line of speech text gets cropped. I tried to move text a bit higher with SayAt command, but it has nothing to do with that and it happens with all characters. Wherever the text appears it's the same. If you look at the picture letters gpqyj are complete in first line but in bottom line the bottoms are cropped. Is there a solution for that? Thank you in advance.

(https://lapsking.com/wp-content/uploads/2022/12/1000015908.png)
Title: Re: gpqyj letters in the bottom line of speech text are cropped
Post by: Crimson Wizard on Sun 18/12/2022 07:13:51
This is a known issue with how AGS draws some fonts historically.

I believe this should be fixed in 3.6.0, where it calculates font sizes better.
Also, since AGS 3.6.0 there's a setting called "TTF font adjustment", that lets fix fonts that were previously drawn too low. It should normally be set to "Do nothing".

If you're using a previous version, like 3.5.1, there are few possible workarounds:
* try adjusting font's Vertical Offset (but this may lead to upper part cut, if you're unlucky);
* try finding another font;
* script custom speech / display text, where you create a textual overlay yourself, instead of relying on AGS calculations.
* upgrading to 3.6.0, if you like.
Title: Re: gpqyj letters in the bottom line of speech text are cropped
Post by: lapsking on Sun 18/12/2022 11:23:29
Thanks a lot Crimson, you guys are so helpful and kind. I already had AGS 3.6 beta, opened the game with it and problem is solved. But is it safe to use AGS 3.6 beta? I'm asking because it seems it's not officially released.
Title: Re: gpqyj letters in the bottom line of speech text are cropped
Post by: Crimson Wizard on Sun 18/12/2022 12:25:32
Quote from: lapsking on Sun 18/12/2022 11:23:29Thanks a lot Crimson, you guys are so helpful and kind. I already had AGS 3.6 beta, opened the game with it and problem is solved. But is it safe to use AGS 3.6 beta? I'm asking because it seems it's not officially released.

More or less, and some people are already making games with it. But there are couple of known bugs, which we are trying to resolve at the moment. There's a chance that you won't notice them, depends on what do you have in your game.

These known problems are mentioned in the end of this post:
https://www.adventuregamestudio.co.uk/forums/index.php?topic=60323.0

Title: Re: gpqyj letters in the bottom line of speech text are cropped
Post by: lapsking on Sun 18/12/2022 12:53:24
Thanks, I'll keep using it. You guys are amazing.