Better HN
topnewbestaskshowjobs
Log inSign up

cechow

1 karma · joined Jun 11, 2020 (6y ago) · 4 submissions

Submissions

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

I completely missed that, thank you!

comment 6y ago · link · parent

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.