freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Problem in getting glyph advance.x property


From: Majid
Subject: [ft-devel] Problem in getting glyph advance.x property
Date: Wed, 4 Jul 2007 22:52:36 -0700 (PDT)

Hey
Hope everyone is fine
I am unable to get the glyph advance.x,it remains zero, advance.y value keep
on changing
I am using the folowing functions
after creating face...........

FT_GlyphSlot  slot = this->face->glyph;
-FT_Set_Char_Size

-this->GetIndex(ch); ///gey glyph index
-FT_Load_Glyph
FT_Render_Glyph
then lastly i'll call

pen.x+=slot->advance.x+2;

font Size is also not changing:(
Need a quick response
Regards Majid
-- 
View this message in context: 
http://www.nabble.com/Problem-in-getting-glyph-advance.x-property-tf4027860.html#a11441240
Sent from the Freetype - Dev mailing list archive at Nabble.com.





reply via email to

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