Hello George,

I think this is explained by the documentation, see section 3
of the following page:

  http://www.freetype.org/freetype2/docs/glyphs/glyphs-7.html

You need to translate your outline before calling FT_Outline_Get_Bitmap,
you want to lower-left corner of your rectangle to match (0,0) in
vector space.

Hope this helps,

- David


On 28 Sep 2006 16:48:33 -0700, "George Williams" <[EMAIL PROTECTED]> said:
> I am trying to rasterize a rectangle which is centered around y==0.
> 
> I get a bitmap half as high as I expect. 
> 
> More complicated tests suggest that everything below y==0 is clipped.
> 
> Test file included.
> 
> (Note: I do not have a Face open. I'm going directly from an FT_Outline
> to an FT_Bitmap).
- David Turner
- The FreeType Project  (www.freetype.org)



_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to