freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FT_MulDiv optimization


From: Behdad Esfahbod
Subject: Re: [ft-devel] FT_MulDiv optimization
Date: Mon, 18 Aug 2014 11:09:08 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

On 14-08-16 07:25 PM, Alexei Podtelezhnikov wrote:
> On Sat, Aug 16, 2014 at 2:08 PM, Behdad Esfahbod <address@hidden> wrote:
>> Scratch this part.  the existing limit is more than enough for all practical
>> purposes.  It's pixel-size divided by upem in 16.16.  So you need a font size
>> 10000 pixels before you surpass a 1048576 scale.
> 
> Graham, Behdad.
> 
> Let me ask differently. What is the reason for the imbalance?
> FT_MulDiv is symmetrical. Why is this not good for FT_MulFix.

FT_MulDiv is symmetrical because it takes two fixed numbers.  FT_MulFix on the
other hand takes an integer and a fixed, and usage has it that the integer
comes as the first argument, and the fixed as the second.

> Is there
> empirical value for the imbalance (ratio)? Otherwise I'll just run
> statistics.Whatever the imbalance though the patch is in order.


-- 
behdad
http://behdad.org/



reply via email to

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