[cairo] Sign of cairo_font_extents->descent
Owen Taylor
otaylor at redhat.com
Mon May 2 14:29:10 PDT 2005
On Mon, 2005-05-02 at 16:45 -0400, Carl Worth wrote:
> On Fri, 29 Apr 2005 12:34:44 -0400, Owen Taylor wrote:
> > I just discovered that the FreeType and Win32 font backends don't agree
> > on the sign of cairo_font_extents->descent.
>
> Ouch!
>
> > FreeType backend: a font that descends below the baseline has a
> > negative descent
> >
> > (Like in the FreeType API)
> >
> > Win32 backend: a font that descends below the baseline as a
> > positive descent
> >
> > (Like Xft, Pango, Windows, ATSUI APIs)
> >
> > I'd suggest we change the FreeType backend.
>
> I have no intrinsic authority on which to base an opinion here. I
> would defer to consensus among well-established text APIs, and I think
> you've demonstrated that quite clearly that that lies in favor of the
> change.
>
> So I won't stand in the way of this one.
Changed.
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050502/a5b6e2b6/attachment.pgp
More information about the cairo
mailing list