freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Pitch Smaller Than Bitmap Width + Make Build Errors


From: Mickey Gabel
Subject: Re: [ft] Pitch Smaller Than Bitmap Width + Make Build Errors
Date: Sun, 01 Feb 2009 22:17:29 +0200


-----Original Message-----
From: Wenlin Institute <address@hidden>
To: address@hidden
Date: Sun, 1 Feb 2009 10:36:33 -0800
Subject: Re: [ft] Pitch Smaller Than Bitmap Width + Make Build Errors

> 
> On Feb 1, 2009, at 8:50 AM, Mickey Gabel wrote:
> 
> > I found a strange case in FT2 (using 2.3.8) where I get a bitmap of  
> > width 20, but the pitch is 3.
> 
> pitch == 3 means three bytes, which is wide enough for 3 * 8 = 24  
> pixels (monochrome).
> 
> If the bitmap is supposed to be monochrome, there might be nothing  
> strange about it.
> 
> Tom
> 

I am using anti-aliasing to 8 bits per pixel (basically just the default
flags and rendering modes, not monochrome). 
Other characters are fine, and several other fonts too.

Actually I didn't check the bitmap type (pixel format) for this bitmap,
but is it possible that just this one glyph is rendered as 1 bpp (without
me asking for it) while all other glyphs being rendered as 8bpp (using the
same code)? I'll check it tomorrow when I'm in the office again, but I
doubt that's the issue.

It must be something else.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]