Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Rainer Hoffmann
Allan Rae schrieb: On Wed, 6 Dec 2000, Rainer Hoffmann wrote: I build a new lyx and start it with src/lyx. Then I go to the preferences menu and change something small (e.g. adding an option for dvips). Then I click on save and the appearance of the document on the screen changes: All

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
"Rainer" == Rainer Hoffmann [EMAIL PROTECTED] writes: Rainer # # SCREEN FONTS SECTION # Rainer \screen_dpi 74 \screen_font_sizes 5,00 7,00 8,00 9,00 10,00 Rainer 12,00 0,00 0,00 0,00 0,00 That's the point where things failed. Why are these numbers output with

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Angus Leeming
On Wednesday 06 December 2000 09:30, Jean-Marc Lasgouttes wrote: "Rainer" == Rainer Hoffmann [EMAIL PROTECTED] writes: Rainer # # SCREEN FONTS SECTION # Rainer \screen_dpi 74 \screen_font_sizes 5,00 7,00 8,00 9,00 10,00 Rainer 12,00 0,00 0,00 0,00 0,00

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
"Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus Well, the only place that font_sizes[] are actually used: Angus src/lyxrc.h:222: float font_sizes[10]; FontLoader.C:232: int Angus fsize = int( (lyxrc.font_sizes[size] * lyxrc.dpi * Angus (lyxrc.zoom/100.0) ) / 72.27 + 0.5 ); Angus I'll

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Angus Leeming
On Wednesday 06 December 2000 10:38, Jean-Marc Lasgouttes wrote: "Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus Well, the only place that font_sizes[] are actually used: Angus src/lyxrc.h:222: float font_sizes[10]; FontLoader.C:232: int Angus fsize = int( (lyxrc.font_sizes[size]

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
"Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus I think, therefore that I should leave things as they are. Your Angus fix is the right one I think. Yes, we'll see that later. Angus The real question is why Rainer's preferences file contains the Angus sizes it does: \screen_font_sizes

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Angus Leeming
I've just discovered a small inconsistency here. I wasn't allowing the user to input anything other than an unsigned int for the screen font sizes. Since the defaults (on display) are: \screen_font_sizes 5.0 7.0 8.0 9.0 10.0 12.0 14.4 17.28 20.74 24.88 Then that was probably a little

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
"Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus I've just discovered a small inconsistency here. I wasn't Angus allowing the user to input anything other than an unsigned int Angus for the screen font sizes. Since the defaults (on display) are: Angus \screen_font_sizes 5.0 7.0 8.0 9.0

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Angus Leeming
On Wednesday 06 December 2000 11:29, Jean-Marc Lasgouttes wrote: "Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus I've just discovered a small inconsistency here. I wasn't Angus allowing the user to input anything other than an unsigned int Angus for the screen font sizes. Since the

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Stephan Witt
Jean-Marc Lasgouttes wrote: "Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus I've just discovered a small inconsistency here. I wasn't Angus allowing the user to input anything other than an unsigned int Angus for the screen font sizes. Since the defaults (on display) are:

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
"Stephan" == Stephan Witt [EMAIL PROTECTED] writes: Stephan I think it's a better solution to read/write from external Stephan file with non-locale functions to avoid the format problems Stephan when exchange files with other users or other program Stephan versions. But the user interface

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | On Wednesday 06 December 2000 10:38, Jean-Marc Lasgouttes wrote: | "Angus" == Angus Leeming [EMAIL PROTECTED] writes: | | Angus Well, the only place that font_sizes[] are actually used: | | Angus src/lyxrc.h:222: float font_sizes[10];

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Rainer Hoffmann
Allan Rae schrieb: > On Wed, 6 Dec 2000, Rainer Hoffmann wrote: > > > I build a new lyx and start it with src/lyx. Then I go to the > > preferences menu and change something small (e.g. adding an option for > > dvips). Then I click on save and the appearance of the document on the > > screen

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
> "Rainer" == Rainer Hoffmann <[EMAIL PROTECTED]> writes: Rainer> # # SCREEN & FONTS SECTION # Rainer> \screen_dpi 74 \screen_font_sizes 5,00 7,00 8,00 9,00 10,00 Rainer> 12,00 0,00 0,00 0,00 0,00 That's the point where things failed. Why are these numbers

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Angus Leeming
On Wednesday 06 December 2000 09:30, Jean-Marc Lasgouttes wrote: > > "Rainer" == Rainer Hoffmann <[EMAIL PROTECTED]> writes: > > Rainer> # # SCREEN & FONTS SECTION # > > Rainer> \screen_dpi 74 \screen_font_sizes 5,00 7,00 8,00 9,00 10,00 > Rainer> 12,00 0,00 0,00

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Well, the only place that font_sizes[] are actually used: Angus> src/lyxrc.h:222: float font_sizes[10]; FontLoader.C:232: int Angus> fsize = int( (lyxrc.font_sizes[size] * lyxrc.dpi * Angus> (lyxrc.zoom/100.0) ) / 72.27 + 0.5 );

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Angus Leeming
On Wednesday 06 December 2000 10:38, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Well, the only place that font_sizes[] are actually used: > > Angus> src/lyxrc.h:222: float font_sizes[10]; FontLoader.C:232: int > Angus> fsize = int(

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I think, therefore that I should leave things as they are. Your Angus> fix is the right one I think. Yes, we'll see that later. Angus> The real question is why Rainer's preferences file contains the Angus> sizes it does:

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Angus Leeming
I've just discovered a small inconsistency here. I wasn't allowing the user to input anything other than an unsigned int for the screen font sizes. Since the defaults (on display) are: \screen_font_sizes 5.0 7.0 8.0 9.0 10.0 12.0 14.4 17.28 20.74 24.88 Then that was probably a little

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I've just discovered a small inconsistency here. I wasn't Angus> allowing the user to input anything other than an unsigned int Angus> for the screen font sizes. Since the defaults (on display) are: Angus> \screen_font_sizes 5.0

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Angus Leeming
On Wednesday 06 December 2000 11:29, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I've just discovered a small inconsistency here. I wasn't > Angus> allowing the user to input anything other than an unsigned int > Angus> for the screen font

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Stephan Witt
Jean-Marc Lasgouttes wrote: > > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I've just discovered a small inconsistency here. I wasn't > Angus> allowing the user to input anything other than an unsigned int > Angus> for the screen font sizes. Since the defaults (on

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Jean-Marc Lasgouttes
> "Stephan" == Stephan Witt <[EMAIL PROTECTED]> writes: Stephan> I think it's a better solution to read/write from external Stephan> file with non-locale functions to avoid the format problems Stephan> when exchange files with other users or other program Stephan> versions. But the user

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 06 December 2000 10:38, Jean-Marc Lasgouttes wrote: | > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: | > | > Angus> Well, the only place that font_sizes[] are actually used: | > | > Angus> src/lyxrc.h:222: float

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Rainer Hoffmann
I build a new lyx and start it with src/lyx. Then I go to the preferences menu and change something small (e.g. adding an option for dvips). Then I click on save and the appearance of the document on the screen changes: All the fonts look smaller, the title is the same size as standard text. All

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Allan Rae
On Wed, 6 Dec 2000, Rainer Hoffmann wrote: I build a new lyx and start it with src/lyx. Then I go to the preferences menu and change something small (e.g. adding an option for dvips). Then I click on save and the appearance of the document on the screen changes: All the fonts look smaller,

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Rainer Hoffmann
I build a new lyx and start it with src/lyx. Then I go to the preferences menu and change something small (e.g. adding an option for dvips). Then I click on save and the appearance of the document on the screen changes: All the fonts look smaller, the title is the same size as standard text. All

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Allan Rae
On Wed, 6 Dec 2000, Rainer Hoffmann wrote: > I build a new lyx and start it with src/lyx. Then I go to the > preferences menu and change something small (e.g. adding an option for > dvips). Then I click on save and the appearance of the document on the > screen changes: All the fonts look