From: erg Date: Mon, 23 Apr 2007 18:07:13 +0000 (+0000) Subject: Fix typo in font name conversion X-Git-Tag: LAST_LIBGRAPH~32^2~5597 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df96e6b57a6d4add196700f696914bded196bdd5;p=graphviz Fix typo in font name conversion --- diff --git a/plugin/gd/gvtextlayout_gd.c b/plugin/gd/gvtextlayout_gd.c index 8d1fe4aac..929fe6db2 100644 --- a/plugin/gd/gvtextlayout_gd.c +++ b/plugin/gd/gvtextlayout_gd.c @@ -78,11 +78,11 @@ char *gd_alternate_fontlist(char *font) else if ((strcasecmp(font, "arial-bold") == 0) || (strcasecmp(fontbuf, "arialb") == 0)) - fontlist = "arialb;Alialb;ARIALB"; + fontlist = "arialb;Arialb;ARIALB"; else if ((strcasecmp(font, "arial-italic") == 0) || (strcasecmp(fontbuf, "ariali") == 0)) - fontlist = "ariali;Aliali;ARIALI"; + fontlist = "ariali;Ariali;ARIALI"; else if (strcasecmp(fontbuf, "helvetica") == 0) fontlist = "helvetica;Helvetica;HELVETICA;arial;Arial;ARIAL";