I am running this CV/Resume example from here:
Here is a relevant fraction of the code:
\documentclass[10pt]{article}
%!TEX encoding = UTF-16
% See geometry.pdf to learn the layout options. There are lots.
\usepackage[hmargin=1.25cm, vmargin=1.5cm]{geometry}
%symbols - the ones you see on the left of the email and of the phone
\usepackage{bbding}
\usepackage{amssymb}
\usepackage{eurosym}
%Colors/Graphics
\usepackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
%Fonts and Tweaks for XeLaTeX
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Hoefler Text}
...
So... when compiling with LuaLaTeX (part of MiKTeX on Windwos XP x64), I am getting the following error:
...
luaotfload | Font names database loaded: C:/Documents and Settings/Ampleforth/L
ocal Settings/Application Data/MiKTeX/2.9/luatex-cache/generic/names/otfl-names
.lua
luaotfload | Updating the font names database:
luaotfload | Scanning TEXMF and OS fonts...
luaotfload | Font names database saved: %s
: C:/Documents and Settings/Ampleforth/Local Settings/Application Data/MiKTeX/2
.9/luatex-cache/generic/names/otfl-names.lua
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "HoeflerText" cannot be found.
!
! See the fontspec documentation for further information.
! For immediate help type H <return>.
!...............................................
l.28 \setromanfont[Mapping=tex-text]{Hoefler Text}
What is wrong? How can I install this font so LuaLaTeX is picking it up? Where to download? Any other thoughts about this?
~/.fonts
and not being recognized bymkluatexfontdb
, try this: OSFONTDIR=${HOME}/.fonts:/usr/share/fonts//:/usr/share/texmf/fonts// mkluatexfontdb --force --verbose=-1 -vvv EDIT This is forLinux
. For Windows sth equivalent ought to apply, though...