[cairo] Fast text rendering

Bill Spitzak spitzak at gmail.com
Tue Jul 13 09:45:50 PDT 2010


On 07/13/2010 09:09 AM, Michael Urman wrote:
> On Tue, Jul 13, 2010 at 04:49,<michael at cubic.org>  wrote:
>> It is only draw when nessesary, but the worst case makes it nessesary to
>> draw them with 30Hz.
>>
>> This is the reason why the 30Hz:
>> http://www.grandma2.de/help/en-us/image/Ref_Window_Sheet_DMX.png
>> This can actually be drawn to an image and then be mapped to the destination.
>>
>> And its geting even worse with lots of dynamic changes:
>> http://www.grandma2.de/help/en-us/image/Concept_Effect_2.gif
>> http://www.grandma2.de/help/en-us/image/Ref_Window_Sheet_Fixture.png
>
> It looks like these are almost all numbers or number pairs. Have you
> tried various caching ideas such as
>   - saving and reusing 10 digit or 100 digit-pair paths and just filling
>   - pre-rendering 10 digit or 100 digit-pair images and just compositing

There really should be no excuse for such stuff to perform better than 
Cairo's glyph caching!




More information about the cairo mailing list