×
Namespaces

Variants
Actions

Fnttran usage

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: giridharn (21 May 2007)
Last edited: hamishwillee (30 Jul 2012)

fnttran creates a font store file from a font definition (text) file.

	Fnttran myfont.bdf myfont.gdr
 
//where myfont.bdf is the .bdf file
//myfont.gdr = The font store file to be created. This file has the extension gdr, and should be installed into the \System\Font directory.

For creation of .bdf file refer to SDK help.

Developer Library » Tools and Utilities » File conversion utilities reference » Bitmap distribution format files

A sample .bdf file format.

//Only two characters are described.

	STARTFONT 2.1
FONT lp12a
SIZE 9 100 100
FONTBOUNDINGBOX 7 11 -6 -1
STARTPROPERTIES 1
Uid 268458361
ENDPROPERTIES
CHARS 96
STARTCHAR 0020
ENCODING 32
SWIDTH 360 0
DWIDTH 5 0
BBX 1 1 0 0
BITMAP
00
ENDCHAR
STARTCHAR 0021
ENCODING 33
SWIDTH 720 0
DWIDTH 10 0
BBX 10 8 0 0
BITMAP
0B00
0900
7600
1080
3340
1A40
9640
D180
ENDCHAR
This page was last modified on 30 July 2012, at 13:36.
22 page views in the last 30 days.
×