[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?
From: |
Chia I Wu |
Subject: |
Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API? |
Date: |
Mon, 30 May 2005 18:30:02 +0800 |
User-agent: |
Mutt/1.5.9i |
On Mon, May 30, 2005 at 03:24:30PM +0800, Chia I Wu wrote:
> gray2 and gray4 are not supported now. I'll see if I can add support to them.
> If I can't, I'll submit a patch to update the documentation :)
Ok, this patch should fix the problem. Instead of supporting gray[24]
directly, convertion from gray[24] to gray8 is done before emboldening.
Changelog:
* include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Fix typos.
Update documentaion a little.
* include/freetype/ftoutline.h (FT_Outline_Embolden): Fix typos.
* src/base/ftbitmap.c (FT_Bitmap_Embolden): Add support for bitmap of
pixel_mode FT_PIXEL_MODE_GRAY2 or FT_PIXEL_MODE_GRAY4.
When xstr is larger than 8 and bitmap is of pixel_mode
FT_PIXEL_MODE_MONO, set xstr to 8 instead of returning error.
--
Regards,
olv
ft2-embolden-gray24.patch
Description: Text document
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, (continued)
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/13
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Shunsaku Hirata, 2005/05/20
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/21
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/21
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/24
- Message not available
- Message not available
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/27
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/28
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/29
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/30
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/30
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?,
Chia I Wu <=
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/30
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/30
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/29
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/30
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/25
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/25
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/26
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/26
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Chia I Wu, 2005/05/26
- Re: [ft-devel] Make FT_GlyphSlot_Embolden standard API?, Werner LEMBERG, 2005/05/27