Text Rendered Incorrectly with AGS 3.2

Started by Old Guy, Thu 03/06/2010 06:16:41

Previous topic - Next topic

Old Guy

The following screenshot show three text fields. The text on the transparent GUI is rendered incorrectly. It appears to be rendered as BOLD.

http://www.creativeloops.com/Samples.jpg

The last time I was actively working on my game I was using AGS 3.1.2, and at that time the problem did not occur.

I have AGS 3.2 Final 4 installed on Windows 7 and a Windows 2000, and the problem occurs on both machines. I tried a couple of other TTF fonts, but the results were the same.

Gilbert

I think it's part of the popular transparency problem, that the semi-transparent pixels of the text are all rendered as solid (white) when using a transparent GUI.

Since I'm not quite familiar with the problem I cannot say for sure whether this can be fixed (I think using an image with alpha channel as the background of the GUI does fix some of the problems but I'm not so sure) and you may try searching for old topics to see if they help. It's odd that it worked back in V3.1.2 though.

Calin Leafshade

yea make a blank (or nearly blank) image with an alpha channel and set it as the background for the gui.

that will fix it.

Old Guy

Thanks for your suggestions Glibet and Calin!

However, given that this worked correctly in V3.1.2 but behaves differently now, it does seem like this is a bug that needs fixing, and not something that requires a workaround to make it function properly.


Gilbert

As far as I recall that never worked unless this workaround was used. Are you sure you did the same thing in V3.1.2.

Old Guy

Quote from: Gilbet V7000a on Mon 07/06/2010 06:12:04
As far as I recall that never worked unless this workaround was used. Are you sure you did the same thing in V3.1.2.

Yes indeed.

Screenshot from game compiled using Version 3.1.2


Screenshot from game compiled using Version 3.2

I suppose it's worth mentioning that I am using SSH's Description Module V1.06 to display the description of objects underneath the mouse (using a transparent GUI). However, the problem exists even when I not using the module, as shown in the screenshot that I included at the top of this thread:

http://www.creativeloops.com/Samples.jpg

Dualnames

Old Guy I see your character becomes anti-aliased on version 3.2 , maybe that's the case?
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Pumaman

#7
Well spotted, thanks. 3.1.2 used to disable TTF anti-aliasing in this situation; 3.2 doesn't but then doesn't support it properly either.

Please try 3.2 Final 5 in the release thread, it should fix this.

Old Guy

Quote from: Pumaman on Tue 08/06/2010 22:04:09
Well spotted, thanks.

Well fixed!

3.2 Final 5 fixed the problem, and the world is rosy once again.

Thanks CJ.

Pumaman


SMF spam blocked by CleanTalk