[cairo] User font API

Behdad Esfahbod behdad at behdad.org
Fri Nov 16 13:56:44 PST 2007


On Fri, 2007-11-16 at 07:46 -0500, Peter Clifton wrote:
> A slight distraction from profiling, I'm wondering if anything ever
> became of the user font API discussed here (I don't see those API in
> devhelp, so I guess not yet (at least not in 1.4.x):
> 
> http://lists.freedesktop.org/archives/cairo/2007-February/009539.html
> 
> Most of my rendering time was drawing lines which make up a font
> internal to the CAD data I'm rendering. Having a feature to make up a
> font at run time from this data would allow a graceful transition to
> cairo rendering, without altering the appearance of any schematics users
> have already made.
> 
> If it can't be done in cairo, perhaps I should be looking at whether I
> can add fonts pragmatically from gschem's font data into pango. I'm
> currently digging into the docs / source to see whether this is
> possible.

No way to do it in Pango either.  My plan is to do user-font in cairo
and make pango be able to use it.  I'll see if I can go back to
finishing user-font sometime this holiday season.

behdad


> Best wishes,
> 
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list