pcb

add "px" to the units allowed for --rat-thickness

Bug #927422 reported by KaiMartin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcb
Fix Released
Undecided
Unassigned

Bug Description

If the rat lines are supposed to be drawn with a fixed width of screen pixels, current versions of pcb require --rat-thickness to be given as nanometers with a value below 20nm. This patch adds "px" to the set of allowed units. Internally, the property is still treated as nanometers.

To reduce the probability of suprise, the patch sets the size that decides between interpretation as pixels and a scalable size to 100. Before the cmil/nm conversion, the limit was 20 cmil. So 100nm is still a few orders of magnitude smaller.

---<)kaimartin(>---

Revision history for this message
KaiMartin (kmk-familieknaak) wrote :
description: updated
Revision history for this message
Andrew Poelstra (asp11) wrote :

Thanks Kai! I think pcb looks much more professional (well, more like Altium) with fixed-size rats, and it's great to have the option.

I've commited your patch as 8b59dba1.

Changed in pcb:
status: New → Fix Committed
Changed in pcb:
status: Fix Committed → Fix Released
Changed in pcb:
milestone: none → pcb-20140316
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.