Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-22 Thread Edwin Leuven
> How do we set individual fonts in the combo box anyway ? I guess it must > be possible or you wouldn't have suggested it ;) I admit that I just blurted that out ;-) but perhaps like the kde people (as attached)? Ed. kfontcombo.tgz Description: application/tgz

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-21 Thread John Levon
On Fri, Nov 22, 2002 at 01:21:23AM +0100, Edwin Leuven wrote: > why not have "Baxloti Formica" in "Baxloti Formica" in the combobox and times > new roman as times new roman etc? This presumes that we can represent the font name in the font reasonably. How do we set individual fonts in the combo

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-21 Thread Edwin Leuven
On Thu Nov 21, 2002 21:05, John Levon wrote: > True, but it's better than having no idea at all what "Baxloti Formica" > looks like. why not have "Baxloti Formica" in "Baxloti Formica" in the combobox and times new roman as times new roman etc?

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-21 Thread John Levon
On Thu, Nov 21, 2002 at 10:00:50PM +0200, Dekel Tsur wrote: > BTW, is the font sample on the right of the combox needed ? > After all, the size of font of this text differs than the size you use on > the LyX screen, so it is possible that a font will not look good for the > sample text, but it wil

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-21 Thread Dekel Tsur
On Mon, Nov 18, 2002 at 07:29:52PM +, John Levon wrote: > On Sun, Nov 17, 2002 at 09:33:44PM +0200, Dekel Tsur wrote: > > Here is a patch for this (not very pretty). > > Comments ? > > Hmm, does this patch get it right if we have two font families with the > same name in different foundries ?

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-18 Thread Juergen Spitzmueller
John Levon wrote: > I suppose it's not possible for Qt font name to contain a "-" ? Note that the font family specification has changed between QT2 and QT3. In QT2, the format "foundry-family" was used, and QT3 introduced the new format "family [foundry]" (but the hyphenated one is still possi

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-18 Thread John Levon
On Sun, Nov 17, 2002 at 09:33:44PM +0200, Dekel Tsur wrote: > > All we need now is to somehow get sane defaults (currently all three > > default to the first font in the families list ...) > > Here is a patch for this (not very pretty). > Comments ? Hmm, does this patch get it right if we have t

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-17 Thread Dekel Tsur
On Sun, Nov 17, 2002 at 05:24:44PM +, John Levon wrote: > > All we need now is to somehow get sane defaults (currently all three > default to the first font in the families list ...) Here is a patch for this (not very pretty). Comments ? patch.gz Description: application/gzip

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-17 Thread John Levon
On Sun, Nov 17, 2002 at 07:12:27PM +0200, Dekel Tsur wrote: > - QFont f(fontFromString(screenfontsModule->screenRomanED->text())); > + QFont f(screenfontsModule->screenRomanED->text()); Stale now, I'm afraid. Can you look at the QFontDatabase stuff I've done. All we need now is to someho

Re: lyx-devel src/frontends/qt2/: ChangeLog QPrefsDialog.C

2002-11-17 Thread Dekel Tsur
On Sun, Nov 17, 2002 at 05:43:36PM +, [EMAIL PROTECTED] wrote: > CVSROOT: /usr/local/lyx/cvsroot > Module name: lyx-devel > Repository: lyx-devel/src/frontends/qt2/ > Changes by: [EMAIL PROTECTED] 02/11/17 17:43:36 > > Modified files: > lyx-devel/src/fron