StefanSchippers / xschem

A schematic editor for VLSI/Asic/Analog custom designs, netlist backends for VHDL, Spice and Verilog. The tool is focused on hierarchy and parametric designs, to maximize circuit reuse.
Other
317 stars 21 forks source link

TAB symbol displaying issue #205

Closed georgtree closed 4 months ago

georgtree commented 4 months ago

Hello! I found the issue with TAB symbol in text block: image It renders it like a square, for now I use four spaces for indentation, but maybe there is a quick fix for it? Thank you in advance!

P.S. the source of text is: example.txt

StefanSchippers commented 4 months ago

Yes, TAB is not handled (yet) so you get a weird 'unprintable char' placeholder. TAB is not a character to display, but an information to use to set the position of the next character. I will eventually handle that.

StefanSchippers commented 4 months ago

George, can you please update xschem and test TABs in your examples? It should work now. tcl variable tabstop sets the tab position (default 8) you can set this in xschemrc: set tabstop 4 to change the default tab stops.

georgtree commented 4 months ago

Hello, all works, thank you!