diff --git a/src/lay/lay/doc/manual/drc_basic.xml b/src/lay/lay/doc/manual/drc_basic.xml
index 2d3a31b6a..4fe88fc7a 100644
--- a/src/lay/lay/doc/manual/drc_basic.xml
+++ b/src/lay/lay/doc/manual/drc_basic.xml
@@ -20,6 +20,7 @@
Support for edge objects derived from polygons or as output from other functions.
Edge objects are useful to implement edge-related operations, for example selective sizing.
The capability the work with multiple input layouts.
+ Support for text object layers. Text objects are convenient for tagging polygons or labelling nets.
Cell filtering, local (region-constrained) operation.
A tiling approach for large layouts which can be configured to make use of multiple CPU cores.
A hierarchical option.
diff --git a/src/lay/lay/doc/manual/drc_runsets.xml b/src/lay/lay/doc/manual/drc_runsets.xml
index 57ede77ad..fc928a702 100644
--- a/src/lay/lay/doc/manual/drc_runsets.xml
+++ b/src/lay/lay/doc/manual/drc_runsets.xml
@@ -329,6 +329,8 @@ output(w, "width violations")
select,
clip,
input,
+ labels,
+ polygons,
output,
report,
target
@@ -362,6 +364,7 @@ output(w, "width violations")
in,
inside,
interacting,
+ pull_interacting,
outside,
touching,
overlapping
@@ -395,6 +398,10 @@ output(w, "width violations")
without_angle,
without_length
+ Text filters:
+ texts,
+ texts_not,
+
Transformations:
moved,
rotated,
@@ -444,11 +451,21 @@ output(w, "width violations")
- Edge and polygon layers
+ Polygon and edge layers
- KLayout knows two basic layer types: polygon and edge layers.
- Input from layout is always of polygon type initially.
+ KLayout knows four layer types: polygon, edge, edge pair and text layers.
+ Polygon and edge layers are the basic layer types for geometrical operations.
+
+
+
+ Polygon layers are created from original layers using input or
+ polygons.
+ "input" will also turn texts into small polygons with a size of 2x2 DBU
+ while "polygons" will skip texts. For handling texts, the
+ labels method is
+ recommended which renders a true text layer. Text layers are described
+ below.
@@ -501,6 +518,45 @@ output(w, "width violations")
the DRC check functions.
+ Text collections
+
+
+ Starting with version 0.27, KLayout offers support for text layers.
+ "Texts" are basically locations with a label, i.e. a dot with
+ an arbitrary string attached. "Text collections" are collections of
+ such objects.
+
+
+
+ Texts can be used to select polygons or as net names in
+ net extractions.
+
+
+
+ Text collections are kept in "text layers". These are created
+ using the labels
+ methods instead of "input".
+
+
+
+ These operations are supported for text layers:
+
+
+
+ - Boolean AND with a polygon layer: will select those texts
+ which are inside or at the border of a polygon.
+ "interact" is a synonym for this operation.
+ - Text filtering by string: texts can be filtered either
+ by matching against a fixed text or a glob pattern.
+ The methods provided for this purpose are:
+ texts and
+ texts_not
+ - flatten
+ will flatten the hierarchy of a text layer.
+ - Polygon or edge generation around the text's location:
+ polygons and
+ edges
+
Edge pairs and edge pair collections