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.

Based on this question, can someone explain this behavior:

\documentclass{article}
\usepackage{fontspec}
\setmainfont[
  SlantedFont={Linux Libertine O},
  SlantedFeatures={FakeSlant=0.30},
  BoldSlantedFeatures={FakeSlant=0.30},
  ]{Linux Libertine O}

  \begin{document}
      abc \textsl{abc} \textit{abc} \textsl{abc} \textbf{\textsl{abc}}
  \end{document}

enter image description here

It seems the fake slant only works after italics has been used. Am I doing something crazy or is this a very subtle bug?

share|improve this question

closed as off-topic by jonalv, Christian Hupfer, tohecz, Adam Liter, Przemysław Scherwentke Aug 4 at 15:26

  • 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.

2  
The font used in both instances is "LinuxLibertineO:mode=node;script=latn;language=DFLT;slant=0.30;", so I guess it's a bug of luaotfload. The same happens if you repeat the input preceded by, say, \large. –  egreg Sep 20 '13 at 15:23
    
Confirmed. It’s a bug in the fontloader, see this test file: bitbucket.org/phg/lua-la-tex-tests/src/… –  phg Sep 21 '13 at 12:08
3  
Update: this bug is fixed in the latest Luatex, version 0.78. –  phg Jan 2 at 0:37
1  
@jonalv At the moment you have to compile from source, which is pretty simple, though: 1) get the trunk from SVN foundry.supelec.fr/scm/?group_id=10 , 2) copy the file texmf.cnf from your tex live install to the source/texk/kpathsea directory, 3) in the luatex-trunk directory execute build.sh --parallel, 4) copy the binary from build/texk/web2c/luatex to the texlive bin directory, 5) remake the formats mktexfmt luatex etc., 6) profit. If you don’t have a compiler I’m afraid you are going to have to wait until somebody builds 0.78 for tex live. –  phg Jan 2 at 15:52
4  
This question appears to be off-topic because it is fixed in the latest update of texlive –  jonalv Aug 4 at 14:52

Browse other questions tagged or ask your own question.