[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FT_MulDiv optimization
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] FT_MulDiv optimization |
Date: |
Wed, 20 Aug 2014 08:48:56 -0400 |
On Sat, Aug 16, 2014 at 2:06 PM, Behdad Esfahbod <address@hidden> wrote:
> I think main usage pattern for this function is to scale values from font
> space to Fixed device space. Font-space values are typically < 2048 because
> of TrueType commonly uses upem=2048 and Type1 uses 1000, so 2048 matches most
> use.
I've investigated this part and confirm that the font-space values are
typically below 2048 but can reach 4096 in times.ttf. So I committed a
change that covers the old range completely and extends towards 4096.