Click to See Complete Forum and Search --> : LED Sign Font Edit Help!


Vchat20
04-07-2003, 07:20 PM
ok. the LED Sign is a JS applet if anyone does not know. but here is my problem. I am trying to add 2 characters to the font file but it will not work. any reasons why?

P.S. the font file is attahced here.

viravan
04-07-2003, 08:57 PM
Could be any one of the following two reasons:

1) the applet is hardcoded to accept only so many characters.

2 you didn't change the third line of the font file to tell the applet how many characters to expect


:)

V.V.

Vchat20
04-07-2003, 09:17 PM
1) might be but I doubt it

2) already thought of that and counted it.

viravan
04-07-2003, 09:30 PM
The only thing left to suggest is to take a look at the source code for the applet if available.

:)

V.V.

viravan
04-07-2003, 09:34 PM
Just looked at the font file again and noticed that the last two characters added are non-ASCII character......this could be the reason why it didn't work. You may have to use two existing characters to represent what you wanted.

:)

V.V.

Vchat20
04-07-2003, 09:35 PM
hmm. well the 2nd to last is a real character. it is é. the last one is a pokeball, but i wanted it as an image for my sign.

viravan
04-08-2003, 10:17 AM
I am 99.9% sure that the applet's display is based on a set of displayable ASCII codes. ASCII codes 0 to 31 are not displayable (32 is a space) nor is 127 (DEL). That leaves you with 94 characters to display -- your font file has 96 characters.


:)

V.V.

Vchat20
04-08-2003, 01:27 PM
hmm. just a question. there is a program you can get that will turn any TrueType font into a LED Sign font automatically. I have tryed and go it to work with the "Harlow Solid Italic" font. that help any?

viravan
04-08-2003, 01:44 PM
I have tryed and go it to work with the "Harlow Solid Italic" font. that help any?


Help what???? If you've gotten it to work, then I don't understand what the question is.

:)

V.V.

Vchat20
04-08-2003, 01:49 PM
well, they are completely different fonts. but they can still be used with the LED Sign. all I want to do is add those 2 characters to the default font. any reasons why one works and not the other?

viravan
04-08-2003, 02:10 PM
At the risk of being redundant, if the applet is coded to handle only the displayable character set, that's all you're going to get. It is possible that the other applet makes provision for the entire 256 characters set. Without looking at the source code for the applet, that's the best I can tell you.

:)

V.V.