M.
2008-03-12 10:39:24 UTC
Hi,
is it possible to perform a similar conversion using FontForge? If
yes, could somebody tell the steps? I am not proficient in creating
fonts.
The most important thing is that the created ttf font hat exactly the
same height, ascender, descender, width as the original font. I will
not scale it at all; I only want to substitute a bit-mapped font by a
ttf font when converting a document from an old system to a new system
not supporting bitmap fonts. The appearance of the converted document
must correspond exactly to the original one.
Thank you
M.
is it possible to perform a similar conversion using FontForge? If
yes, could somebody tell the steps? I am not proficient in creating
fonts.
The most important thing is that the created ttf font hat exactly the
same height, ascender, descender, width as the original font. I will
not scale it at all; I only want to substitute a bit-mapped font by a
ttf font when converting a document from an old system to a new system
not supporting bitmap fonts. The appearance of the converted document
must correspond exactly to the original one.
Thank you
M.
Ok, Gentlemen,
Part 1: FON to BDF Convertion.
- File->New Font,
- File->Import->Bitmaps... (a_font.fon),
- File->Generate Font Files... (output bitmap font format: BDF),
- Rename "untitled.YY" to "a_font.bdf",
- Remember the values followed after the keyword "FONTBOUNDINGBOX" in a_font.bdf -
the font's WIDTH, HEIGHT, LEFT, BOTTOM (for example: 8 12 0 -2),
- Replace all "SWIDTH 0 0" and "SWIDTH 1000 0" values with "SWIDTH <WIDTH1> 0", where
WIDTH1 = WIDTH * 1000 / HEIGHT (for example: "SWIDTH 667 0").
Part 2: BDF to TTF Convertion (Using FontLab Studio 5).
- File->New,
- File->Font Info->Names and Copyright->Full Name: a_font,
- File->Font Info->Metrics and Dimensions: Set "Font's UPM size" to HEIGHT*100, scaling glyphs (1200),
- File->Import->Bitmap Font... (a_font.bdf),
- Edit->Select All,
- Tools->Background->Trace Pixels,
Glyph->Create Glyphs and Tools->Action->Metrics->Set width: <WIDTH1> (667),
- File->Font Info->Metrics and Dimensions: adjust the values according to the "Font's UPM size", for example
[Key dimensions]
Ascender = 900
Descender = -200
Caps height = 900
x height = 600
Check "Font is monospaced" if needed
...
Typo Ascender = 900
Typo Descender = -200
Typo Line Gap = 0
WinAscent = 1000
WinDescent = -200
...
- File->Generate Font: a_font.ttf
My best wishes to all Ladies :)
Thank You.
Vadim.
How can I convert vga855.fon (Terminal) to TTF/OTF?
In no way at all. Those are pixel fonts while ttf and otf are vector fonts...- File->New Font,
- File->Import->Bitmaps... (a_font.fon),
- File->Generate Font Files... (output bitmap font format: BDF),
- Rename "untitled.YY" to "a_font.bdf",
- Remember the values followed after the keyword "FONTBOUNDINGBOX" in a_font.bdf -
the font's WIDTH, HEIGHT, LEFT, BOTTOM (for example: 8 12 0 -2),
- Replace all "SWIDTH 0 0" and "SWIDTH 1000 0" values with "SWIDTH <WIDTH1> 0", where
WIDTH1 = WIDTH * 1000 / HEIGHT (for example: "SWIDTH 667 0").
Part 2: BDF to TTF Convertion (Using FontLab Studio 5).
- File->New,
- File->Font Info->Names and Copyright->Full Name: a_font,
- File->Font Info->Metrics and Dimensions: Set "Font's UPM size" to HEIGHT*100, scaling glyphs (1200),
- File->Import->Bitmap Font... (a_font.bdf),
- Edit->Select All,
- Tools->Background->Trace Pixels,
Glyph->Create Glyphs and Tools->Action->Metrics->Set width: <WIDTH1> (667),
- File->Font Info->Metrics and Dimensions: adjust the values according to the "Font's UPM size", for example
[Key dimensions]
Ascender = 900
Descender = -200
Caps height = 900
x height = 600
Check "Font is monospaced" if needed
...
Typo Ascender = 900
Typo Descender = -200
Typo Line Gap = 0
WinAscent = 1000
WinDescent = -200
...
- File->Generate Font: a_font.ttf
My best wishes to all Ladies :)
Thank You.
Vadim.