[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Rendering Fonts to Bitmap
From: |
Dexter |
Subject: |
Re: [Freetype] Rendering Fonts to Bitmap |
Date: |
Mon, 2 Sep 2002 00:21:00 +0200 |
> You can't set a monochrome bitmap to any color. Set your biBitCount
> member to something appropriate like 24 if you want a real color image.
> Of course, you'll still have problems. You can expect "SetDIBits" to
> work if the HBITMAP points to a color bitmap, but you are giving it a
> monochrome glyph bitmap as the image to copy over. Sorry, it's up to
> you to make sure that you create a color glyph bitmap for your color
> HBITMAP, or to make them both 8 but grayscale, or both monochrome.
>
> Thanks,
> PeterM
The thing is that it didnt worked even when setting them both mono crome
(using ft_render_mode_mono) or setting them both to 8!
That's why i dont know what could it be :(
Dexter
- [Freetype] Rendering Fonts to Bitmap, Dexter, 2002/09/01
- Re: [Freetype] Rendering Fonts to Bitmap, Peter Montgomery, 2002/09/01
- Re: [Freetype] Rendering Fonts to Bitmap,
Dexter <=
- Re: [Freetype] Rendering Fonts to Bitmap, Peter Montgomery, 2002/09/02
- Re: [Freetype] Rendering Fonts to Bitmap, Dexter, 2002/09/02
- Re: [Freetype] Rendering Fonts to Bitmap, Riccardo Cohen, 2002/09/02
- Re: [Freetype] Rendering Fonts to Bitmap, Dexter, 2002/09/02
- [Freetype] How do I render italic or bold if no file, Riccardo Cohen, 2002/09/04
- [Freetype] How do I render italic or bold if no file, Riccardo Cohen, 2002/09/09
- Re: [Freetype] How do I render italic or bold if no file, Dave Williss, 2002/09/19
- Re: [Freetype] How do I render italic or bold if no file, Riccardo Cohen, 2002/09/19
- Re: [Freetype] How do I render italic or bold if no file, James H. Cloos Jr., 2002/09/19
- Re: [Freetype] Rendering Fonts to Bitmap, Peter Montgomery, 2002/09/03