Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-238

patch to enable CJK charset supports

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      [imported from SourceForge]
      http://sourceforge.net/tracker/index.php?group_id=78314&atid=552834&aid=1640071
      Originally submitted by pinxue on 2007-01-19 22:25.

      This patch is applied to 0.7.2 version.
      It enable the supports for CJK charset.
      But there are still two kind of encodings, Identity-H and Identity-V, cannot be handled.
      We have created an ad-hoc solution for this problem with very little change to the source code, but this patch is much more graceful.

      [attachment on SourceForge]
      http://sourceforge.net/tracker/download.php?group_id=78314&atid=552834&aid=1640071&file_id=212167
      Preliminary_Application_Form.pdf (application/pdf), 161908 bytes
      sample of file encoded in Identity-H

      [attachment on SourceForge]
      http://sourceforge.net/tracker/download.php?group_id=78314&atid=552834&aid=1640071&file_id=212165
      pdfbox-0.7.2-cjk.patch (application/octet-stream), 27111 bytes
      0.7.2 CJK charset support.

      [comment on SourceForge]
      Originally sent by yt_okamoto.
      Logged In: YES
      user_id=1586822
      Originator: NO

      Hi, I'm trying with patched pdfbox-0.7.2 but don't show Japanese PDF encoded by Identity-H correctly too. I await a new pdfbox supported Identity-H and Identity-V a lot.

      sample of Japanese PDF document encoded in Identity-H:
      http://www.bridgestone.co.jp/info/library/csr_report/pdf/2006/BS07-08.pdf

      [comment on SourceForge]
      Originally sent by aaaken.
      Logged In: YES
      user_id=1768927
      Originator: NO

      thanks

      [comment on SourceForge]
      Originally sent by nobody.
      Logged In: NO

      hi ,i using the patch but chinese dos't show

      [comment on SourceForge]
      Originally sent by pinxue.
      Logged In: YES
      user_id=1147498
      Originator: YES

      PS: the patch is created by diff in cygwin.
      try:
      patch -p1 < pdfbox-0.7.2-cjk.patch
      in the root of the 0.7.2 source code tree.
      File Added: Preliminary_Application_Form.pdf

      Attachments

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              Anonymous Anonymous
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: