Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Nixxon on Thu 22/01/2015 09:42:33

Title: Weird font gitch
Post by: Nixxon on Thu 22/01/2015 09:42:33
EDIT[SOLVED] = Retyped my dialogue and it's appearing as normal now in-game. Happy I hadn't typed too much of the script prior to importing the font. Still kinda strange though.

Hey gang,

I'm making a game in 640x400. The default fonts were very "blocky" so to speak, and quite small on-screen.

I've imported a couple of TTF fonts (Arial, verdana) etc. at size 16. They work great, however, whenever I have a "..." it turns into a weird square.

Wondering what I'm doing wrong?

Even with the auto outline they look great, bar the aforementioned issue.

(http://i57.tinypic.com/1zf3rcg.jpg)
Title: Re: Weird font gitch
Post by: Dropped Monocle Games on Thu 22/01/2015 09:52:44
Did you copy the text in from notepad or something similar? I had the same problem as this. It was just a case of deleting the characters and retyping inside the editor.
Title: Re: Weird font gitch
Post by: selmiak on Thu 22/01/2015 11:35:28
when typing ... in ms word, the word program itself turns it into one single ms word specific special character, when you copy+paste it from word AGS doesn't know this character. Retyping it should do the trick.

jfyi, afaik cCharacter.Say("..."); doesn't display anything at all, but a blocking pause happens ingame.
Title: Re: Weird font gitch
Post by: Nixxon on Fri 23/01/2015 03:55:15
That must be what it is guys, as I copied the text from word.

THE MORE YOU KNOW :)