]> granicus.if.org Git - graphviz/commitdiff
iOS default font is Times New Roman
authorGlen Low <glen.low@pixelglow.com>
Thu, 5 Dec 2013 09:28:31 +0000 (17:28 +0800)
committerGlen Low <glen.low@pixelglow.com>
Thu, 5 Dec 2013 09:28:31 +0000 (17:28 +0800)
lib/common/const.h

index e3d59c31b8266d75c1a0b40c007eb12f42a07293..14a3136a5b4dfba1f0470c311c3ba25b613c8c60 100644 (file)
 #define                DEFAULT_FONTSIZE        14.0
 #define                DEFAULT_LABEL_FONTSIZE  11.0    /* for head/taillabel */
 #define                MIN_FONTSIZE            1.0
+#if defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) || defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
+#define                DEFAULT_FONTNAME        "TimesNewRomanPSMT"
+#else
 #define                DEFAULT_FONTNAME        "Times-Roman"
+#endif
 #define                DEFAULT_FILL            "lightgrey"
 #define         LINESPACING             1.20