# My font shows up in the font list, but the document won't compile?

I'm using Lyx. I've got XeTex installed, and I downloaded a futura font clone. I installed it using the font viewer. OpenOffice can see and use it. However, when I go into Lyx to the following path

Document->Settings->Fonts

and choose "Use non-TeX fonts (via XeTex/LuaTeX)" and "Futura Lt BT" from the list, it won't compile. Instead, it will give

fontspec error: "font-not-found

Font \EU2/FuturaLtBT(0)/m/n/10=FuturaLtBT:mode=node;+tlig;+trep; at 10pt not l

I've made sure the font is in a directory with the other truetype fonts, in a custom file.

Mimimum code which produces the error output looks like

\lyxformat 413
\begin_document
\textclass article
\language english
\font_roman Futura Lt BT
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts true

\graphics default

\begin_body

\begin_layout Standard
Test
\end_layout

\end_body
\end_document

• Welcome! Please provide the code which gives the error in the form of a minimal non-working example i.e. a complete but minimal document. You can either provide .tex or .lyx. .tex will be usable by more potential helpers. – cfr Mar 13 '17 at 21:47
• I'm sorry, I'm not quite sure what you mean. Using lyx requires no code. The only command required is 'ctr-r' to generate the document. Instead of creating a PDF, it brings up the above error. – Zack Vacanti-Mitchell Mar 13 '17 at 22:47
• LyX hides the code from you, but it is still there. We need to see the code which produces the error. Make the smallest document you can which gives the error and then either post the .lyx file or, preferably, the .tex equivalent. I'm not talking about the code to compile - that is just running xelatex or lualatex or whatever. It is the code for the document (a minimal version of that document) which is needed. – cfr Mar 13 '17 at 23:27
• I'm sorry, I can't get the formatting right. I've got double spaces after each line. I'm not sure what I'm doing wrong, but pasting the code into the comment box just gives \lyxformat 413 \begin_document \begin_header \textclass article \language english \font_roman Futura Lt BT \font_sans default \font_typewriter default \font_default_family default \use_non_tex_fonts true \graphics default \end_header \begin_body \begin_layout Standard Test \end_layout \end_body \end_document – Zack Vacanti-Mitchell Mar 14 '17 at 0:04
• Use the edit link at the bottom left of your question. Paste the code. Hightlight and hit the {} button or ctrl+k. – cfr Mar 14 '17 at 0:04