Dear LuaTeX Team:

I'm trying to use a OTF feature file with luaotfload to increase side-bearings when using a text font in mathematics. It seems to work great for in-line math but does not seem to work at all in display math. I was hoping you might know why . . . . Please see attached files for an example. I'm using MikTeX 2.9.

Thanks for your time.

Lon Mitchell



Attachment: testfeature.pdf
Description: Adobe PDF document

\documentclass[12pt]{article}

\usepackage{luaotfload}
\usepackage[EU2]{fontenc}
\DeclareFontFamily{EU2}{mathfont}{}
\DeclareFontShape{EU2}{mathfont}{m}{it}{<->"Gentium-Italic:featurefile=testfeature.fea;+mkrn;"}{}
\DeclareSymbolFont{mathletters}{EU2}{mathfont}{m}{n}
\SetSymbolFont{mathletters}{normal}{EU2}{mathfont}{m}{it}
\DeclareMathSymbol{a}\mathalpha{mathletters}{"61}
\DeclareMathSymbol{b}\mathalpha{mathletters}{"62}

\begin{document}
$a+b$
\[ a+b \]
\end{document}
 languagesystem DFLT dflt;
 languagesystem latn dflt; 

feature mkrn {
position [a-z] <1000 0 2000 0>;
} mkrn;

Reply via email to