[cairo] Who broke my user fonts?

Behdad Esfahbod behdad at behdad.org
Tue Dec 23 10:52:02 PST 2008


Chris Wilson wrote:
> On Tue, 2008-12-23 at 01:22 -0500, Behdad Esfahbod wrote:
>> I'm getting non-tight bounding boxes in user fonts where I used to get tight
>> ones.  Who broke them? :)
> 
> Test case? :-)

Checkout master, run:

  util/cairo-view '@cairo:serif' 0 0 48

The green box should touch the ink on each side, but it doesn't at all.
Remove the 'serif' from the above and it works.  What 'serif' does currently
is that it chooses MITER joins and SQUARE caps, instead of ROUND.

Humm, seems like I didn't pay close attention to this case before.  So, maybe
the brokenness is not new.

behdad


More information about the cairo mailing list