From: Simon Pepping Date: Wed, 15 Jun 2011 11:44:43 +0000 (+0000) Subject: Merged /xmlgraphics/fop/trunk:r1094917-1135999 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=613fa7fe70fb6b47da38b2783b41a14987df42e5;p=xmlgraphics-fop.git Merged /xmlgraphics/fop/trunk:r1094917-1135999 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts@1136002 13f79535-47bb-0310-9956-ffa450edef68 --- 613fa7fe70fb6b47da38b2783b41a14987df42e5 diff --cc src/java/org/apache/fop/pdf/PDFTextUtil.java index afa86ae72,3768bb6ce..ed475fcb8 --- a/src/java/org/apache/fop/pdf/PDFTextUtil.java +++ b/src/java/org/apache/fop/pdf/PDFTextUtil.java @@@ -81,10 -81,10 +81,10 @@@ public abstract class PDFTextUtil sb.append(PDFNumber.doubleOut(lt[5], DEC)); } - private void writeChar(char ch, StringBuffer sb) { - if (!useMultiByte) { + private static void writeChar(char ch, StringBuffer sb, boolean multibyte) { + if (!multibyte) { if (ch < 32 || ch > 127) { - sb.append("\\").append(Integer.toOctalString((int)ch)); + sb.append("\\").append(Integer.toOctalString(ch)); } else { switch (ch) { case '(':