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
\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
.tex
or.lyx
..tex
will be usable by more potential helpers..lyx
file or, preferably, the.tex
equivalent. I'm not talking about the code to compile - that is just runningxelatex
orlualatex
or whatever. It is the code for the document (a minimal version of that document) which is needed.\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
edit
link at the bottom left of your question. Paste the code. Hightlight and hit the{}
button or ctrl+k.