[cairo] Sign of cairo_font_extents->descent

Owen Taylor otaylor at redhat.com
Fri Apr 29 09:34:44 PDT 2005


I just discovered that the FreeType and Win32 font backends don't agree
on the sign of cairo_font_extents->descent.

 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.

Regards,
						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/20050429/c5e42185/attachment.pgp


More information about the cairo mailing list