freetype
[Top][All Lists]
Advanced

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

[Freetype] Bitmap and cbox size


From: Wallace Chigona
Subject: [Freetype] Bitmap and cbox size
Date: Thu, 20 Sep 2001 19:07:14 +0200

Hi again,
Related to my other positing "help with openGL (bitmap vs filled
polygons)".   I am looking for a width and height of a character.  I use
FT_Get_Cbox(_glyph, ft_glyph_bbox_pixels, &acbox) and then obtained the
width and height of the Cbox.  What I find surprising is that these
measurements differ with the bitmap measurements
(bitmap_glyph->bitmap.width and  bitmap_glyph->bitmap.rows) for the same
character (FT_Glyph_To_Bitmap(&tempGlyph, ft_render_mode_normal, 0, 1 ).

Is it supposed to be like that?

-- 
---{ Wallace Chigona address@hidden }---
Institut fuer Simulation und Graphic, Uni. Magdeburg
Telephone: (M)++49 160 1236184 (W)++49 391 6718065
------{ http://isgwww.cs.uni-magdeburg.de/~chigona }------



reply via email to

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