gdstext reader

edited September 2009 in File Formats
Hi Matthias,

there is a minor problem with the gdstext reader.
(Or rather format recognition.)
It seems that if the gdstext file starts with a
comment character then the format recognition fails.

So first byte == '#' or '\n' => GDS-text may be needed
(I don't know whether that would conflict with the oasis format.)

- Till

Comments

  • edited November -1

    Hi Till,

    you are right, that is a problem currently.

    With binary formats it was easy to detect the format by analyzing the first few bytes. With text formats a more elaborate method is required. I could treat every unknown and ASCII-like format as GDS-Text, but once I start implementing more text formats like ASCII DXF or CIF I'll need a better detection scheme anyway.

    Thanks for the hint,

    Matthias

Sign In or Register to comment.