-
Notifications
You must be signed in to change notification settings - Fork 264
Description
Apparently, sometime a text size of zero is used to create "hidden" texts.
In KLayout, a text size of zero means "not set", so it is not possible to represent a text size of zero. This is not straightforward to change as it would change the API in a non-backward compatible way.
Hence, the idea is to provide a GDS writer option ("default_text_size"), setting the text size to some value if not set. This allows using "default_text_size=0" to pass zero-size texts from reader to the writer. Caveat: texts without text size (i.e. no MAG record) are then given this size as well. I believe however that GDS generators would usually either generate MAG records for all texts or for no text at all (e.g. when the texts are translated from OASIS). In the latter case, this option would allow to give such texts a specific size.
OASIS does not need such an option as OASIS does not support text sizes at all.