This document compiles (in XeLaTeX), but the boldface numbers are set oldstyle. Why? How to use boldface lining digits with Linux Libertine?
\documentclass{article}
\RequirePackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O}
\def\Lpnum#1{{\addfontfeatures{RawFeature=+lnum;+pnum;-tnum;-onum}#1}}
\begin{document}
123\Lpnum{456}\textbf{\Lpnum{789}}
\end{document}
%%% Local Variables:
%%% TeX-engine:xetex
%%% End:
addfontfeaturesdoesn't actually change any fonts. – Brent.Longborough Apr 14 '12 at 11:41