[XeTeX] Superscript in Linux Libertine
Will Robertson
wspr81 at gmail.com
Mon Feb 11 02:12:38 CET 2008
On 09/02/2008, at 9:39 PM, Till Rettig wrote:
> I tried recently to set a document with Linux Libertine (O) that
> should
> have old style numbers. Apparently this caused the use of normal old
> style numbers also for superscript numbers (e.g. for footnotes).
I would argue that this is a bug in the font, but there's a chance
it's XeTeX's fault instead (Jonathan?). Take a look how the font is
interpreting the features:
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec{Linux Libertine O}
[test 123]
\fontspec[Numbers=OldStyle]{Linux Libertine O}
[test 123]
\fontspec[VerticalPosition=Superior]{Linux Libertine O}
[test 123]
\fontspec[Numbers=OldStyle,VerticalPosition=Superior]{Linux Libertine O}
[test 123]
\end{document}
Or if you prefer in Plain XeTeX:
\font\x="Linux Libertine O:+onum" at 10pt\x [test 123]
\font\x="Linux Libertine O:+sups" at 10pt\x [test 123]
\font\x="Linux Libertine O:+onum,+sups" at 10pt\x [test 123]
\bye
Perhaps you could report this to the font maintainers? I believe that
the sups feature should override the onum feature...
I'm not sure if there's much that xltxtra can do about this, besides
adding a feature "\scriptfontfeatures{}" that overrides the features
of the main text font. This isn't such a bad idea, actually. I'll work
on it at some stage...
Cheers,
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080211/83cc4716/attachment.bin
More information about the XeTeX
mailing list