Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001445graphvizDotpublic2008-10-15 14:422011-04-28 04:03
ReporterStephen North 
Assigned Togviz 
PlatformOS*-*-OS Version
Summary0001445: fontname documentation

Documentation needs to explain when a Pango font specification is allowed,
and when a fontconfig specification is allowed.
Additional Information
For extra credit, convert one into the other :-)

Assuming you have graphviz built with pangocairo, the syntax for dot's fontname attribute is pango's:
<CD> [^]
    fontname="Calibri Bold"
should give you what you want.

The current version of dot ignores any [SIZE] value and uses its own default, or the value given by "fontsize=..." instead.
We will investigate to see if we can at least accept pango's [SIZE] to override dot's default.

If you don't have pangocairo installed, then fontname is interpreted by the gd library and fontconfig, which unfortunately uses a different syntax:
should work. My personal feeling is, don't use graphviz without pangocairo, but perhaps we can do something to make the syntax for uniform in this scenario.

If neither pangocairo nor fontconfig are available, then we fallback to some internal bitmap fonts. In this scenario its probably best to just stick with the default font.

TagsNo tags attached.
VERSION     2.21.0
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker