PDA

View Full Version : Font editor for NokiX



yak
27-01-2006, 03:11 PM
Hi there!

A friend of mine has just released his tool, a program to edit those *.font files created by export_ppm_fonts.nrx. You can also create a completly new font using it.

I also want to remind you, that write_windows_tags.nrx script is capable of creating new <FSx> tags from font files. So having a special font just for SMS editor isn't now a problem.

Excerpt from write_windows_tags.nrx:


Additional commands:

@addfont font=<font_file> id=<id>

Adds a font from <font_file> to system fonts and assigns
an id to it (id is a number), then you can use the id in
<FSx> tag (where x is the id). If you specify already used
id, it will be overwritten.

The program (Font Edit 1.00) by Mikesz can be found on this site:

http://nokia-by-mf.republika.pl

Have phun!
[Yak]

PS: Link changed, old didn't work any more.

dvirus666
29-01-2006, 02:02 PM
Nice little proggy. Great work. :-P

@ yak:
Is there anyway of deleting original fonts like small/bold etc in the flash?

yak
29-01-2006, 05:23 PM
Currently no. The problem is the format fonts are stored in. The tables of all build-in fonts are shared between all fonts. To remove some, parts of the tables would have to be cutted out and some offsets would have to be remapped. So far, nobody coded that :).

dvirus666
29-01-2006, 05:35 PM
Ok. thanks for the information. Might have a look myself then ;-)

sander18
29-01-2006, 08:30 PM
Is there anyway of deleting original fonts like small/bold etc in the flash?
if you want to use your own font instead of orginal you can use add_ppm_font.nrx script to overwrite it. the add_ppm_font.rx script checks if there is font with same name in flash, but you can delete or comment following lines:

/* check if this font is already in PPM */
do i=1 to count
pname1=substr(fontsdata,(44*i)+25,11)
pname1=left(pname1,pos(d2c(0),pname1)-1)
pname2=substr(fontsdata,(44*i)+36,6)
pname2=left(pname2,pos(d2c(0),pname2)-1)
if name1=pname1 & name2=pname2 then do
if vb>0 then say "Font ["name1"/"name2"] already exists in PPM, skipping..."
return name1"/"name2
end
end
then nokia should use your font instead of orginal one...

dvirus666
29-01-2006, 09:25 PM
Thanks for the info.
I also tried to RENAME the old font then add the new one using old names but, now I cant flash to test because cables are broken. Will have to wait till I get my new cables. :mad: :cry:

yak
29-01-2006, 10:42 PM
Yes, both solutions should work. Sander18's beacause added fonts are placed before the original ones and the FW searches them starting from the first.

BTW. Version 1.00 of the Font Edit was released. The usage is much more comfortable now. Link in the first post.

Mikesz
26-05-2006, 10:06 PM
Is there anyway of deleting original fonts like small/bold etc in the flash?
There is possible from today :)

You can use to this DCT-3 Edit which is found at http://www.republika.pl/nokia_by_mf/

After removing the font, should use the "Optimize fonts" function to restore the previous structure of font.

yak
27-05-2006, 01:52 AM
@ Mikesz

Thanks a lot for continues work on this fine piece of software! :-)

Mikesz
28-05-2006, 02:59 AM
@Yak, I try how I'm able :)

I would like to inform about the newest version of Font Edit - 1.08
In previous versions is a bug which could destroy the bitmap in some case.

This way so I recommend to use a new Font Edit 1.08.

Mikesz with kindest regards

yak
29-05-2006, 02:31 AM
Awesome, thanks a lot mate!

Font Edit is a MUST for every serious NokiX user :-).

Best,
[Yak]