Re: [ft] Question about font size

2006-09-10 Thread Werner LEMBERG
I would expect to get a character size around 1.0. For 'j' I get 0.485149 :( float h=face-size-metrics.height; It seems that you haven't read the documentation about `height': height :: The height is the vertical distance between two

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 Werner LEMBERG
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 expecting

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