[cairo] Font metrics under font transformations

Carl Worth cworth at cworth.org
Tue Jan 11 12:44:57 PST 2005


On Tue, 11 Jan 2005 21:22:00 +0100, Maarten Breddels wrote:
>                                                 I would rather see cairo 
> use the bottom left as (0,0), i mean, using the upper left corner is 
> from the days of accessing framebuffers etc :).

In addition to framebuffers, most popular image formats store the data
this way. We can't make both the graphics and font worlds happy
simultaneously here.

> No matter how weird the transformation is, the 'add advance vector' and 
> 'substract height vector' should always work, i think.

Why export an interface that requires the user to use differing signs
for related metrics? That doesn't seem to simplify things in my view.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050111/1f753721/attachment.pgp


More information about the cairo mailing list