From: "Alain M." <alainm@pobox.com>
To: dosEmu-list <linux-msdos@vger.kernel.org>
Subject: Re: Font install manual
Date: Thu, 17 May 2007 00:22:59 -0300 [thread overview]
Message-ID: <464BCA93.6030503@pobox.com> (raw)
In-Reply-To: <464BB7AC.3070307@mindspring.com>
Ok here goes some part of it (I will sent it to the list so that others
can contribute).
Some of it I have for compiling from svn and some por post installing,
so please forgive me if it may get confusing.
--------------
Step 1) You will need a program to convert the fonts from the debian
project. The program is pcftobdf available, from
<http://www.tsg.ne.jp/GANA/S/pcf2bdf/>
tar -xzf pcf2bdf-1.04.tgz
# modify the Makefile.gcc (some line) from:
CC = gcc
# to
CC = g++
# install
make -f Makefile.gcc clean
sudo make -f Makefile.gcc install
# it would be nice if it could be uploaded somewhere in dosemu site
already corrected :)
-------------
Step 2) Get the VGA fonts from project debian/terminus
http://packages.debian.org/stable/x11/xfonts-terminus-dos
# downlaos the file: xfonts-terminus-dos_4.12-1_all.deb
# it is a newer version now...
# I don't know how to open it command line, so I opened it with ARK,
# and into the directory data.tar.gz I chose the file I want, in this case
/usr/X11R6/lib/X11/fonts/misc/ter-u14b_ibm850.pcf.gz
#and drag it to somewhere, they are identified as: inthis case 14 pixels
heigh and cp850.
# unzip:
gunzip -c ter-u14b_ibm850.pcf.gz >ter-u14b_ibm850.pcf
# now you need to convert it to dosemu format:
/usr/local/bin/pcf2bdf -o vga8x14-cp850.bdf ter-u14b_ibm850.pcf
/usr/local/bin/pcf2bdf -o vga10x20-cp850.bdf ter-u20b_ibm850.pcf
# I rename the font to a more dos-like name
Step 3) Install the font with dosemu compiled from source
# Copy the bdf file to the etc directory in dosemu
# Copy the second line of the .bdf file to etc/dosemu.alias like this:
vga8x14-cp850 -xos4-Terminus-Bold-R-Normal--14-140-72-72-C-80-IBM-CP850
vga10x20-cp850 -xos4-Terminus-Bold-R-Normal--20-200-72-72-C-100-IBM-CP850
# delete the directory /usr/local/share/dosemu/Xfonts
# and reinstall dosemu compilado compiled from fonts
----------
or) for dosemu in rpm (I don't find good annotations)
# install and reconfigure manualy the fonts in
/usr/local/share/dosemu/Xfonts/
# you also need to edit manualy the alias file in the font directory
# similar to step 3 above
# reconfigur X to recognize the fonts
mkfontdir /usr/local/share/dosemu/Xfonts
xset fp rehash
# but this needs .pcf.gz files, dosemu's install creates them
# I will have to look more if I can find how to do it.
I hope this is a good start,
Alain
next prev parent reply other threads:[~2007-05-17 3:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-17 3:07 WordPerfect 5.1 on DOSEMU 1.4.0 (wow!) David Testardi
2007-05-17 0:12 ` Font install manual (was: WordPerfect 5.1) Alain M.
2007-05-17 2:02 ` Font install manual Larry Alkoff
2007-05-17 3:22 ` Alain M. [this message]
2007-05-17 4:06 ` Larry Alkoff
2007-05-17 16:52 ` Alain M.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=464BCA93.6030503@pobox.com \
--to=alainm@pobox.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox