]> granicus.if.org Git - graphviz/commitdiff
apply patch from David Claughton <dave@eclecticdave.com>
authorellson <devnull@localhost>
Sun, 21 Feb 2010 15:35:09 +0000 (15:35 +0000)
committerellson <devnull@localhost>
Sun, 21 Feb 2010 15:35:09 +0000 (15:35 +0000)
to better support font names containing spaces.
(Bug report #1888)

plugin/pango/gvtextlayout_pango.c

index f1953f57483177cea4aecb44718733dec0115bab..3735e9cb8c1b5180a6b431e10abe662af00a9c64 100644 (file)
@@ -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);