ID: | 5122 |
From: | rn...@igor2.repo.hu |
Date: | Mon, 13 Sep 2021 16:03:31 +0200 (CEST) |
Subject: | Re: [pcb-rnd] new: route-rnd 0.9.0 |
in-reply-to: | 5121 from rn...@igor2.repo.hu |
On Mon, 13 Sep 2021, rnd2@igor2.repo.hu wrote: >To make it funnier, it's visible only in the png >export, it's not visible on screen! (This may be a pcb-rnd bug on some arc >corner case unseen before.) This part was easy to "solve": it turned out the arc is an almost zero length arc, which should be a point. Of course it shouldn't be there (I will need to check crbs how/why it ended up there), but for now I focused on how it becomes a full circle in the png export. And what I found is bad: it looks like a libgd bug. I normalize the arc start+end angles and they look good when I pass them on to libgd, then libgd messes it up. (Long term I think I will replace libgd with a minilib. Libgd doesn't do too much in our code and I regularly hit bugs like this and I think it doesn't support subpixel rendering.) Best regards, Igor2
Reply subtree:
5122 Re: [pcb-rnd] new: route-rnd 0.9.0 from rn...@igor2.repo.hu