From: ellson Date: Fri, 13 Mar 2009 23:32:24 +0000 (+0000) Subject: Apparently, pango on MacOSX like "Times New Roman" but barfs on "Times Roman" X-Git-Tag: LAST_LIBGRAPH~32^2~2264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5d89e7add0bf43623ba5409a82345a820b74d87;p=graphviz Apparently, pango on MacOSX like "Times New Roman" but barfs on "Times Roman" It seems to be singularly stupid on Macs. If the fontname doesn't exactly match a font-filename then it gives you Sans! Change to simply "Times" as being the lowest common denominator. (Well, I suppose "Serif" would be lower) --- diff --git a/lib/common/ps_fontmap.txt b/lib/common/ps_fontmap.txt index 9feab4ec2..67ae83fa2 100644 --- a/lib/common/ps_fontmap.txt +++ b/lib/common/ps_fontmap.txt @@ -1,6 +1,5 @@ -#define TIMES "Times Roman" +#define TIMES "Times" #define COURIER "Courier" -#define HELVETICA "Arial" -#define HELVETICA "Arial" +#define HELVETICA "Helvetica" #define SYMBOL "Symbol" -#define PALATINO "Palatino Linotype" +#define PALATINO "Palatino"