Missing Apostrophes

Started by Frodo, Thu 16/05/2019 14:12:10

Previous topic - Next topic

Frodo

I'm having a problem with the dialogues. 

When I 'build' dialogues in the editor, everything looks fine.
But then, when I Run the game to test it, the apostrphes (') are missing.
See Options 1 and 3 in the screenshot. 

[imgzoom]https://i.imgur.com/57keXP9.png[/imgzoom]

But it's not with every dialogue line.  Just some of them.
Why is this happening?  And how do I fix it? 

Thanks.

Crimson Wizard

Are you sure the apostrophes are present in the font you are using?

Slasher

Does the font you use actually have the ' symbol?

Have you copied text from elsewhere outside ags?

eri0o

Ok, here are the possible symbols for the apostrophes:

Code: ags
player.Say("1. don`t");
player.Say("2. don't");
player.Say("3. don't");
player.Say("4. don't");


My guess is you only have some of those symbols and not the other, and this is why it works sometimes and sometimes not. I have this when I copy paste text from LibreOffice (uses ' instead of ').

Khris

1 and 2 are accents, and 4 is the beautified version used by word processors. Only 3 is a proper ASCII apostrophe, or single quote.
The default font supports 1 and 3, and shows a question mark for the other two.

Frodo

Ahh, I hadn't noticed all the different versions of the ('). 

Yes, I had been writing it in Word, and then copy & pasting into AGS.  Word must be using a funny (')
I went through it all again, and re-did the (') directly into AGS, and it works now!

Who'd have thought a tiny little symbol could cause so much hassle?

Thanks everyone.   :smiley:

Crimson Wizard

Copying text from editors like "Word" may be tricky, there are other symbols, such as "long dash", which are not found in common ags fonts.

SMF spam blocked by CleanTalk