[ft] Query regarding FT_Set_Char_Size() usage

2011-05-20 Thread Vinayak SWARUP
Hi, As per my understanding of the call FT_Set_Char_Size(). There are two sets parameters that need to be defined to put a bitmap with correct size on a display mechanism (say TV, monitor or paper in case of printer) correctly, namely a. FT_F26Dot6 char_width, FT_F26Dot6 char_height,

Re: [ft] Query regarding FT_Set_Char_Size() usage

2011-05-20 Thread Collyer, Oliver, SI
My understanding is that you use a DPI setting of 72 if you want the point sizes to represent pixels. Sent from my iPigeon On 20 May 2011, at 11:29, Vinayak SWARUP vinayak.swa...@st.com wrote: Hi, As per my understanding of the call FT_Set_Char_Size(). There are two sets parameters that

Re: [ft] Query regarding FT_Set_Char_Size() usage

2011-05-20 Thread Wojtek Mamrak
Yes, and then you can use: FT_Set_Pixel_Sizes http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Set_Pixel_Sizes http://www.freetype.org/freetype2/docs/tutorial/step1.html ___ Freetype mailing list Freetype@nongnu.org