Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: HandsFree on Sun 09/04/2017 11:40:13

Title: gui label displays text twice
Post by: HandsFree on Sun 09/04/2017 11:40:13
On the quit gui, I have a label with the text 'Are you sure you want to quit?'. The text is white (textcolornumber = 15) and the font is fairly large.
In the editor it looks as I expect. But when I run the game, it shows the white text, but also the same text in a small Black font.
The same happens with the gui's for save etc.

This is the Gateway remake that is already released, but against the gui backgound it's hardly noticeable. Actually I never noticed.
But now Arcangelo Bonaparte made new gui's with a plain metallic background and the effect is very obvious.

Any idea why this happens?
thanks
Title: Re: gui label displays text twice
Post by: Snarky on Sun 09/04/2017 11:49:23
The font you're using has an outline font set (which doesn't match the main font). Figure out which font is being used (if you have a custom gui, it's part of the label's properties; if it's the default quit gui I think it uses NormalFont, which is the first or second font in the list by default). For that font, change the OutlineFont property, or alternatively overwrite the font that is set with the correct outline font.
Title: Re: gui label displays text twice [solved]
Post by: HandsFree on Sun 09/04/2017 13:14:03
Yes, it had outlinestyle set to 'useoutlinefont'. Changed it to none and now it's ok.
Thanks