19 Aug
2004
19 Aug
'04
11:06 a.m.
On Sat, Aug 07, 2004 at 04:20:11PM +0100, Mike Hearn wrote:
@@ -1717,9 +1719,12 @@ } }
+ /* match on charset and style */ if(!family) { for(family = FontList; family; family = family->next) { - if(csi.fs.fsCsb[0] & family->FirstFace->fs.fsCsb[0]) + + if((csi.fs.fsCsb[0] & family->FirstFace->fs.fsCsb[0]) && + (family->FirstFace->fixed_width == (lf.lfPitchAndFamily & MONO_FONT ? TRUE : FALSE))) if(family->FirstFace->scalable || can_use_bitmap) break; }
This also wouldn't work as you expect. The way to create a fixed pitch font is to use FIXED_PITCH not MONO_FONT. Which app was setting this flag? Huw. -- Huw Davies huw(a)codeweavers.com