[consider merging] Fixed marker display - don't render error layers, that's more difficult because of font selection etc., use contour for text labels

This commit is contained in:
Matthias Koefferlein 2025-08-16 22:35:41 +02:00
parent 6fdad4649a
commit 61ee2305eb
1 changed files with 1 additions and 16 deletions

View File

@ -134,7 +134,7 @@ void render_cell_inst (const db::Layout &layout, const db::CellInstArray &inst,
db::HAlignCenter,
db::VAlignCenter,
// TODO: apply "real" transformation?
db::DFTrans (cell_name_text_transform ? tbox.fp_trans ().rot () : db::DFTrans::r0), 0, 0, 0, text);
db::DFTrans (cell_name_text_transform ? tbox.fp_trans ().rot () : db::DFTrans::r0), 0, 0, 0, contour);
}
@ -168,21 +168,6 @@ void render_cell_inst (const db::Layout &layout, const db::CellInstArray &inst,
}
{
// render error layer
db::RecursiveShapeIterator shapes (layout, cell, layout.error_layer ());
while (! shapes.at_end ()) {
for (db::CellInstArray::iterator arr = inst.begin (); ! arr.at_end (); ++arr) {
r.draw (*shapes, trans * inst.complex_trans (*arr) * shapes.trans (), fill, contour, 0 /*use vertex for origin*/, text);
}
++shapes;
}
}
// render the origins
if (render_origins && vertex) {