freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sample code for caching glyphs


From: John Ellson
Subject: Re: Sample code for caching glyphs
Date: Thu, 15 Jun 2000 17:07:13 -0400

graydon hoare wrote:
> 
> yes, in berlin we use a simple LRU cache for freetype glyphs, and the
> speed improvement is stunning.

[elegant C++ code skipped]


If you're interested in a C solution, also simple LRU,
then there is also some glyph caching code in gd-1.8.3
in files: gdcache.[ch] used from file: gdttf.c.

        http://www.boutell.com/gd/

John Ellson



reply via email to

[Prev in Thread] Current Thread [Next in Thread]