[complete] "TomeNet fonts @ Linux" project
Posted: Sun Mar 20, 2016 2:30 pm
Goal of this project - to port my decorative font from Windows to Linux. My font for Windows could be downloaded there in .FON format: http://tangar.info/wp-content/uploads/2 ... 16X24X.FON
Its large (16x24) font and it looks like this: http://tangar.info/wp-content/uploads/2 ... font-1.jpg
Lets start:
1) Linux uses the PCF format for bitmap font files.
2) At Linux TomeNets' client fonts can't be found at game directory. TomeNet using system bitmap fonts which could be found there (at Ubuntu):
/usr/share/fonts/X11/misc/..
3) windows' client fonts have .FON format and could be edited with Fony - http://hukka.ncn.fi/?fony
4) I've read that its impossible to convert .FON to PCF directly, but we could save .FON file in Fony as .bdf and then convert .bdf to PCF
you could download .bdf which I converted there - http://tangar.info/wp-content/uploads/2 ... 16x24x.bdf
5) Now we need to convert .BDF to PCF. There is a special command:
http://manpages.ubuntu.com/manpages/nat ... pcf.1.html
bdftopcf 16x24x.bdf > 16x24x.pcf
But font become glitched. When you convert it - it becomes 12 pixels high (not 24 as it has to be):
https://lh3.googleusercontent.com/-Mwm- ... ftopcf.jpg
I've tried different options (-o, -i and others) its the same
Information about PCF format:
https://fontforge.github.io/pcf-format.html
http://fontforge.github.io/en-US/docume ... cf-format/
6) I found Linux bitmap editor to create PCF font from zero - gbdfed http://sofia.nmsu.edu/~mleisher/Software/gbdfed/ hope I'll be able to convert bdf there
---
update:
it seems bdf was converted right at step 5 everything is fine, FontForge just had a glitch of displaying PCF font.
Its large (16x24) font and it looks like this: http://tangar.info/wp-content/uploads/2 ... font-1.jpg
Lets start:
1) Linux uses the PCF format for bitmap font files.
2) At Linux TomeNets' client fonts can't be found at game directory. TomeNet using system bitmap fonts which could be found there (at Ubuntu):
/usr/share/fonts/X11/misc/..
3) windows' client fonts have .FON format and could be edited with Fony - http://hukka.ncn.fi/?fony
4) I've read that its impossible to convert .FON to PCF directly, but we could save .FON file in Fony as .bdf and then convert .bdf to PCF
you could download .bdf which I converted there - http://tangar.info/wp-content/uploads/2 ... 16x24x.bdf
5) Now we need to convert .BDF to PCF. There is a special command:
http://manpages.ubuntu.com/manpages/nat ... pcf.1.html
bdftopcf 16x24x.bdf > 16x24x.pcf
But font become glitched. When you convert it - it becomes 12 pixels high (not 24 as it has to be):
https://lh3.googleusercontent.com/-Mwm- ... ftopcf.jpg
I've tried different options (-o, -i and others) its the same
Information about PCF format:
https://fontforge.github.io/pcf-format.html
http://fontforge.github.io/en-US/docume ... cf-format/
6) I found Linux bitmap editor to create PCF font from zero - gbdfed http://sofia.nmsu.edu/~mleisher/Software/gbdfed/ hope I'll be able to convert bdf there
---
update:
it seems bdf was converted right at step 5 everything is fine, FontForge just had a glitch of displaying PCF font.