Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Candle on Sat 01/01/2005 02:16:02

Title: Font error ? [SOLVED]
Post by: Candle on Sat 01/01/2005 02:16:02
Hey, McElroy!

Erm, yeah?

You're coming with me.

Oh god, this isn't the murder is it…?

Yeah, it's the murder.

Apparently I'm supposed to teach you to be a detective. I just hope for your sake that I'm a better teacher than I am a student. Let's go.



---------------------------
Adventure Game Studio
---------------------------
An error has occured. Please contact the game author for support, as this
is likely to be a scripting error and not a bug in AGS.
(ACI version 2.63.780)

Error: Cannot display message with extended characters in SCI font

(Accented characters, for example the special French and German e/a/u/i letters cannot be used by default. You need to import a TTF font to do so).

Why is it crashing with that dialog ?
Title: Re: Font error ?
Post by: Candle on Sat 01/01/2005 03:43:13
Anyone help me with this ? it is really pissing me off . I can't use a ' wtf?

Should add I'm using the beta and it does not do it with v2.61 .
Title: Re: Font error ?
Post by: .. on Sat 01/01/2005 10:18:09
QuoteError: Cannot display message with extended characters in SCI font

(Accented characters, for example the special French and German e/a/u/i letters cannot be used by default. You need to import a TTF font to do so).

Import a TTF font from your computer's fonts directory (Normally C:\WINDOWS\FONTS)  and use that font for the dialog
Title: Re: Font error ?
Post by: Candle on Sat 01/01/2005 15:05:17
The funny things is I did try that and it still  gave the error . thats ok I'll just start over with the game with a nonbeta ags . as that does not do it .
Title: Re: Font error ?
Post by: Radiant on Sat 01/01/2005 15:09:16
You might be accidentally displaying an empty string.
Or a reverse quote (such as those Word tends to use, but they aren't actually in the ASCII set).
On some keyboard settings, the computer may automatically change letters to non-ascii symbols as you type, e.g. if you press ' then e, the result may be a French accented e. Even if you don't want that. I with accent is hard to spot.
Title: Re: Font error ?
Post by: TerranRich on Sat 01/01/2005 18:09:28
Yes, it looks like you have special apostrophes, instead of the normal straight apostrophe.

That is, instead of using it's, use it's.

Updated BFAQ: http://bfaq.terran-x.com/#graphics03
Title: Re: Font error ?
Post by: Secret Fawful on Sat 01/01/2005 18:30:04
SCI fonts can only be used with a certain number of characters. You must be using the font with too many characters.
Title: Re: Font error ?
Post by: Candle on Sat 01/01/2005 19:51:30
Why would it work with v.2.61 and not 2.63.522.0 ?
Title: Re: Font error ?
Post by: TerranRich on Sun 02/01/2005 05:20:35
No clue. Was that the problem though?
Title: Re: Font error ?
Post by: Candle on Sun 02/01/2005 05:42:04
If I used a ' anywhere in a  speach it will crash and give that error . so I went back to the older ags and it works fine . and it is the same copy and paste from a txt file I have it wrote down on .
Title: Re: Font error ?
Post by: NightQuest on Sun 02/01/2005 17:18:03
Odd..... :-\
Title: Re: Font error ?
Post by: Gilbert on Mon 03/01/2005 02:13:20
What's that "dotted line" character before teh question mark of teh fourth line? It can be that character which caused the problem.
Title: Re: Font error ?
Post by: Candle on Mon 03/01/2005 02:39:08
No I can leave that and it works . it is just any ' fonts and it crashes with that message .
This will crash it .     Hi what's up ?
Title: Re: Font error ?
Post by: Gilbert on Mon 03/01/2005 02:44:08
Using ' in text works for me. Since you're using an old beta, try upgrading to V2.7beta8 and see if it works.

Note: V2.63 is an early beta for the current V2.7 line under test, if you find a problem with a beta version, make sure it's the newest beta before posting about any problem, as it's proabbly fixed already.

Edit: Well, when I copied your text directly and display them, the game did crash with said error, HOWEVER it's just because the copied text contained extended apostrophes, changing them all to normal ' worked for me. It may be possible that in your Windows/System/Keyboard/Whatever settings that whenever you typed that it's automatically converted (annoying), try to check if that's the case.
Title: Re: Font error ?
Post by: Candle on Mon 03/01/2005 03:03:34
Ok ,thanks .

Well that was it I guess , when I went and deleted them retyped  them ' it work just fine ..
Title: Re: Font error ? [SOLVED]
Post by: TerranRich on Mon 03/01/2005 21:40:04
Told ya! ;) Heh, just kidding.
Title: Re: Font error ? [SOLVED]
Post by: Candle on Tue 04/01/2005 01:50:45
Quote from: TerranRich on Mon 03/01/2005 21:40:04
Told ya! ;) Heh, just kidding.
Old fool I be .. hahahaha
Thanks for the help Rich .