Javier Múgica wrote:
I finally got started with LuaTex. I loaded OpenType fonts with the sample code form the wiki and the fixes suggested by Jonathan some months ago. I get this very different spacing with lmr10:

\input otffont.ltex  %Here is the callback
\font\tenrm=ec-lmr10
\font\ottenrm=LMRoman10-Regular

\setbox0 \hbox{\tenrm{} } \showthe\wd0

3.33333 pt

\setbox0 \hbox{\ottenrm{} } \showthe\wd0

2.5 pt

Any ideas how to solve it?

you can set space related fontdimens to the values that you prefer

latin modern opentype is not compatible with *-lmr (the can be differences in dimensions, kerns, ligatures)

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

Reply via email to