[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Question about font size
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Question about font size |
Date: |
Sat, 09 Sep 2006 23:48:41 +0200 (CEST) |
> 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?
Small (compilable) code sample, please.
Werner