I followed closely the instructions in this tutorial to install a fresh TeXLive on my Ubuntu system, including the fake package and the font cache instruction:

 sudo fc-cache -fsv

Still, I am unable to use the Garamond font which is supposed to be part of TeXLive.

This is demonstrated by the following simple file:

\DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ } 
The quick brown fox jumps over the sleazy dog.

Which fails to generate a PDF with the following error

!pdfTeX error: pdflatex (file ugmr8a.pfb): cannot open Type 1 font file for rea

Plain latex works just fine, but gain if I write dvipdf myfile.dvi I get the same error message:

dvips: ! Couldn't find font file ugmr8a.pfb

The tfm files seem to exist though:

find /usr/local/texlive/ -name "ugmr*"

Could the error be related to the instruction to remove Type 1 fonts in the tutorial?

enter image description here

I would greatly appreciate a direct answer solving this particular problem and/or a simple tutorial on how the KPS* and updmap work.

  • this link seems broken – Yossi Gil Apr 17 '15 at 21:08
  • 2
    Look at the extension: pdflatex doesn't complain about a .tfm but about a .pfb. The fonts are not part of texlive, but you can get them here ctan.org/tex-archive/fonts/urw/garamond – Ulrike Fischer Apr 17 '15 at 21:29
  • I forgot: you can also use getnonfreefonts to install the fonts; tug.org/fonts/getnonfreefonts – Ulrike Fischer Apr 17 '15 at 21:52
  • You need to use getnonfreefonts for the Garamond font used by mathdesign. You find instructions at tex.stackexchange.com/questions/47491/… (the question is about Mac OS X, but the answer is for generic Unix). – egreg Apr 17 '15 at 22:05
  • 1
    Use getnonfreefonts-sys - do NOT use getnonfreefonts. @egreg means getnonfreefonts-sys really, I think. – cfr Apr 17 '15 at 22:31

Your installation was correct. If you try other fonts, you would encounter no problems. You just were unlucky enough to try the Garamond font first. The KPSE* family and the updmap are not the issue here.

Apparently, the problem lies with the documentation at the LaTeX font catalog which claims that Garamond is part of TeXLive.

Garamond is only partially included with TeXLive. The .tfm files are included. But .tfm, an acronym for the "TeX Font Metric", only provides the dimensions of the font, but not its contents. The actual content is found in .pfb files, an acronym for "Printer Font Binary", which is used for specifying the shapes of Adobe Type 1 fonts.

Now, the .pfb files are part of the Garamond package, as you can see by checking here. But, they are not part of Ubuntu installation, probably due to reasons of purity, i.e., free software and the such.

So, if you are an Ubuntu purist, you should find avoid Garamond. If you are just experimenting, then there are many other fonts around. If you really need Garamond on Ubuntu, the comments below the question may be able to provide a work around.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.