Am Mittwoch, 15. März 2006 19:09 schrieb Rudi Gaelzer:

> It seems to me that this bug appeared after I imported the TrueType 
fonts from 
> the windows partition using the automatic engine provided by drakkonf, 
but 
> I'm not 100% sure that this is the source of the problem.

This could be the source of the problem, see below.

> I thought that I  
> could remedy the problem changing the characters codes in the symbols 
file, 
> but this file has not changed after I imported the TrueType fonts.  In 
fact, 
> this file seems to be exactly the same, irrespective of LyX version and 
> target distribution.  So, I think this is really useless.

The symbols file is distributed with LyX and depends only on the version 
of LyX. It does sometimes change a bit, but most of it is the same for 
recent versions. The character codes should not be changed, because the 
positions of the characters in the used fonts are fixed.

> I'm somewhat at a loss here.  Do you have any suggestion about where I 
could 
> look for the source of the problem?

I remember that the ttf font package for windows had some symbols at the 
wrong position and was corrected some time ago. Maybe you reinstall it 
(or remove the windows fonts from your Linux box completely, all modern 
distros come with a package called latex-xft-fonts or similar that works) 
and try again.

You can find out what fonts are used by starting LyX with -dbg font in a 
terminal window. It will spit out lines like

Looking for font family eufm10 ... raw: xft
alleged fi family: eufm10 [unknown]
 got it (Xft) normal!
Looking for font family cmsy10 ... raw: xft
alleged fi family: cmsy10 [unknown]
 got it (Xft) normal!
Looking for font family cmr10 ... raw: xft
alleged fi family: cmr10 [unknown]
 got it (Xft) normal!
Looking for font family cmmi10 ... raw: xft
alleged fi family: cmmi10 [unknown]
 got it (Xft) normal!
Looking for font family cmex10 ... raw: xft
alleged fi family: cmex10 [unknown]
 got it (Xft) normal!
Looking for font family msam10 ... raw: xft
alleged fi family: msam10 [unknown]
 got it (Xft) normal!
Looking for font family msbm10 ... raw: xft
alleged fi family: msbm10 [unknown]
 got it (Xft) normal!
Looking for font family wasy10 ... raw: xft
alleged fi family: wasy10 [unknown]
 got it (Xft) normal!

when you open a math formula. Then you know whether it did find the fonts. 
If they are not found they are not correctly installed. If they are found 
they may be broken. In this case find out (consult the mandriva 
documentaion if you don't know how) where the cmmi font is installed (it 
contains for example \epsilon). Open it with fontforge and look whether 
epsilon is at the correct position.


Georg

Reply via email to