SUGGESTION: how to use empty slots in fonts!!

Started by Synthetique, Tue 27/05/2003 11:22:42

Previous topic - Next topic

Synthetique

 ???

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:


Jimi

well I know to get a "é" you have to press Alt Gr and the letter E.


Proskrito

#3
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?

Pumaman

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.

Synthetique

i didnt replace any characters.. i used empty slots in the font..
' ' ' ' ' kinda like these

Pumaman

The characters that reperesnt the first two rows in the font editor are:

[space]   !  "  #  $  %  &  '  (  )
*  +  ,  -  .  /  0  1  2  3

Proskrito

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)

ThunderStorm

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.

Pumaman

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.

Synthetique


Scummbuddy

#11
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.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

TerranRich

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 ;)
Status: Trying to come up with some ideas...

Scummbuddy

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.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Synthetique

heheh thats ok. :)

however.. is it possible?

RickJ

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?


TerranRich

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 "&&".

:)
Status: Trying to come up with some ideas...

Synthetique

why not assign the letter to a specific key, like in the screenshot i made? (up there)

that would be the best thing..

ThunderStorm

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.  :)

Synthetique

people who dont have Ã,, shouldn use it. THEY can map it to #!

SMF spam blocked by CleanTalk