FS#55072 - [graphviz] Missing font for graphviz graphs

Attached to Project: Arch Linux
Opened by Baptiste (zorun) - Tuesday, 08 August 2017, 11:22 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 10 August 2017, 04:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Graphs produced by doxygen with Graphviz are missing fonts: all text is replaced by squares (see attached picture "before.png").

By default, doxygen uses the Helvetica font for graphviz graphs. This font is provided by the "gsfonts" packages.

Attached is an example with the graph /usr/share/doc/doxygen/html/examples/diagrams/html/diagrams__d_8h__dep__incl.png : "before" is with doxygen-docs 1.8.13-3 in [extra], "after" is when rebuilt with gsfonts added to makedepends.

At the very least, "gsfonts" should be added to the makedepends of doxygen (so that the graphs in doxygen-docs are generated correctly). But it would also make sense to depend on "gsfonts", so that packages using doxygen will pick up the font when generating their graphs.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Thursday, 10 August 2017, 04:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  graphviz-2.40.1-6 in [extra]
Comment by Baptiste (zorun) - Tuesday, 08 August 2017, 11:34 GMT
Actually, maybe gsfonts should even be a dependency to graphviz!
Comment by Gaetan Bisson (vesath) - Thursday, 10 August 2017, 04:13 GMT
Sounds good to me.
Comment by Gaetan Bisson (vesath) - Thursday, 10 August 2017, 04:34 GMT
graphviz-2.40.1-6 in [extra] adds gsfonts as dependency; feel free to ask the doxygen maintainer to rebuild their package.

Loading...