freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freetype] monochrome rendering, help.


From: Giuliano Pochini
Subject: [Freetype] monochrome rendering, help.
Date: Thu, 17 May 2001 12:45:20 +0200 (CEST)

Hi!

I'm using FT 2.0.1 and I can't get monochrome rendering. I have
no problems with AA'd text. When I pass ft_render_mode_mono to
FT_Glyph_To_Bitmap() I get a scrambled bitmap. I can't find the
format of a mono bitmap in the docs so I suppose it's structured
this way:

byte0   byte1   byte2 ... half-used-byten-1
byten   byten+1 etc.

Each bit is a pixel. bitmap->pitch is the # of bytes in a row
and the remaining bits on the right are wasted.
Is this right ?  Because it doesn't work...


Bye.
    Giuliano Pochini ->)|(<- Shiny Network {AS6665} ->)|(<-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]