Bug 217403 - graphics/graphviz does not find fonts
Summary: graphics/graphviz does not find fonts
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-27 19:45 UTC by Vick Khera
Modified: 2017-03-01 17:20 UTC (History)
0 users

See Also:
dinoex: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vick Khera 2017-02-27 19:45:24 UTC
I needed to install graphviz to generate diagrams using the SchemaSpy tool with my database.

When it runs dot it encounters the following error:

dot -Tpng:gd /tmp/mmschema/diagrams/summary/relationships.real.compact.dot -o/tmp/mmschema/diagrams/summary/relationships.real.compact.png -Tcmapx: Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts need installing?

Once I installed the x11-fonts/urwfonts package, these warnings went away, and it was able to generate the diagrams instead of failing to generate any image.

It seems to me that this font package should be a dependency of graphviz.
Comment 1 Vick Khera 2017-02-28 03:42:46 UTC
I think this is really an issue with the schemaspy software requesting a font name "Helvetica" which is otherwise not found in the fonts used by many other programs (not in webfonts, or the xorg type1 fonts collections) which I had installed already.

Feel free to ignore this. Sorry for the noise.
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2017-03-01 17:20:35 UTC
The fonts are defined in the dot files.

The software defining the font names should require the needed font.