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 am running this CV/Resume example from here:

Here is a relevant fraction of the code:

%!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

%Fonts and Tweaks for XeLaTeX
\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
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

! 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?

share|improve this question

closed as off-topic by Joseph Wright Jul 6 '13 at 6:08

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Based on the first answer and your response, the question is now "how do I acquire and install the Hoefler Text font on my Windows machine?" That's sort of out of the scope of this site but google is your friend. –  Matthew Leingang Apr 28 '11 at 20:42
If your new fonts are in ~/.fonts and not being recognized by mkluatexfontdb, try this: OSFONTDIR=${HOME}/.fonts:/usr/share/fonts//:/usr/share/texmf/fonts// mkluatexfontdb --force --verbose=-1 -vvv EDIT This is for Linux. For Windows sth equivalent ought to apply, though... –  nutty about natty Jul 2 '13 at 11:42
A this question is about installing the font on Windows, and it's system dependent, I suggest make your Linux answer to a comment instead or comment-link to your answer here which is exactly the same. Alternatively, you could change it to work with Windows, than it can remain as real answer of course. –  Stefan Kottwitz Jul 3 '13 at 9:38
@StefanKottwitz Generally agree, but I was so happy to find the solution after hours of plowing, that I can imagine others will benefit from knowing this, too. A comment is much less visible in comparison... I consider this a case of helpful redundancy. Haven't booted Windows in ages, but maybe someone who's currently using Windows can improve my answer to apply to Windows (, too)? –  nutty about natty Jul 3 '13 at 10:11
This question appears to be off-topic because it is really about fonts available (or otherwise) on a particular operating system, not the use of fonts with TeX. –  Joseph Wright Jul 6 '13 at 6:08

1 Answer 1

Hoefler Text is distributed with Mac OS X; I don't know if it can be used on a Windows system, as it is not an OpenType font. Just change the line

\setromanfont[Mapping=tex-text]{Hoefler Text}


\setmainfont[Mapping=tex-text]{Times New Roman}

or any other system font you have.

Notice that \setromanfont is deprecated in favor of \setmainfont, but that's not the problem.

share|improve this answer
I know, but it relaly looks cool and makes all the flavour in that layout. So, I am honestly looking for a way to migrate the font over to windows. Are there perhaps any fonts that look very similar or is there a way to convert with some sort of tool? –  user5190 Apr 28 '11 at 20:11
Looks like you can purchase Hoefler Text for use on one computer for ~$300. It looks like Wikipedia used to set their logo in Hoefler Text until they switched to the free font Linux Libertine. Perhaps that would be an acceptable alternative. –  Sharpie Apr 28 '11 at 21:08
@Mica: there are tools that convert fonts in .dfont format to TrueType. This doesn't imply it's legal. –  egreg Apr 28 '11 at 21:57
@egreg — right, I'm pretty sure it's not legal to even transfer the font to another computer, let alone to convert it into another format. Regardless, I seem to remember that these fonts are ‘crippled’ in a way that precludes a convenient way to convert them to OpenType, but that could have been an older version of the fonts. –  Will Robertson Apr 29 '11 at 5:10
On newer systems, Hoefler Text is an ordinary .ttc font which can be used everywhere. I've just tried it on my Linux machine, no problems. –  Philipp Apr 29 '11 at 7:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.