LaTeX forum ⇒ Fonts & Character SetsInstalling a Type 1 font

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

Installing a Type 1 font

Postby PulpFan » Tue Aug 13, 2019 2:30 am

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] [Expand/Collapse] [Download] ({untitled.tex})
  1. #!/bin/bash
  2.  
  3. rm -rf files && mkdir files
  4.  
  5. cp opticharteroak.afm files/fcor8a.afm
  6. cp opticharteroak.pfb files/fcor8a.pfb
  7.  
  8. cd files
  9.  
  10. cat <<EOF > fco-drv.tex
  11. \input fontinst.sty
  12. \needsfontinstversion{1.926}
  13. \recordtransforms{fco-rec.tex}
  14. \latinfamily{fco}{}
  15. \endrecordtransforms
  16. \bye
  17. EOF
  18.  
  19. cat fco-drv.tex
  20.  
  21. tex fco-drv.tex
  22.  
  23. for file in *.pl; do pltotf ${file}; done
  24. 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] [Expand/Collapse] [Download] ({untitled.tex})
  1. \input finstmsc.sty
  2. \resetstr{PSfontsuffix}{.pfb}
  3. \adddriver{dvips}{fco.map}
  4. \input fco-rec.tex
  5. \donedrivers
  6. \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?

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

Postby PulpFan » Tue Aug 13, 2019 2:36 am

Oh - TeXLive 2016 with pdflatex on Linux


Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 0 guests