"Mike Hearn" mike@navi.cx wrote:
(*insertface)->fixed_width = ft_face->face_flags & FT_FACE_FLAG_FIXED_WIDTH;
...
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)))
This can't work because instead of logical boolean results you compare binary flags which are different:
#define FT_FACE_FLAG_FIXED_WIDTH ( 1L << 2 )
#define MONO_FONT 0x08