freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] suggested improvement to FT_GlyphSlot_Embolden


From: Chia-I Wu
Subject: Re: [ft-devel] suggested improvement to FT_GlyphSlot_Embolden
Date: Fri, 27 Jul 2007 12:52:10 +0800
User-agent: Mutt/1.5.16 (2007-06-11)

On Thu, Jul 26, 2007 at 11:50:14PM +0200, Werner LEMBERG wrote:
> > If we can't change the existing function then I agree that a new one
> > is a good idea, but I would prefer FT_GlyphSlot_Embolden_By_Weight
> > or something like that to give an idea of the meaning of the new
> > parameter.
FT_GlyphSlot_Embolden exists only for historial reasons, and is a
wrapper to FT_Bitmap_Embolen and FT_Outline_Embolden.  One can copy the
code and modify it to suit his/her need.

If new APIs are to be added, I would prefer to have FT_Glyph_Embolden
and FT_Glyph_Oblique.  Glyph transformations should be done to FT_Glyph,
not to FT_GlyphSlot.

-- 
Regards,
olv




reply via email to

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