drom / logidrom

:bulb: Digital Circuit rendering engine
https://logi.drom.io
MIT License
31 stars 6 forks source link

Long signal names cropped #30

Open kimmoli opened 5 years ago

kimmoli commented 5 years ago

Online editor, Firefox 66, and 1.9.2. Windows x64

Long names get cropped, poc code:

{ assign:[
  ["Short",
    ["|", "short1", "short2_a"
    ]
  ],  ["really_not_so_long_name",
    ["|", "longer_name", "even_more_longer_name"
    ]
  ]
]}

wavedrom

Guiltybyte commented 1 year ago

To workaround this issue, generate a .svg via the wavedrom editor and open said .svg of your schematic inside of the inkscape program. You will notice that the full long names are included, however the render area of the svg is cutting them off. In the menu on the top of the application, click Object > Clip > set clip and use the mouse cursor to set a new render area which includes the previously cropped names.