From: ellson Date: Sun, 21 Feb 2010 15:35:09 +0000 (+0000) Subject: apply patch from David Claughton X-Git-Tag: LAST_LIBGRAPH~32^2~1424 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1494616d598baf74d84a6e41c2680d0250a5462b;p=graphviz apply patch from David Claughton to better support font names containing spaces. (Bug report #1888) --- diff --git a/plugin/pango/gvtextlayout_pango.c b/plugin/pango/gvtextlayout_pango.c index f1953f574..3735e9cb8 100644 --- a/plugin/pango/gvtextlayout_pango.c +++ b/plugin/pango/gvtextlayout_pango.c @@ -1,4 +1,4 @@ - /* $Id$ $Revision$ */ +/* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /********************************************************* @@ -37,6 +37,7 @@ static char* pango_psfontResolve (PostscriptAlias* pa) { static char buf[1024]; strcpy(buf, pa->family); + strcat(buf, ","); if (pa->weight) { strcat(buf, " "); strcat(buf, pa->weight);