Addressing issue #2011

- "report" can now be late in DRC without internal error
  Yet, the report will only capture the output layers
  after the report statement has been called.
- Text objects don't create zero-area polygons in deep mode
  XOR now.
This commit is contained in:
Matthias Koefferlein
2025-04-26 22:04:50 +02:00
parent 2435e774f4
commit ffa42653fe
9 changed files with 107 additions and 6 deletions
+26
View File
@@ -0,0 +1,26 @@
source $drc_test_source
target $drc_test_target
if $drc_test_deep
deep
end
l1 = input(1, 0)
l2 = input(2, 0)
l1.output(1, 0)
l2.output(2, 0)
x = l1 ^ l2
# we detect point-like polygons here by explicitly
# iterating. The enlargement makes sure, we have something
# to write to the output layout.
boxes = x.data.each.collect do |p|
RBA::Box::new(p.bbox.enlarged(10, 10))
end
x.data = RBA::Region::new(boxes)
x.output(10, 0)
Binary file not shown.
Binary file not shown.
Binary file not shown.