Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-20 Thread Will Robertson
On 2010-08-18 19:24:01 +0930, "M. Niedermair" said: Is there a way to display with fontspec all supported features of a special font? No (eventually planned), but you can use the opentype-info.tex "document" to do this. Are all standard otf feature mapped to fontspec-parameters? If not

Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-18 Thread M. Niedermair
Hi Will, \newfontfamily\libertineX[Mapping=tex-text, RawFeature=+liga% ;+pnum ]{Linux Libertine O} ... You can change the rawfeature as you like. smcp, frac, hlig, dlig, lnum, pnum, zero, ... While there's nothing wrong with this, I'll just

Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-17 Thread Will Robertson
On 2010-08-17 08:23:15 +0930, Tobias Schoel said: \defaultfeatures{Numbers=OldStyle} gives medieval numbers, \addfontfeature{Numbers=Lining} afterwards keeps medieval numbers. Minimal Example: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Numbers={OldStyle}} \setmainfont

[XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-17 Thread Georg A. Duffner
Peter Baker wrote: … The various OpenType features are supposed to do this: lnum (Lining Numbers) converts oldstyle-height numbers to full-height tnum (Tabular Numbers) converts proportional-width numbers to fixed-width pnum (Proportional Numbers) converts fixed-width numbers to proportional-wi

Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-17 Thread M. Niedermair
Hi, try \documentclass{article} \usepackage[osf]{libertine} \newfontfamily\libertineX[Mapping=tex-text, RawFeature=+liga% ;+pnum ]{Linux Libertine O} \begin{document} A0123456789 {\libertineX B0123456789 } A0123456789 \end{document} tested

Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-16 Thread Peter Baker
There are four sets of numbers in Libertine, but how they are invoked seems not to have been thought through completely. For the number one, for example, there are these: one (full height, fixed width) one.fitted (full height, proportional width) one.oldstyle (oldstyle height ("lower-case"), pr

Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-16 Thread Peter Baker
There's definitely something odd going on with the font. I can't get it to work in FontForge either. The OpenType lookups re: numbers look a tangle. I'll try to figure out what's going on, then maybe we can submit a bug report. Peter On 08/16/2010 07:06 PM, Fr. Michael Gilmary wrote: Tobias

Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-16 Thread Fr. Michael Gilmary
Tobias Schoel wrote: Minimal Example: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Numbers={OldStyle}} \setmainfont[Mapping=tex-text]{Linux Libertine O} \begin{document} A0123456789 \addfontfeatures{Numbers={Lining}}A0123456789 \end{document} XeLaTeX from current TeX-Liv

[XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-16 Thread Tobias Schoel
Hi, is this the desired behaviour or a bug: \defaultfeatures{Numbers=OldStyle} gives medieval numbers, \addfontfeature{Numbers=Lining} afterwards keeps medieval numbers. Minimal Example: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Numbers={OldStyle}} \setmainfont[Mappi