2 Replies Latest reply: Aug 8, 2012 10:00 AM by user1086916 RSS

    PrintingCommonUtil.java file

    user1086916
      According to bug: Bug 6266013 : QUESTION MARKS APPEAR INSTEAD OF THE TRANSLATED WATER MARK IN JAPANESE LANGUAGE

      It states that:
      The PrintingCommonUtil.java has following lines.
      ...
      watermarks[0].put(PDFDocMerger.WATERMARK_FONT, WATERMARK_FONT);
      ...
      Please replace the "WATERMARK_FONT" with "default".
      And the japanese watermark should show up.

      So, it's (maybe) advising I change a file called: PrintingCommonUtil.java
      Adding default as Watermark font.

      But where is the file PrintingCommonUtil.java and how to change it?
        • 1. Re: PrintingCommonUtil.java file
          WSiebel-Oracle
          I believe this bug is related with an old version of BI Publisher, formerly XML Publisher. Check if doc below may provide some guidance:

          http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12693/oracle/apps/xdo/common/pdf/util/PDFDocMerger.html

          Hope it helps,

          Wilson
          • 2. Re: PrintingCommonUtil.java file
            user1086916
            Thank you.
            Eventually I resolved the issue by just finding more and more folders and copying the fonts into them:

            The four main folders I have found it useful to copy the files are to:
            - OraHome_1\jdk\jre\lib\fonts
            - OraHome_1\jdk\lib\fonts
            - OraHome_1\jre\1.4.2\lib\fonts
            - C:\Program Files\Java\jre6\lib\fonts