From: Peter Bernard West Date: Thu, 9 May 2002 04:08:39 +0000 (+0000) Subject: Fixed generation of font name containing spaces. X-Git-Tag: FOP_Alt-Design_Migration~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d40f0d747f9ea62444140411034902dd101f2738;p=xmlgraphics-fop.git Fixed generation of font name containing spaces. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@194811 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/fo/Properties.java b/src/org/apache/fop/fo/Properties.java index f217c6244..bdfdb25cb 100644 --- a/src/org/apache/fop/fo/Properties.java +++ b/src/org/apache/fop/fo/Properties.java @@ -2280,7 +2280,7 @@ public abstract class Properties { // 7.8.2 "font-family" Iterator font = ((PropertyValueList)value).iterator(); while (font.hasNext()) - name = name + " " + name = name + (name.length() == 0 ? "" : " ") + ((StringType)(font.next())).getString(); } else if (value instanceof StringType)