Hi Andreas, On Sun, Sep 10, 2023 at 9:21 PM Andreas Metzler <ametz...@bebt.de> wrote: > I tried to do a test build of enblend against graphviz 8.1.0 from > experimental. I had no luck, since dot seems to be built without support > for png output: Please try graphviz 9.0.0 from experimental.
> /usr/bin/m4 --fatal-warnings --prefix-builtins --synclines > --define='dot_output_type=png' ../../doc/uml-dot.m4 > ../../doc/external-mask-workflow.dot | \ > /usr/bin/dot -Tpng -Gbgcolor=transparent -Gresolution=600 | \ > /usr/bin/convert png:- -transparent white -resize $(( ((96 * > 1000) / 600) / 10 ))% external-mask-workflow.png > Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot > dot_json eps fig gv imap imap_np ismap json json0 mp pic plain plain-ext pov > ps ps2 svg svgz tk xdot xdot1.2 xdot1.4 xdot_json > convert: improper image header > `/dev/shm/magick-u_9y0p39jcrUpQwvjHcDxiLBtxK8jlEu' @ > error/png.c/ReadPNGImage/4107. There's still a font issue, you will get something like: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts need installing? I don't know why this is happening, as if I check the intermediate dot file then only the node font settings cause this error. Other uses of the Helvetica font are fine. As per source change, you will need this patch for enblend-enfuse. Please check if the resulting package works as you expected or not and report back your findings. Regards, Laszlo/GCS
Description: use Times font instead of Helvetica for testing For testing the font Helvetica used. This is fine, but for some reason recently fontconfig can't find it as URW Type 1 font for dot nodes. For other uses, Helvetica font is found by the way. Author: Laszlo Boszormenyi (GCS) <g...@debian.org> Forwarded: no Last-Update: 2023-09-15 --- --- enblend-enfuse-4.2.orig/doc/uml-dot.m4 +++ enblend-enfuse-4.2/doc/uml-dot.m4 @@ -10,7 +10,7 @@ m4_dnl (`uml_'), we treat only `Activit m4_dnl need more for the Enblend/Enfuse documentation. -m4_define(`uml_font', `Helvetica') +m4_define(`uml_font', `Times') m4_dnl Graph Attributes