On Jul 8, 2014, at 3:59 PM, Leonard Rosenthol <lrose...@adobe.com> wrote:

> PDF Names are case sensitive - so Acrobat is behaving correctly and the
> Chrome browser is being lenient (though not necessarily in a good way!)

Thanks for the clarification, Leonard.  (I am just starting to learn PDF.)  I 
see that you affiliation is Adobe, so could someone from iText comment on 
whether there will be a bug fix?

Attached a simple patch file for the iText-5.5.1 tagged release on sourceforge 
and also printed here (because so short):

Index: itext/src/main/java/com/itextpdf/text/pdf/PdfName.java
===================================================================
--- itext/src/main/java/com/itextpdf/text/pdf/PdfName.java      (revision 6456)
+++ itext/src/main/java/com/itextpdf/text/pdf/PdfName.java      (working copy)
@@ -1381,7 +1381,7 @@
     /** A name */
     public static final PdfName OFF = new PdfName("OFF");
     /** A name */
-    public static final PdfName ON = new PdfName("on");
+    public static final PdfName ON = new PdfName("ON");
     /** A name */
     public static final PdfName ONECOLUMN = new PdfName("OneColumn");
     /** A name */


Thanks,
Linda

Attachment: iText-5.5.1.patch
Description: Binary data


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to