[cairo] Serious concerns about cairo

Bill Spitzak spitzak at d2.com
Thu Oct 5 10:47:31 PDT 2006



Behdad Esfahbod wrote:
> On Tue, 2006-09-26 at 17:04 -0700, Bill Spitzak wrote:
>> Behdad Esfahbod wrote:
>>
>>> Can you elaborate?  What is the area-preserving box?  What we currently
>>> return is the bounding box of the rotated glyph bounding box.
>> The returned box has the same area as the transformed bounding box, and 
>> should circumscribe the ellipse that results from transforming an 
>> ellipse inscribed in the input bounding box.
> 
> This is very interesting, but, it does result in ink out of the bounding
> box for letters as simple as a capital T, right?

Yes. However I still feel this is better than a seriously over-sized 
box. If you use the bounding box of the transformed corners of the 
straight bounding box, it is *much* larger. This may mean it can never 
be changed to the actual area, as code will exist that relies on this 
very large box.


More information about the cairo mailing list