Dialog choices- letters are cut off bottom of screen [RESOLVED]

Started by Bob, Sat 21/03/2009 21:10:46

Previous topic - Next topic

Bob

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!

RickJ

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.?

Bob


RickJ

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?

Bob

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.

SMF spam blocked by CleanTalk