[Top][All Lists]

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

Re: [ft-devel] New Infinality Release

From: Infinality
Subject: Re: [ft-devel] New Infinality Release
Date: Wed, 19 Dec 2012 14:17:00 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

I had originally been using floating point to handle stretching and emboldening of glyphs, which for obvious reasons Werner didn't want. So, I used 1000 because it was easier to convert to and from percentage. I'm OK converting all this over to FT_Fixed, however I think it will make maintaining it more confusing and tedious.

On 12/19/2012 01:44 PM, Werner LEMBERG wrote:
In your integrated code you use FT_UInt for the rule scaling factor,
with 1000 being a unit.  This contradicts the general FreeType
practice of using FT_Fixed to represent fractional numbers.  I would
strongly suggest switching to FT_Fixed, with 0x10000 representing a
unit.  Then all arithmetic will follow naturally with FT_MulFix, and


Freetype-devel mailing list

reply via email to

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