freetype
[Top][All Lists]
Advanced

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

[ft] Question about font size


From: LonelyStar
Subject: [ft] Question about font size
Date: Sat, 9 Sep 2006 13:00:34 -0700 (PDT)

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 expecting to get characters with height 1, so that I can just multiply
by my wanted pixel height.
Doing so gives me characters half the height I want.

What am I doing wrong?

Thanks!
Nathan
-- 
View this message in context: 
http://www.nabble.com/Question-about-font-size-tf2245239.html#a6227423
Sent from the Freetype - User forum at Nabble.com.





reply via email to

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