[Cairo] Re: [xsvg] cairo_text_extents ?

Keith Packard keithp at keithp.com
Fri Dec 5 20:21:30 PST 2003


Around 19 o'clock on Dec 5, Bill Spitzak wrote:

> I am talking about a string that can be used on the *same* platform by 
> multiple programs. I don't think it is acceptable that I have to use a 
> device-specific interface when I only want to accept a font-name that I don't 
> understand, and give it to cairo, and say "Cairo, you figure this out."

Then either accept the limitations of the toy API or use one of the many 
toolkits available on your platform of choice.  Those all abstract the 
font API nicely and cannot use any lower level font naming abstraction 
provided by cairo.

-keith






More information about the cairo mailing list