Descriptions of the Current Directory

VFlib-FreeType Enhanced Xserver for MkLinux

Japanese Page is here.

News

Files

This directory contains "X-VFlib-FT" related files.
	README.html                       : this file
	SPECS                             : spec files
	VFlib-FT-2.22pl10-2a.ppc.rpm      : VFlib-FT binary RPM
	VFlib-FT-2.22pl10-2a.src.rpm      : VFlib-FT source RPM
	VFlib-FT-VFjfm-2.22pl10-2a.ppc.rpm: JFM files (optional)
	VFlib-FT-devel-2.22pl10-2a.ppc.rpm: Development RPM (optional)
	Xpmac-VFlib.gz                    : X server with VFlib-FreeType extension
	freetype-1.0-3a.ppc.rpm           : freetype library RPM
	freetype-1.0-3a.src.rpm           : freetype source RPM
	freetype-devel-1.0-3a.ppc.rpm      : freetype devel RPM
	freetype-tools-1.0-3a.ppc.rpm      : freetype tools RPM
	scm-4.4-3glibc.ppc.rpm            : scheme inerpreter required by VFjfm RPM (optional)

Installation

# rpm -Uvh freetype-1.0-3a.ppc.rpm
# rpm -Uvh VFlib-FT-2.22pl10-2a.ppc.rpm
Now, you have to get some truetype fonts (generically called foobar something below):
# ls /usr/local/share/vflib/truetype
foobargothic.ttc
foobargothic.tti
foobarmincho.ttc
foobarmincho.tti

You need to edit /etc/vfontcap like:

# vi /etc/vfontcap
      ### TRUETYPE FONT (Windows fonts)
      foobar-mincho|FooBar mincho:\
             :ft=freetype:\
             :ff=/usr/local/share/vflib/truetype/foobarmincho.ttc:
      foobar-gothic|FooBar gothic:\
             :ft=freetype:\
             :ff=/usr/local/share/vflib/truetype/foobargothic.ttc:

At this point you can access these true type fonts from VFlib-enhanced applications. In order to use them from X, however, futher steps are necessary:

# mkdir -p /usr/lib/X11/fonts/VFlib
# cat > /usr/lib/X11/fonts/VFlib/fonts.dir
2
foobar-gothic.vflib -fb-gothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
foobar-mincho.vflib -fb-mincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
^D
# cd /usr/X11R6/bin
# cp <somewhere>/Xpmac-VFlib.gz .
# gunzip Xpmac-VFlib.gz
# chown root:root Xpmac-VFlib
# chmod a+x Xpmac-VFlib
# chmod u+s Xpmac-VFlib
# ln -sf Xpmac-VFlib X

Now you can start X and try the truetype fonts:

$ xlsfonts | grep foobar
-fb-gothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
-fb-mincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
$ xfd -fn `xlsfonts | grep fb-gothic`


Back to Keisuke Fujii's MkLinux Page
fujiik@jlcuxf.kek.jp Jun 1, 1998