News for hackers. Stuff that matters.

cechow

Re:Create diagrams with code using Graphviz on Friday June 12, 2020 @03:50PM (#23503051)
I took a closer look at the FAQ and it doesn't sound like Graphviz can do exactly what I'd like it to do.

"It is essential that a font which has the glyphs for your specified characters is available at final rendering time."

It sounds to me like UTF-8 encoded characters won't show if the font isn't available on the machine, in which case we'd have to either somehow force a font install or ideally just package the font with the application. The latter would require rebuilding Graphviz without fontconfig enabled, I think?

Re:Create diagrams with code using Graphviz on Friday June 12, 2020 @10:38AM (#23499649)
I completely missed that, thank you!
Re:Create diagrams with code using Graphviz on Thursday June 11, 2020 @01:14PM (#23490998)
I've been looking into supporting UTF-8 characters to create graphs with non-English text using Graphviz in an application that's used on a number of different machines. Is there a straightforward way of doing this right now? It would be nice if we could add a fonts folder in our application folder and set a relative path to it for Graphviz to perform its lookup in without having to rebuild Graphviz without fontconfig.