Sign up ×
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 using the latest version of lyx and I have selected a custom roman font in the settings menu in my document. I am using this font:

The problem I am encountering is that in the compiled PDF italic and bold text doesn't appear italic or bold, they appear without any special formatting. I know my font 'supports' bold/italic as I have the same font selected to use in the lyx editor and bold and italics show up properly.

Any ideas why this may be happening?

share|improve this question
Perhaps the font actually doesn't have these features, and LyX just fakes the italic and bold fonts in the editor. (Don't know it this is correct, hence posting it as a comment, not an answer.) – Torbjørn T. Jun 7 '12 at 17:53
From the link that you provided. There does not appear to be an italic version nor a bold version of the font. – JohnReed Jun 7 '12 at 18:28
The faked bold and italics in the editor look good enough for my use. Is there any way to make lyx use them in the PDF? I have tried adding \setmainfont[Mapping=tex-text,AutoFakeSlant=0.4]{Oxford} to the preamble, but this has no effect... – Jkh2 Jun 7 '12 at 19:15

1 Answer 1

up vote 3 down vote accepted

Opening the font in Font Manager it appears that the Oxford font does not have bold and italic features -- these show as being provided by the rendering library, as opposed to being provided by a font file. I would guess that LyX just fakes these features in the editor view.

As you yourself mention in a comment, fontspec (the package that handles loading of True Type and Open Type fonts) can fake these features, by adding to the preamble


Note that you have to use the XeTeX engine for this to work (at least the fake bold), so use View --> View (Other formats) --> PDF (XeTeX), and the equivalent for updating. This does not work with the LuaTeX engine.

share|improve this answer

Your Answer


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.