freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] shift to factor


From: Werner LEMBERG
Subject: Re: [ft-devel] shift to factor
Date: Fri, 24 Feb 2017 09:23:37 +0100 (CET)

> How many people in the world would notice if I changed shift to
> factor in this interface?
> 
> https://www.freetype.org/freetype2/docs/reference/ft2-outline_processing.html#FT_Outline_Funcs

If you won't change the types of the fields (this is, changing the
interpretation only), this is possible.  In particular, if you use a
16.16 value for the factor (stored in `shift'), it's rather clear that
values larger than 32 can't be a shift value...

> [...] if we changed it to a factor, we might use it to 3-fold scale
> the outline for subpixel rendering without the need to scale it back
> again, for example.

Please give an example.


    Werner



reply via email to

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