mirror of https://github.com/KLayout/klayout.git
34 lines
935 B
Plaintext
34 lines
935 B
Plaintext
# <test>
|
|
# <name>t3.7.ot</name>
|
|
# <content-description>A single cell with one text object</content-description>
|
|
# <test-intention>Geometrical objects reader capabilities</test-intention>
|
|
# <test-intention>TEXT record reading</test-intention>
|
|
# <test-intention>Text string specification by ID</test-intention>
|
|
# <test-intention>Explicit assignment for text string ID</test-intention>
|
|
# <test-intention>Access to undefined modal variable</test-intention>
|
|
# <must-fail>Modal variable accessed before being defined: textlayer</must-fail>
|
|
# </test>
|
|
|
|
header
|
|
real 0 1000.0
|
|
uint 0 ;# offset table is in start record
|
|
for { set i 0 } { $i < 12 } { incr i } { uint 0 }
|
|
|
|
# Text definition
|
|
record TEXTSTRING
|
|
str A
|
|
|
|
# Cell ABC
|
|
record CELL_STR
|
|
str ABC
|
|
|
|
record TEXT
|
|
bits 01111010 ;# 0CNXYRTL
|
|
uint 0 ;# text-id
|
|
uint 2 ;# text-datatype
|
|
int 100 ;# text-x (abs)
|
|
int -200 ;# text-y (abs)
|
|
|
|
tail
|
|
|