>>>>> "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 change font_sizes[] to int. Whilst I'm at it, I'll change
Angus> dpi too. 

Maybe you'll have to make sure that older lyxrc are read correctly
(still read the value as a float, maybe).

Also, I found out that I forgot to add a setlocale(LC_NUMERIC, "C") to
gettext.h. I'll do that.

JMarc

Reply via email to