Re: [ft] Question about font size

2006-09-10 Thread LonelyStar
I was getting my information from here: http://www.freetype.org/freetype2/docs/tutorial/step2.html http://www.freetype.org/freetype2/docs/tutorial/step2.html . Thanks for your help, works now! Werner LEMBERG wrote: I would expect to get a character size around 1.0. For 'j' I get 0.485149

[ft] Question about font size

2006-09-09 Thread LonelyStar
Hello together, I am using freetype to load fonts and read vectorize them with FT_Outline_Decompose. I want to have exact controll over how many pixels the characters are in height. The FT_Vector I get during decomposing I am dividing by face-size-metrics.height and storing as a float. I was

Re: [ft] Question about font size

2006-09-09 Thread LonelyStar
Werner LEMBERG wrote: I am using freetype to load fonts and read vectorize them with FT_Outline_Decompose. I want to have exact controll over how many pixels the characters are in height. The FT_Vector I get during decomposing I am dividing by face-size-metrics.height and storing as

Re: [ft] Tesselationg Fonts with gluTesselator

2006-09-03 Thread LonelyStar
is that if you use FT_Outline_Decompose() the scan-converter will always parse the outline using the non-zero winding rule, whatever is the actual winding rule of your font. But may be I am wrong ? Bertrand. LonelyStar wrote : Hello together, I am trying to make Polygons for Fonts using

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] Tesselationg Fonts with gluTesselator

2006-08-31 Thread LonelyStar
Hello together, I am trying to make Polygons for Fonts using gluTesselator. It works on many characters, but fails on characters with wholes. So my guess is, that I use the wrong Winding rules. I set the winding this way: if(face-glyph-outline.flags | FT_OUTLINE_EVEN_ODD_FILL)

[ft] Freetype Error codes.

2006-08-30 Thread LonelyStar
Hello together, I have the problem that FT_Load_Glyph returns with error code 151 and I have no Idea what that means. How do I find out what a specific error code means? Thanks! Nathan -- View this message in context: http://www.nabble.com/Freetype-Error-codes.-tf2191132.html#a6063031 Sent