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

Issue with tabulate #214

Closed georgtree closed 4 months ago

georgtree commented 4 months ago

Hello! Is it possible to remove gaps between vertical lines?

image

StefanSchippers commented 4 months ago

The presence of gaps or not depends on the font. You can trim the line spacing by experimenting with this xschemrc setting:

#### Scale line spacing by this number
# set cairo_font_line_spacing 1.0

Do not go far from 1.0, so you may try 0.8 or similar values.

StefanSchippers commented 4 months ago

see the difference between Monospace and Courier fonts. 1 setting cairo_font_line_spacing to 0.8 removes the gaps (squeezing text line spacing) 2

Text line spacing is calculated from the font metric, if a given font says "my height is xxx points" xschem will use that number (which includes extra points for line to line) for line spacing. The scaling factor is there to fine tune the calculation.

georgtree commented 4 months ago

Yeah, you are right, thank you