Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Synthetique on Tue 27/05/2003 11:22:42

Title: SUGGESTION: how to use empty slots in fonts!!
Post by: Synthetique on Tue 27/05/2003 11:22:42
 ???

hello again!

i made a spanish font yesterday and i used the empty slots in the font editor to host the new letters. (like ñ)

but now here is my problem. i cant figure out how to use them..
do anyone know how to?

[edit]

i changed the topic cus i got an idea! ;D
how about being able to assign keys to fonts?
like this:

(http://www.2dadventure.com/ags/assign-key.gif)
Title: Re:how to use empty slots in fonts?
Post by: Jimi on Tue 27/05/2003 12:58:43
well I know to get a "é" you have to press Alt Gr and the letter E.
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: on Tue 27/05/2003 13:23:42
(http://www.2dadventure.com/ags/cartmod.gif)
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Proskrito on Tue 27/05/2003 17:29:05
I dont know if i understood correctly what syntetique said in this post, so i´ll ask this (sorry if it is the same)
I´ve noted that in SCI editor, you can draw more characters than you can use in AGS. Is there a way to use all of them, or you can only use the characters that appears in the preview window??
If you can only use these, would it be difficult to implement that?
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Pumaman on Wed 28/05/2003 00:13:07
Quote from: Synthetique on Tue 27/05/2003 11:22:42
i made a spanish font yesterday and i used the empty slots in the font editor to host the new letters. (like ñ)

but now here is my problem. i cant figure out how to use them..

Well, if you replaced for example the / character in the font with  Ã±  , then use the  /  in your in-game text and it will be displayed as  Ã±  by the engine when it's using your font.
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Synthetique on Fri 30/05/2003 01:41:24
i didnt replace any characters.. i used empty slots in the font..
' ' ' ' ' kinda like these
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Pumaman on Fri 30/05/2003 17:13:31
The characters that reperesnt the first two rows in the font editor are:

[space]   !  "  #  $  %  &  '  (  )
*  +  ,  -  .  /  0  1  2  3
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Proskrito on Fri 30/05/2003 18:34:04
SCI fonts have more characters than AGS can display, dont know if they are 128, and in ags you can use less than 100 (if i remember correctly).
So i think Synthetique edited some of the characters that ags dont use in order to keep $,%,&, etc. And he is asking if he could use these characters. (what think is not possible at the moment)
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: ThunderStorm on Sat 31/05/2003 09:25:08
As Proskrito said, when you edit (or create) a font with SCI Graphic Studio, there are a lot more slots than are displayed in AGS, often used for the Sierra icon, arrows, symbols etc. I wonder why AGS can't / doesn't display these, as it would solve all the 'need special characters' questions without having to replace certain characters. Would it be a big problem to enable the usage of these slots? Perhaps a special character could be implemented for scripts, so that @14 would display character 14, or something like that.
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Pumaman on Sun 01/06/2003 16:48:57
SCI Studio only supports 128 characters, because the SCI font format only support that many.

AGS does not display the first 32 characters because they are special control characters.

However, I see what you are asking, where a special symbol like writing "@14" into the text could display character number 14 - I'll look into it.
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Synthetique on Fri 18/07/2003 14:11:48
is this availible yet??
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Scummbuddy on Fri 18/07/2003 14:51:36
Quote from: Synthetique on Fri 18/07/2003 14:11:48
is this availible yet??

I can only hope you are joking.  Rushing CJ will never get you what you want.
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: TerranRich on Sat 19/07/2003 04:05:48
I'd hardly call it rushing, Scummy, it's been a month and a half since CJ said he'd see what he could do, and we've come to expect him to implement new features within minutes of being given a suggestion. :P

Now stop rushing CJ, Synth ;)
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Scummbuddy on Sat 19/07/2003 06:08:26
Haha, my apologies Synth, I did not read the dates, I recently got back from vacation, and remember seeing this post, but because of vacation, they all merged together with before, so it seemed like it just happened... so thats why I said my previous post as if you asked the day after.  All I checked was the time difference, not the dates, when I posted that.
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Synthetique on Sat 19/07/2003 12:30:22
heheh thats ok. :)

however.. is it possible?
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: RickJ on Sat 19/07/2003 17:39:04
Good idea but "@" is used for e-mail addresses and a number of people are talking about simulated web-browsers, e-mail, etc...

How about using a tilde "~", back quote "`",  or making the special character selectable some how.   Is it possible to use the "%" sign that's aready used for formatting strings?

Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: TerranRich on Sun 20/07/2003 04:45:27
Yes, entering in "%%" will appear as "%".

There's something similar in Visual Basic. Entering in an ampersand (&) before a character would underline it and make that the Alt- key. (Like ("&File" for "File"). But to use the ampersand literally, you'd have to enter in "&&".

:)
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Synthetique on Sun 20/07/2003 13:07:01
why not assign the letter to a specific key, like in the screenshot i made? (up there)

that would be the best thing..
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: ThunderStorm on Sun 20/07/2003 15:31:04
Because keys like Ã,, Ö Ü ß are not present on all keyboards. You would probably end up replacing certain characters again, only the other way round, making # display Ã,, or something.  :)
Title: Re:SUGGESTION: how to use empty slots in fonts!!
Post by: Synthetique on Sun 20/07/2003 15:33:34
people who dont have Ã,, shouldn use it. THEY can map it to #!