[cairo] Issues with Store-Bought v. Home-Grown builds of Cairo

Jennifer Adams jma at cola.iges.org
Sat Jan 22 06:11:24 PST 2011

On Jan 22, 2011, at 4:50 AM, Chris Wilson wrote:

> On Fri, 21 Jan 2011 12:31:50 -0500, Jennifer Adams  
> <jma at cola.iges.org> wrote:
>> Thanks to earlier answers I got regarding getting cairo-trace to  
>> work,
>> I created a huge trace file, but I'm not sure how to interpret it. It
>> contained ~77,000 fills and ~10,000 strokes. I reran cairo-trace with
>> the --profile option and posted it at ftp://iges.org/pub/jma/gs.89039.lzma
>>  . The output from running cairo-perf-trace on my trace file is given
>> below. I have no idea whether the trace info is helpful.
> The trace looks quite exciting. I never expected that so many people
> depended upon non-AA rendering; it is an area ripe for improvement  
> within
> Cairo.
I have to use non-AA rendering for the polygons because otherwise they  
can have very faint lines around the borders.

> (And also spectacularly blew up in my driver. Thanks!)
Umm... you're welcome, I guess. Is that because there were so many  
little polygons being drawn? We are working on an algorithm to merge  
adjacent polygons so in the next round there will be fewer bigger  

> Do I have your
> permission to redistribute that trace as part of cairo-traces.git? I  
> note
> that I lapsed in not specifying exactly what copyright is on those  
> files,
> I think something BSDish is best suited for examples. (Whether you  
> consider
> the trace to be purely data or code is an interesting question and  
> depends
> upon circumstances...)
Of course, you can do whatever you want to with that trace. It's not  
my best drawing example, but if you like it ...

> Looking at the output of your drawing, I note that you did not align  
> any
> of your straight edges to pixel boundaries:
>  http://cairographics.org/FAQ/#sharp_lines
> If you do take the time to create sharp lines for the legend and  
> outlines,
> the graph and annotations will be much clearer; well worth the effort.
Good idea! I will think about how to set a flag for certain vertical/ 
horizontal line segments in the drawing.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110122/41d8bba4/attachment.html>

More information about the cairo mailing list