[cairo] User-font branch, hinting?

Behdad Esfahbod behdad at behdad.org
Tue Apr 8 06:43:47 PDT 2008

On Tue, 2008-04-08 at 06:46 -0400, Peter Clifton wrote:
> > (The font options comes straight from the scaled_font.  The ctm is
> the
> > matrix multiplication of the scaled_font ctm and font_matrix.
> That's
> > the only matrix the user font cares about...)
> Ok, so the rendering function will get called for every glyph being
> rendered, every time?

No.  For once for every used glyph at every used size.  At some point in
the future we may make it reuse glyphs from one nominal size if hinting
is turned off.  Not sure.

> (No caching?). I'd have thought that would slow
> things down, but haven't got far enough with my implementation to
> really
> benchmark it.

"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