>>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:
Dekel> On Mon, Oct 14, 2002 at 04:53:34PM +0200, Jean-Marc Lasgouttes Dekel> wrote: >> >>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: >> Dekel> 2. Ignore matches whose 12th field is zero, while its 7th field Dekel> is non-zero: @@ -143,6 +144,9 @@ void FontInfo::query() } Dekel> scalable = true; }; + if (sizes[i] > 0 && + Dekel> lyx::atoi(token(name, '-', 12)) == 0) + sizes[i] = 0; }; Dekel> XFreeFontNames(list); } >> I think this is the solution I prefer. This allows us to ignore >> false bitmap fonts. Dekel> Do you want it also in 1.2.2 ? Yes, if you are reasonably sure that all bitmap fonts have a non-null average width set. But I think this should not be a problem actually. JMarc
