From: erg Date: Thu, 24 Feb 2005 19:12:12 +0000 (+0000) Subject: Fix bug in which Times-Bold is mapped to timesb, rather than timesbd. X-Git-Tag: LAST_LIBGRAPH~32^2~7881 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4885c19ba9be2f034a27d8f85fcdf74a92c20827;p=graphviz Fix bug in which Times-Bold is mapped to timesb, rather than timesbd. --- diff --git a/lib/common/gdtextsize.c b/lib/common/gdtextsize.c index d7378ef1f..661b8eea5 100644 --- a/lib/common/gdtextsize.c +++ b/lib/common/gdtextsize.c @@ -44,8 +44,9 @@ char *gd_alternate_fontlist(char *font) fontlist = fontbuf; if ((strcasecmp(font, "times-bold") == 0) + || (strcasecmp(fontbuf, "timesbd") == 0) || (strcasecmp(fontbuf, "timesb") == 0)) - fontlist = "timesb;Timesb;TIMESB"; + fontlist = "timesbd;Timesbd;TIMESBD;timesb;Timesb;TIMESB"; else if ((strcasecmp(font, "times-italic") == 0) || (strcasecmp(fontbuf, "timesi") == 0))