Hi,
I am using FT_LOAD_MONOCHROME to get a single bit bitmap.Irrespective of the
Bitmap-width ,It is allocating two bytes of data for each row.Why is it so?
I thought it should have only a byte , if bitmap-width is ( i mean x_max
for each glyph) less than 8.
Can anybody please explain me the
*error = FT_Set_Char_Size( face,10*64,0,72,0 );
/*The pen position in 26.6 cartesian space coordinates; */
pen.x = 0;
pen.y = 0;
FT_Set_Transform(face,0,pen);
glyph_index = FT_Get_Char_Index( face,text[n] );
//printf( Glyph_Index = %.2x\n,glyph_index);
error = FT_Load_Glyph(
Attached is a sample glyphmono_bitmap.c,In which you can find the glyph data
writing into a file called BitmapData_Mono, Show data reads and displays on
screen.
*Usage: exename ttf filename char to get bitmap*
Though width is less than 8 bits you can find all the second bytes as zeros.
Thanks,
On 2/8/2010 12:52 AM, Werner LEMBERG wrote:
Is there an LCD mode which does not grow the image size?
No. You need three colour channels for LCD rendering.
I'll read through that link you sent on ClearType. Just to make sure
I'm understanding you though, if I have a