Fonts & Character SetsHow do I install fonts?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
thesourceofx
Posts: 10
Joined: Mon Sep 14, 2009 11:53 pm

How do I install fonts?

Post by thesourceofx »

I suppose that I might as well add this. I tried installing another font with tlmgr...the font is Arev...and when I try to use it with

Code: Select all

\usepackage[T1]{fontenc}
\usepackage{arev}
I get this error:

Code: Select all

kpathsea: Running mktexmf ecrm1000.mf
name = ecrm1000, rootname = ecrm, pointsize = 1000
mktexmf: empty or non-existent rootfile!
Cannot find ecrm1000.mf.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again>
                   relax
l.100 \fontencoding\encodingdefault\selectfont
Any idea why that's happening?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

How do I install fonts?

Post by phi »

This works for me:

Code: Select all

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{arev}
\begin{document}
a
\end{document}
So please post a minimum example that exhibits this error. As a side note, you don't have to load the fontenc package manually; it is loaded automatically by the arev package.
thesourceofx
Posts: 10
Joined: Mon Sep 14, 2009 11:53 pm

How do I install fonts?

Post by thesourceofx »

This exhibits the same error that I posted earlier:

Code: Select all

\documentclass{article}
\usepackage{arev}

\begin{document}
Hello World
\end{document}
So I really don't know what to do. Something must be missing for me, I just have no idea what it is and I don't have the ability to download the entire distribution of LaTeX on this crappy internet connection just to make sure.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How do I install fonts?

Post by localghost »

Possibly your map files are completely messed up. Open a command prompt with administrator rights and try to repair this at least for the arev font package.

Code: Select all

updmap-sys --enable Map=arev.map
An according command may solve this issue for the lxfonts.
thesourceofx
Posts: 10
Joined: Mon Sep 14, 2009 11:53 pm

Re: How do I install fonts?

Post by thesourceofx »

So I tried that and it didn't work, but I'm at a place with good internet so I'm trying to download more of the package via TeX Live. We'll see if that solves it.
thesourceofx
Posts: 10
Joined: Mon Sep 14, 2009 11:53 pm

Re: How do I install fonts?

Post by thesourceofx »

Alright, so last night I downloaded the "Extra Fonts" and "Recommended LaTeX Packages" from TeX Live and now I appear to be able to use all the fonts that it downloaded, so I guess whatever it did fixed the problem with the metric (TMF) files.
Post Reply