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
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
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
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
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