dot[704] <Error>: The function ‘CGFontGetGlyphPaths’ is obsolete and will be removed in an upcoming update...

Hi!

I am running R (a free software for statistical computing, URL http://www.R-project.org/) on my MacBook Pro (OS X Yosemite, ver. 10.10.5) and using its package “semPLS” to estimate the structural equation model by Monecke & Leisch (2012) (see the enclosed article). Everything works well until I try to obtain graphical representations of the results with the function “pathDiagram()” that creates a graph in the DOT language (Gansner et al. 2006). A prerequisite for this is that Graphviz (AT&T Research 2009) is available on the system; I did install it following the instructions as follows:

"Install the App

1. Press Command+F and type Terminal and press enter/return key.

2. Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-
cask 2> /dev/null

and press enter/return key. Wait for the command to finish.

3. Run:
brew cask install graphviz
Done! You can now use Graphviz. Related Mac Apps:
1. Install graphviz on Mac OSX (http://macappstore.org/graphviz-2/)"

The R command and the following comment by the estimator are as follows:

R > pathDiagram(ecsi, file = "ecsiStructure", full = FALSE, edge.labels = "both", output.type = "graphics", digits = 2)

Running dot -Tpdf -o ecsiStructure.pdf ecsiStructure.dot

The error message that I finally received is as follows:

Sep 16 12:15:48 Kalles-MBP dot[704] : The function ‘CGFontGetGlyphPath’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
Sep 16 12:15:48 Kalles-MBP dot[704] : The function ‘CGFontGetGlyphPaths’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.

I would be very grateful if you could guide me to solve the problem.

Best regards,

Kalle E.

Re: ‘CGFontGetGlyphPaths’ is obsolete and will be removed

Greetings.  We have seen this warning yoo. It's not a Graphviz problem. The warning is generated in libcairo,  in cairo-quartz-font.c   The cairo development team is responsible and probably has aready fixed it. Cairo is just a library that Graphviz calls as a driver. Hopefully the Cairo developer are aware of this by now. We first knew of this last November. I'm currently using Cairo from Mac Homebrew which is on version 1.14.2 and I don't see this warning any more. Because AT&T Labs changed directions, most of the people working on Graphviz are not there any more, and we lost access to the OSX build farm. So I'm not sure if the Mac OSX install packages are being rebuilt or if the dependencies like Cairo are being upgraded any more. Sorry. 

With pango taking over more

With pango taking over more control of how fonts and font names are handled, I no longer have any idea what fonts are actually available, or how to add new ones. It may still use fontconfig, but mapping is unclear. 

And how hard could it be to add links to PDF and svg output?

Cairo was discussing links (anchors) back in 2008

I guess they gave up.  Their main customer is OpenOffice?  Which has some other way of doing this?  It seems so generally useful.

Recent comments