Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've got a fresh Arch Linux box with fresh full TeX Live installed. The installation seems to include cm-unicode fonts and lualatex seems to find them correctly, but when I run fc-list the output contains only a couple of system fonts. How can I get the list of available fonts? Is there any way to fix fc-list or should I use another utility?

share|improve this question

2 Answers 2

up vote 8 down vote accepted

As far as I know, LuaLaTeX doesn't use fc-list, but rather caches fonts using luaotfload.lua.

In order to make all otf fonts in TeX Live known to your system, run

cp $(kpsewhich -var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
fc-cache -fsv

as superuser. This is actually necessary for XeTeX and XeLaTeX.

share|improve this answer

you can create a local config file .fonts.conf in your home directory if you have no root access:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <dir>/usr/local/texlive/2011/texmf-dist/fonts/opentype</dir>
 <dir>/usr/local/texlive/2011/texmf-dist/fonts/truetype</dir>
 <dir>/usr/local/texlive/2011/texmf-dist/fonts/type1</dir>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>none</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintmedium</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
share|improve this answer

Your Answer

 
discard

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.