Fonts & Character SetsCan't load font because metric data is not found.

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
arjaan93
Posts: 7
Joined: Fri Feb 19, 2016 12:11 am

Can't load font because metric data is not found.

Post by arjaan93 »

Hi everybody,

I downloaded a latex template for a resume. I installed the fonts and switched the compiler to LuaLaTex or XeLaTex but I receive the same message with both compiling methods:

! Font \fb=''[cmr10]'' not loadable: metric data not found or bad.<to be read again>\par

Does anyone have any suggestions how to fix this?

Tnx in advance!

Kind regards,

Arjaan

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Can't load font because metric data is not found.

Post by Johannes_B »

Welcome,
mind telling us which template you downloaded? The log-file would also be helpful.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
arjaan93
Posts: 7
Joined: Fri Feb 19, 2016 12:11 am

Re: Can't load font because metric data is not found.

Post by arjaan93 »

Thanks for the quick reply.

It's the Plasmati Graduate CV

(http://www.latextemplates.com/template/ ... raduate-cv)

I'm using Texmaker. The log file in the attachment is obtained when I run the template in XeLaTeX.
Attachments
LOG FILE.txt
(46.43 KiB) Downloaded 494 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Can't load font because metric data is not found.

Post by Johannes_B »

From the log file i can see that your system is a bit outdated. An update of MikTeX would be the very first thing i would do and check if that resolves things.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Can't load font because metric data is not found.

Post by Johannes_B »

Replace the line \font\fb=''cmr10'' with \newcommand{\fb}{\fontspec{Latin Modern Roman}}.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
arjaan93
Posts: 7
Joined: Fri Feb 19, 2016 12:11 am

Re: Can't load font because metric data is not found.

Post by arjaan93 »

Thank you for sharing your infinite wisdom with me. It was indeed the outdated MikTeX distribution!
Post Reply