[cairo] Cairo Global Glyph Cache
behdad at behdad.org
Thu Aug 2 22:45:10 PDT 2007
On Fri, 2007-08-03 at 01:14 -0400, KULBHUSHAN PACHAURI wrote:
> Does cairo maintains any global glyph cache which hold glyph image ,
> metrics in device space.
Yes it does. For the X backend, in the X server using Xrender, and for
image backend in-process.
> After looking the source code i didnt find any.
Search for cache in cairo-scaled-font.c
> So can anyone tell me about it & some more details what exactly cairo
> caches i mean glpyh images or surface.
It caches a surface for each glyph, 256 per font.
> Thanks a lot.
Have fun using cairo!
"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