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 im****tant 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 do***ent from an old system to a new system
not sup****ting bitmap fonts. The appearance of the converted do***ent
must correspond exactly to the original one.
Thank you
M.
Vadim Volevach schrieb:
> Ok, Gentlemen,
>
> >> 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...
>
> this is my very humble opinion, and a correct answer (for screen purpose
only) could be:
>
> Part 1: FON to BDF Convertion.
> For example, using the Macromedia Fontographer ver.4.1 (Windows 98, not
XP!):
> - File->New Font,
> - File->Im****t->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->Im****t->Bitmap Font... (a_font.bdf),
> - Edit->Select All,
> - Tools->Background->Trace Pixels,
> - (If needed) Select the "space" cell, execute:
> 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
> (assume "UPM size" = 1200):
> [Key dimensions]
> Ascender = 900
> Descender = -200
> Caps height = 900
> x height = 600
> Check "Font is monospaced" if needed
> ...
> [TrueType-specific metrics] : "Set custom values" :
> 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.


|