Wednesday, May 20, 2009

The magical incantation

//height in font units => height in pixels
int height = ((*(cachedFont->face))->height / ( (int) (*(cachedFont->face))->units_per_EM)) * fsizev * (RESOLUTION / 72);

No comments:

Post a Comment