> If any one could answer my (silly?) question. I need to use
> FT_Set_Char_Size() to set my character size at point 7,25 (verdana).
> Since this function accepts FT_F26dot6 as the char height and width, I
> am wondering how I can set point 7,25 without losing data
> if I cast 7,25 to FT_F26dot6.

As the name says, F26dot6 has 26 bits before the dot, and 6 bits after
it.  Consequently, you simply multiply by 64 if you want to convert
into the F26dot6 format:

  7.25 * 64 = 464


    Werner

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to