Fonts & Character SetsInstalling a Type 1 font

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
PulpFan
Posts: 9
Joined: Thu Aug 08, 2019 8:01 pm

Installing a Type 1 font

Post by PulpFan »

The pfb file: opticharteroak.pfb
The afm file: opticharteroak.afm

I used the font name fco8a.afm and fco8a.pfb as shown here:

Code: Select all

#!/bin/bash

rm -rf files && mkdir files

cp opticharteroak.afm files/fcor8a.afm
cp opticharteroak.pfb files/fcor8a.pfb

cd files

cat <<EOF > fco-drv.tex
\input fontinst.sty
\needsfontinstversion{1.926}
\recordtransforms{fco-rec.tex}
\latinfamily{fco}{}
\endrecordtransforms
\bye
EOF

cat fco-drv.tex

tex fco-drv.tex

for file in *.pl; do pltotf ${file}; done
for file in *.vpl; do vptovf ${file}; done
I put them in the right place according to TDS and created a map file using:

Code: Select all

\input finstmsc.sty
\resetstr{PSfontsuffix}{.pfb}
\adddriver{dvips}{fco.map}
\input fco-rec.tex
\donedrivers
\bye
ran texhash and updmap-sys --enable Map=fco.map

However when I use

\fontfamily{fco}\selectfont\Huge

The result is some font called comfortaa

Nice font, but not what I want.

What went wrong?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

PulpFan
Posts: 9
Joined: Thu Aug 08, 2019 8:01 pm

Installing a Type 1 font

Post by PulpFan »

Oh - TeXLive 2016 with pdflatex on Linux
Post Reply