sawsen11 / jrfonseca

Automatically exported from code.google.com/p/jrfonseca
0 stars 0 forks source link

[gprof2dot] Avoiding CoreText performance note PostScript warnings on MacOS X 10.9 Mavericks #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When running on Mac OS X 10.9.3 Mavericks, I get hundreds of warnings in my 
console like this:

2014-06-06 14:58:11.447 dot[75733:507] CoreText performance note: Client called 
CTFontCreateWithName() using name "Arial" and got font with PostScript name 
"ArialMT". For best performance, only use PostScript names when calling this 
API.

These warnings are easily silenced by replacing 
            fontname = "Arial",
on line 2740 of gprof2dot.py with 
            fontname = "ArialMT",

Other projects have had similar issues that came up during my googling:
https://github.com/voormedia/rails-erd/issues/61

Original issue reported on code.google.com by r.h.w...@gmail.com on 6 Jun 2014 at 7:05

GoogleCodeExporter commented 9 years ago

Original comment by Jose.R.F...@gmail.com on 13 Mar 2015 at 7:13

GoogleCodeExporter commented 9 years ago

Original comment by Jose.R.F...@gmail.com on 13 Mar 2015 at 10:08

GoogleCodeExporter commented 9 years ago
I can't repro this on Mac OS X 10.10.1 and graphviz version 2.38.0 (installed 
via homebrew).

So I suppose this issue has been fixed in newer gpraphviz or MacOSX.

Original comment by Jose.R.F...@gmail.com on 16 Mar 2015 at 10:25