← Back to team overview

kicad-developers team mailing list archive

Re: Make Cairo optional

 

On Mon, Mar 28, 2016 at 08:07:39PM +0200, jp charras wrote:
> * Cairo is not always very slow and is an alternative to OpenGL canvas,
> which has sometimes issues.

Cairo is *absurdly* slow without a gallium driver i.e. on all intel GPUs
:P I think that a better alternative to the opengl canvas is the legacy
one, anyway...

> * It could be a good canvas for Eeschema (better than Opengl).

Uh? please elaborate on this... why should be better than opengl for
eeschema? for line width consistency? (still hating opengl for that)

> * It could be needed for printing as an alternative to the current wxDC
> canvas (wxDC has always issues for printing)

Excellent reason. I don't see any good reason for not using cairo to print

> * I do not see any good reason to add a lot of #ifdef in code.

Fully agree with this, too... you don't like cairo, just don't use it.
Also IIRC is not an additional dependency since gtk (and wx by
extension) needs it. Could be different on mac/win obviously...

So I vote to keep cairo in (it isn't invasive, either)

-- 
Lorenzo Marcantonio
CZ Srl - Parma

Attachment: signature.asc
Description: PGP signature


Follow ups

References