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: Behdad Esfahbod
Subject: Re: [ft-devel] suggested improvement to FT_GlyphSlot_Embolden
Date: Thu, 26 Jul 2007 18:49:45 -0400

On Wed, 2007-07-25 at 17:32 -0400, Werner LEMBERG wrote:
> > I am using FT_Glyphslot_Embolden and so far it seems to work quite
> > well.  However, the default extra boldness (1/24 em) is too great
> > for my purposes, and ought to be settable via an argument, because
> > different values are needed at different times. For example, 1/32 em
> > is adequate for making DejaVu Sans Bold extra-bold.
> > 
> > I therefore suggest the following changes.
> 
> This looks good.  However, I think a default boldness would be nice to
> retain.  For example, the value 0 could indicate this.  What do you
> think?
> 
> Another problem is backwards compatibility.  Inspite of being declared
> as alpha code I fear that we no longer are in the situation to change
> the API because it is included by default into the library :-(
> 
> What about adding a new function instead, say,
> FT_Glyphslot_Set_Emboldening, to change the embolding value?

Given the emboldening sample in Maxim's recent article, can FreeType be
made to have separate horizontal and vertical emboldening factors?


>     Werner

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759







reply via email to

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