3 ms·
How do you avoid collisions between the text and the lines? I've used SVG for editable flow diagrams, and even with a sans mono font the OS's text rendering en
by jancsika 9y ago
How do you avoid collisions between the text and the lines?
I've used SVG for editable flow diagrams, and even with a sans mono font the OS's text rendering engine can give different widths for the same pixel size font. My solution was a kludge-- measure the rendered font in a hidden HTML5 canvas.