Re: [ft] Outline Tags

2006-08-31 Thread Werner LEMBERG

 If I understand the documentation correctly, the possible values in
 the array outline-tags are FT_Curve_Tag_On, FT_Curve_Tag_Conic or
 FT_Curve_Tag_Cubic.

ORed by FT_CURVE_TAG_TOUCH_X and FT_CURVE_TAG_TOUCH_Y.  Use the macro
FT_CURVE_TAG to filter them out.

I've fixed that in the glyphs-6.html file.  Note that those documents
are quite old and don't completely reflect the current status of
FreeType.


Werner


___
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype


Re: [ft] Outline Tags

2006-08-31 Thread LonelyStar

I just learned of FT_Outline_Decompose, which does the trick for me.
Thanks for the answer!

Nathan


Werner LEMBERG wrote:
 
 
 If I understand the documentation correctly, the possible values in
 the array outline-tags are FT_Curve_Tag_On, FT_Curve_Tag_Conic or
 FT_Curve_Tag_Cubic.
 
 ORed by FT_CURVE_TAG_TOUCH_X and FT_CURVE_TAG_TOUCH_Y.  Use the macro
 FT_CURVE_TAG to filter them out.
 
 I've fixed that in the glyphs-6.html file.  Note that those documents
 are quite old and don't completely reflect the current status of
 FreeType.
 
 
 Werner
 
 
 ___
 Freetype mailing list
 Freetype@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/freetype
 
 

-- 
View this message in context: 
http://www.nabble.com/Outline-Tags-tf2195351.html#a6089365
Sent from the Freetype - User forum at Nabble.com.



___
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype


Re: [ft] Outline tags

2005-09-23 Thread Werner LEMBERG

Sorry for the late reply.

 Into the documentation (glyphs/index2.html), on the Outlines curves
 decomposition, I read on FT_Curve_Tag_On: Used when the point is
 on the curve, but if I load a char, for example an I with an
 Arial font (I'm sure that there is 4 segments and 8 points on the
 segments), I see that there is no FT_Curve_Tag_On flags
 set...  Sometime, but I don't understand when, I see that that bit
 are set!?

Just a side note: In TrueType and OpenType fonts which use
second-order curves (contrary to third-order curves in PostScript
fonts), if you have two consecutive `off' points in the glyf table,
there is an implicit `on' point exactly in the middle between the two
`off' points.

I suggest that you use a font editor like FontForge to compare your
results with the actual glyph.


Werner


___
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype