Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed tgif via synaptic package manager in Ubuntu 12.04.1 LTS. When I tried to run tgif from the terminal I got the following error message:

"Fatal Error in OpenFont(): Cannot open the Default(Msg)Font '-*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1'.
Tgif aborted.

Please let me know what to do.

share|improve this question

I encountered this issue too. I apt-get install xfonts-100dpi xfonts-75dpi x11-utils texlive-latex-base, reboot, then this issue was gone. Hope it helps in your case.

share|improve this answer
This made my tgif in 12.04 work, too. I wonder whether there is no better way than to reboot. A sudo fc-cache -f -v did not help. – ubuplex Feb 3 '14 at 15:58

I encountered the same issue on Ubuntu 14.04 LTS, but easily recovered with sudo apt-get install gsfonts-x11 as

$ sudo apt-get install tgif
$ tgif foo.obj
Fatal Error in OpenFont(): Cannot open the Default(Msg)Font '-*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1'.
$ sudo apt-get install xfonts-75dpi   # may be installed by default
$ sudo apt-get install gsfonts-x11    # important
$ xset fp rehash                      # do not need reboot
$ tgif foo.obj                        # OK!

See .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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