Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Héctor Bometón on Thu 17/11/2022 14:28:48

Title: Font display issue after updating to 3.6.0.37
Post by: Héctor Bometón on Thu 17/11/2022 14:28:48

I just loaded my game into the latest AGS editor release (3.6.0.37) and everything seems fine except for some of the latin characters.

I'm using a custom font with the latin characters I need (áÁ éÉ íÍ óÓ úÚ ñÑ ¡!¿?):


(https://i.imgur.com/oRRmAZl.png)

Speech text is working alright, but when the text is loaded from the "Properties" window (for a gui label, for example) or when it is a dialog option, it doesn't show correctly:

(https://i.imgur.com/HHCTGkw.png)
(https://i.imgur.com/890cY7G.png)

I'm not sure why this happens or if it is already a known issue...

Thank you!



Title: Re: Font display issue after updating to 3.6.0.37
Post by: Crimson Wizard on Thu 17/11/2022 15:00:00
Please tell:
1. Which version have you migrated from?
2. What is set as a "Text format" in the General Settings (Basic properties)?
Title: Re: Font display issue after updating to 3.6.0.37
Post by: Héctor Bometón on Thu 17/11/2022 15:06:23
Quote from: Crimson Wizard on Thu 17/11/2022 15:00:00Please tell:
1. Which version have you migrated from?
2. What is set as a "Text format" in the General Settings (Basic properties)?

1. I migrated from 3.5.1.22
2. Text format in the General Settings is set to "ASCII / ANSI"

That "text format" thing is new, isn't it? Could that be the problem?  :-[
Title: Re: Font display issue after updating to 3.6.0.37
Post by: Héctor Bometón on Thu 17/11/2022 15:23:01
Ok, so... I tried swapping to "Unicode (UTF-8)" and it made it worse (speech wasn't showing correctly) but then I swapped back to "ASCII / ANSI" and then EVERYTHING is working alright. So... Solution for me was swapping to Unicode and then swapping back to ASCII.
Title: Re: Font display issue after updating to 3.6.0.37
Post by: Crimson Wizard on Thu 17/11/2022 15:49:11
Quote from: Héctor Bometón on Thu 17/11/2022 15:23:01Ok, so... I tried swapping to "Unicode (UTF-8)" and it made it worse (speech wasn't showing correctly) but then I swapped back to "ASCII / ANSI" and then EVERYTHING is working alright. So... Solution for me was swapping to Unicode and then swapping back to ASCII.

This sounds like the game project was incorrectly saved in UTF-8 after you upgraded, making all properties save in UTF-8 and become incompatible with the font.