Alan W. Irwin wrote:
> On 2009-03-26 14:06-0400 Hazen Babcock wrote:
> 
>> Alan W. Irwin wrote:
>>> Hi Hazen:
>>>
>>> I have been testing the efficiency of text clipping for the cairo devices
>>> for a reasonably modern libcairo (version 1.6.4) and relatively modest
>>> 2.4GHz PC, and unlike older libcairo versions it is looking good.
>>>
>>> Here is one example:
>>>
>>> softw...@raven> time c/x09c -dev pngcairo -drvopt text_clipping=0 -fam
>>> -fflen 2 -o cairotest%n.png
>>>
>>> real    0m0.391s
>>> user    0m0.360s
>>> sys     0m0.008s
>>> softw...@raven> time c/x09c -dev pngcairo -drvopt text_clipping=1 -fam
>>> -fflen 2 -o cairotest%n.png
>>>
>>> real    0m0.485s
>>> user    0m0.468s
>>> sys     0m0.012s
>>>
>>> There is a relatively large amount of text in that example (the contour
>>> labels), and also quite a bit of graphics.  In fact it is that example that
>>> shows (on the first page) what happens if you don't have text clipped
>>> properly.  But the total difference in elapsed time is trivial, just 0.094
>>> seconds.
>> Sounds okay to me. I'm a little worried that many people will have older 
>> versions of the library, but perhaps we can have, or at least recommend a 
>> minimum libcairo version during the build process?
> 
> Done.  See the updated (revision 9775) README.release.

I was thinking about putting the warning into the cairo.cmake. Is that 
possible? Any pointers on where to look for an example of how to do this?

-Hazen


------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to