Re: Using reasonable Qt font defaults (was: lyx crash)

2004-05-18 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dienstag, 18. Mai 2004 03:59, John Levon wrote: > On Tue, May 18, 2004 at 01:42:58AM +0200, Kornel Benko wrote: > > > The patch I am using now without any crash is attached. The selected fonts may > > have some unwanted default value, but at least

Re: Using reasonable Qt font defaults

2004-05-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Maurizio" == Maurizio Monge <[EMAIL PROTECTED]> writes: > | Maurizio> Hello. I compiled lyx cvs (lyx-devel) on and amd64-pc-linux, | Maurizio> with gcc-3.4, latest binutils and qt font-end (qt-3.3.2). > | Maurizio> I get: > | Maurizio> t

Re: Using reasonable Qt font defaults (was: lyx crash)

2004-05-17 Thread John Levon
On Tue, May 18, 2004 at 01:42:58AM +0200, Kornel Benko wrote: > The patch I am using now without any crash is attached. The selected fonts may > have some unwanted default value, but at least you are then able to select your > own font with the lyx-UI. Hmm, that's interesting. Why would fromqstr(

Re: Using reasonable Qt font defaults (was: lyx crash)

2004-05-17 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Montag, 17. Mai 2004 15:14, Jean-Marc Lasgouttes wrote: > > "Maurizio" == Maurizio Monge <[EMAIL PROTECTED]> writes: > > Maurizio> Hello. I compiled lyx cvs (lyx-devel) on and amd64-pc-linux, > Maurizio> with gcc-3.4, latest binutils and qt fon

Re: Using reasonable Qt font defaults

2004-05-17 Thread John Levon
On Mon, May 17, 2004 at 04:56:32PM +0200, Jean-Marc Lasgouttes wrote: > John> It looks wrong. For starters, these default aliases should exist > John> on any sane Qt system using Xft. Secondly, even if they don't > John> exist, the created font should change to a default, NOT return a > John> NULL

Re: Using reasonable Qt font defaults

2004-05-17 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Mon, May 17, 2004 at 03:14:42PM +0200, Jean-Marc Lasgouttes John> wrote: >> The problem seems to be related to the use of the "sans" font >> family which is unknown from qt. Could you try the attached patch >> which has been send by K

Re: Using reasonable Qt font defaults (was: lyx crash)

2004-05-17 Thread John Levon
On Mon, May 17, 2004 at 03:14:42PM +0200, Jean-Marc Lasgouttes wrote: > The problem seems to be related to the use of the "sans" font family > which is unknown from qt. Could you try the attached patch which has > been send by Kornel Benko a while ago? It looks wrong. For starters, these default