Georg Baum a écrit :
Abdelrazak Younes wrote:

Hello,

Mathed doesn't seem to work with the qt4 frontend. Symbols are not
displayed at all, equations just show empty blue square.

Here I get every symbol displayed in red.

Is it due to some recent changes? I know I haven't touch anything at all
on the pixmap painting (QLPainter).

But math is rendered with fonts. The output of -dbg font tells me that the
qt4 font handdling in LyX is broken:

It was working a few days ago. I am compiling qt2 frontend right now to see the difference. -dbg font tells me:

Setting debug level to font
Debugging `font' (Font handling)
Language code:C
Setting new locale for Qt:C
lyx: Disabling LyX socket.
Font 'Sans Serif, Bold, Upright, Normal, yellow, Emphasis Off, Underline Off, Noun Off, Language: English' matched by

The font has size: 15
This font is NOT an exact match
XFLD:
Font 'Roman, Medium, Upright, Normal, none, Emphasis Off, Underline Off, Noun Off, Language: English' matched by

The font has size: 15
This font is NOT an exact match
XFLD:
Looking for font family eufm10 ... raw: eufm10
alleged fi family:
 got it normal!
Looking for font family cmsy10 ... raw: cmsy10
alleged fi family:
 got it normal!
Looking for font family cmmi10 ... raw: cmmi10
alleged fi family:
 got it normal!
Looking for font family cmr10 ... raw: cmr10
alleged fi family:
 got it normal!
Looking for font family cmex10 ... raw: cmex10
alleged fi family:
 got it normal!
Looking for font family msam10 ... raw: msam10
alleged fi family:
 got it normal!
Looking for font family msbm10 ... raw: msbm10
alleged fi family:
 got it normal!
Looking for font family wasy10 ... raw: wasy10
alleged fi family:
 got it normal!
Font 'Roman, Medium, Italic, Normal, math, Emphasis Off, Underline Off, Noun Off, Language: English' matched by


The font has size: 15
This font is NOT an exact match
XFLD:

Does it seem correct to you?

Welcome to Qt font hell :-)

Indeed

Abdel

Reply via email to