I have got a custom font from a professor which contains a character I need.
I got the following files: crystp.pfb, crystp.afm and crystp.tmf.
I also got the following instructions on how to install this font.
- copy the .tfm file into $miktexroot\fonts\ftm\public\cryst1
- copy the .afm file into $miktexroot\fonts\afm\public\cryst1
- copy the .pfb file into $miktexroot\fonts\type1\public\cryst1
- Append "p +cryst1.map" to $miktex\dvips\config\config.ps
- Create file cryst1.map in $miktexroot\dvips\cryst1 and append the line "cryst cryst1
- execute initexmf -u
- in the tex file I use:
\DeclareFontFamily{U}{cry}{\hyphenchar\font=-1}
\DeclareFontShape{U}{cry}{m}{n}{ <-> cryst}{}
\newcommand{\cry}1{{\usefont{U}{cry}{m}{n} \symbol{#1}}}
- to use the character I use
\cry{167}
- to create the pdf file I run
pdflatex test.tex
Alas, this does not work. The character is not printed. The log file tells me that this character is missing:
Missing character: There is no § in font cryst!
I used the program fontforge to take a look into the .pfb file and there I can see that my character is at the § place.
Unfortunately the professor is retired and does not work anymore. He also used this font years ago and only installed it. So he already told me, that he can not help me at all. I know that there already is a font called cryst, but it does not contain my character.
What am I missing?
@Update: The files
Best Answer
The map-file is not in the files you uploaded. But here an installation /use instruction without it:
localtexmf
localtexmf/fonts/tfm/crystp
localtexmf/fonts/type1/crystp
localtexmf
as new root in miktex settings or if you used an existinglocaltexmf
update its FNDB withinitexmf -u
Then run this document with pdflatex (it won't work with latex + dvips):
It should give a document with p and a fonttable.
You can later move the map-file line
crystp crystp <crystp.pfb
to a mapcrystp.map
and add this map withinitexmf --edit-config-file updmap
toupdmap.cfg
and then run updmap.