Ulrike Fischer a écrit le 24/06/2014 10:42 :

I just tested with fontspec 2.4a (on CTAN, not yet in texlive) and
the VerticalPosition-key is working again, and so also the
realscript package.

Until it find its way in texlive you could add this to your
preamble:

\ExplSyntaxOn
\DeclareDocumentCommand \realsuperscript {m} {%
   \fontspec_if_fontspec_font:TF
   { \fontspec_if_opentype:TF
     { \fontspec_if_feature:nTF {+sups}
       {{\addfontfeature{RawFeature=+sups}#1} } %
       {\fakesuperscript{#1} }
     }
     { \fontspec_if_aat_feature:nnTF {10} {1}
       { {\addfontfeature{VerticalPosition=Superior}#1} }
       { \fakesuperscript{#1} }
     }
   }
   { \fakesuperscript{#1} }
}
\ExplSyntaxOff


Thanks Ulrike for this very good news and for the patch!

Best wishes,
--
Daniel Flipo


Reply via email to