Wine engine fix
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Fri Mar 22 15:16:09 CST 2002
On Fri, Mar 22, 2002 at 09:55:35PM +0100, Eric Pouech wrote:
> "Dimitrie O. Paun" a écrit :
> >
> > On March 22, 2002 02:58 pm, Eric Pouech wrote:
> > > usually fixed fonts are in MODERN family
> > [...[
> > > + if (ptm->tmPitchAndFamily & TMPF_FIXED_PITCH)
> > > + ptm->tmPitchAndFamily |= FF_ROMAN;
> > > + else
> > > + ptm->tmPitchAndFamily |= FF_MODERN;
> >
> > Shouldn't this be the other way around?
>
> no... the TMPF_FIXED_PITCH is a f**** m**** API
> TMPF_FIXED_PITCH is set when the font isn't fixed... go figure
Well, then maybe better add a comment so that everyone never fails
to see this.
--
Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604 http://home.arcor.de/andi.mohr/
More information about the wine-devel
mailing list