Opened 9 years ago

Last modified 9 years ago

#48883 closed defect

cairo: The function ‘CGFontGetGlyphPath’ is obsolete and will be removed in an upcoming update... — at Version 1

Reported by: eerikain@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: cairo

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 given by MacAppStore.org.

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 received is as follows:

Sep 16 12:15:48 Kalles-MBP dot[704] <Error>: 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] <Error>: 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.

Change History (3)

Changed 9 years ago by eerikain@…

Attachment: Monecke_&_Leisch_2012.pdf added

Article by Monecke & Leisch (2012) on semPLS

Changed 9 years ago by eerikain@…

Instructions for installing Graphviz on Mac OSX

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: eerikain@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: cairo added
Summary: dot[704] <Error>: The function ‘CGFontGetGlyphPath’ is obsolete and will be removed in an upcoming update...cairo: The function ‘CGFontGetGlyphPath’ is obsolete and will be removed in an upcoming update...

Are you saying that in addition to seeing these messages about CGFontGetGlyphPath/CGFontGetGlyphPaths, your graph is not being created, when Graphviz is run via R? If so, do you see that same problem if you run the dot program yourself, with valid input and arguments?

I am aware that these messages get printed by programs that use cairo (such as Graphviz), but to my knowledge they are just informational; they should not affect the functionality of the software at all. See #45599, of which this may be a duplicate.

Note: See TracTickets for help on using tickets.