Comment 12 for bug 342593

Revision history for this message
Anders Norgaard (anders-norgaard) wrote :

Revisions 108 and 109 fix

108) "If the max-throughput text clashes with legend, move it down into the chart like the original bootcharts image renderer does"

109) "Have a minimum image width, like the original bootchart. To avoid truncating headers etc. for short boottimes"

Since cairo seems to need to know the width and height to create an image surface, which is needed for a cairo context, which is needed to measure text - I couldn't find a way to avoid truncating the headers without eg. drawing twice. So I opted for a minimum width like the original bootchart.

Thanks for the reports (again)
Anders