My SchemaCrawler (version 15.01.03) schema diagrams are truncating table names on Ubuntu 18.04 LTS. It looks like the tables are drawn too narrow in general because the "[TABLE]" notation also bleeds out of the box. The same looks fine when rendered on my Mac.
Is there a way to fix this?
---update---
I've tried changing the font in _schemacrawler/config/schemacrawler.config.properties. It's set to Helvetica by default, but Ubuntu doesn't have Helvetica so I changed it to Mukti Narrow...
schemacrawler.graph.graphviz.node.fontname=Mukti Narrow
This causes less of the text to be truncated but doesn't fix it completely. Comparing with different fonts makes me think the width calculation is done the same regardless of font.
The properties file lists these two URLs for graphviz settings...
https://www.graphviz.org/doc/info/attrs.html
https://www.graphviz.org/doc/info/command.html
I've tried a number of the settings listed there but so far haven't found one that changes the font width calculation.
I've also installed Helvetica but get the same results.
Actually I had the same problem - table names were cut (kind of overflow). I had been using the pure Java Graphviz library as stated https://www.schemacrawler.com/diagramming.html . Once I installed complete Graphviz, all table names fit in diagram as expected.
Solution: Dont use only pure Java Graphviz library.