Wine engine fix

Huw D M Davies h.davies1 at physics.ox.ac.uk
Fri Mar 22 16:29:56 CST 2002


On Fri, Mar 22, 2002 at 10:16:09PM +0100, Andreas Mohr wrote:
> 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.

There is one about 5 lines above this patch...

[actually I have a better patch than this that uses the panose data to get the
correct FF_* info, but that's another story]
Huw.



More information about the wine-devel mailing list