Fonts – Problems with Fonts

fontsmiktex

I'm an average user of LaTeX, but not proficiency.
I'm trying to learn from book templates I've found on the web, but I get this error message:

Trying to make PK font ccicons at 1493 DPI...
Running miktex-makemf.exe...
miktex-makemf: The ccicons source file could not be found.
Running ttf2pk.exe...
miktex-makemf: PK font ccicons could not be created.

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

!pdfTeX error: pdflatex.exe (file ccicons): Font ccicons at 1493 not found
 ==> Fatal error occurred, no output PDF file produced!

I'm using MiKTeX (over Windows 7), and according to the MiKTeX package manager the "ccicons" package is already installed.

Could you please help me solve this problem?

Best Answer

As happens from time to time, MiKTeX's installation of the fonts doesn't update the postcript fonts database, in particular psfonts.map & friends. These are to be found in C:\Users\<Your personal account>\AppData\MiKTeX\2.9\dvips\config and in C:\Program Data\MiKTeX\2.9\dvips\config.

In order to update these files, you just have to launch:

initexmf --mkmaps (or updmap)

(and additionally --verbose, if you want to read what happens) from the command line.

Forgotten: 1) if you want all those changes work for any user, you also should launch from the command-line as administrator:

initexmf --admin --mkmaps (or  updmap --admin)

This command updates psfonts.map & friends in C:\ProgramData\MiKTeX\…, thus giving access to the font for every user.

2) It also may happen that MiKTeX forgets to mention the font in a file named updmap.cfg, which is located in C:\Users\<User Name>\AppData\Roaming\MiKTeX\2.9\miktex\config\. Mentioning the font in updmap.cfg is required for the procedure to work. If this is the case, you should edit/create updmap.cfg with the following command-line:

initexmf --edit-config-file updmap

and add two lines, say in your case:

#ccicons
Map ccicons.map