Hi all, I'm using FreeType in my Windows project, and I have some questions about Windows font size vs FreeType FT_Set_Char_Size / FT_Set_Pixel_Sizes :
1. In Win32 API, when I want to output a text at size, for instance, 11 (in wordpad I choose 11 in the combo list box), I use CreateFont / CreateFontIndirect with lfHeight set to -11. Supposing the dpi is 96, what sizes should I use in FT_Set_Char_Size / FT_Set_Pixel_Sizes to match as close as possible the Win32-rendered font ?
(MSDN CreateFont : http://msdn.microsoft.com/en-us/library/dd183499(VS.85).aspx)
2. In Win32 API, I can create a font specifying only lfHeight, leaving lfWidth to zero. In FT_Set_Char_Size / FT_Set_Pixel_Sizes, how could I determine which width to use in order to match the Windows font size ?