From 1494616d598baf74d84a6e41c2680d0250a5462b Mon Sep 17 00:00:00 2001 From: ellson Date: Sun, 21 Feb 2010 15:35:09 +0000 Subject: [PATCH] apply patch from David Claughton to better support font names containing spaces. (Bug report #1888) --- plugin/pango/gvtextlayout_pango.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.40.0