Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Bob on Sat 21/03/2009 21:10:46

Title: Dialog choices- letters are cut off bottom of screen [RESOLVED]
Post by: Bob on Sat 21/03/2009 21:10:46
Is there any way I can set the position of the dialog choices higher to prevent the last dialog choice from being cut off the screen?  The y's j's, p's, q's, and g's are all being cut off.

Thanks!
Title: Re: Dialog choices- letters are cut off bottom of screen
Post by: RickJ on Sun 22/03/2009 01:07:16
I am not sure about dialog options but some bit map fonts do not align as one would expect when used on gui controls such as buttons etc.   You may want to try using a different font (TTF font for example) and see if the problem persists.   Maybe someone else has some other ideas about this.?
Title: Re: Dialog choices- letters are cut off bottom of screen
Post by: Bob on Sun 22/03/2009 03:53:34
Click the link below to see what I'm talking about:
http://img9.imageshack.us/img9/1082/oddseaexample1.jpg
Title: Re: Dialog choices- letters are cut off bottom of screen
Post by: RickJ on Sun 22/03/2009 05:28:00
That's what I understood the problem to be.   I have no other suggestions at this point.   What happens if a TTF font is used?
Title: Re: Dialog choices- letters are cut off bottom of screen [RESOLVED]
Post by: Bob on Mon 23/03/2009 03:48:58
I am using a TTF font.  To be precise, it's the Caslon Antique font found in the Curse of Monkey Island (downloadable here: http://www.scummbar.com/resources/downloads/index.php?todo=Fonts).  I believe I imported it at 26 or 28 pt, to allow for less pixelly letters.  (Any smaller and the comma and period looked funny.)

I looked through my code and didn't see the variable for the height, but it appears the manual mentions this.  Unfortunately, I would need to rewrite the entire DialogOptionsRenderingInfo class.

Reducing the size of the font doesn't seem to help.

Edit: I found an option in the general settings that allows me to set a gap between the dialog options.  It's listed under Dialog.