[cairo] Issues with Store-Bought v. Home-Grown builds of Cairo
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
>> 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
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
> that I lapsed in not specifying exactly what copyright is on those
> I think something BSDish is best suited for examples. (Whether you
> the trace to be purely data or code is an interesting question and
> 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
> of your straight edges to pixel boundaries:
> If you do take the time to create sharp lines for the legend and
> 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...
More information about the cairo