freetype
[Top][All Lists]
Advanced

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

[ft] differing advances


From: Ryan Underwood
Subject: [ft] differing advances
Date: Wed, 28 Feb 2007 09:23:10 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

When I do the following:

-------------------------------------------------------------
FT_Glyph tmpglyph;
err = FT_Glyph_Copy(m_glyph, &tmpglyph);
assert(err == FT_Err_Ok);

FT_Glyph_To_Bitmap(&tmpglyph, FT_RENDER_MODE_NORMAL, 0, true);
assert(tmpglyph->format == FT_GLYPH_FORMAT_BITMAP);
FT_BitmapGlyph bg = (FT_BitmapGlyph)tmpglyph;
-------------------------------------------------------------

The contents of tmpglyph->advance and bg->root.advance differ.

- Why is that?  It's only a typecast.
- What exactly is in tmpglyph->advance at this point?  For example,
  I have 0x00100000, which is far too large to be reasonable.

Just hoping I'm doing the right thing.

-- 
Ryan Underwood, <address@hidden>

Attachment: signature.asc
Description: Digital signature


reply via email to

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