ICEpdf
  1. ICEpdf
  2. PDF-1110

Chinese characters not showing un Ubuntu 10.4

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.1
    • Fix Version/s: None
    • Component/s: Core/Rendering, Font Engine
    • Labels:
      None
    • Environment:
      Ubuntu 10.4

      Description

      A customer is having issues rendering Chinese fonts in their Ubuntu 10.4 environment. Here are details provided:

      We provided the solution:
      --------------------------------
      1. Copy "simsun.ttc" into "lib\fonts" inside "your_java_runtime_directory"
      2. Close program and start it again

      Note; IcePDF should be able to render the "missed glyphs"... Otherwise, they got conflict with other font - they use wrong font without required glyphs.
      --------------------------------


      Customer reported:
      The solution works fine on Suse, but not works on Ubuntu.
      Now customer is facing the Chinese characters are missing when print preview on Ubuntu.

      ***
      The provided workaround works on Windows/Mac OS X, but not on Ubuntu 10.04

        Activity

        Hide
        Patrick Corless added a comment -

        I tried to get other Chinese fonts to load on ubuntu and didn't have a lot of luck as the font metrics were off or they were not hinted correctly. However the the following procedure will get the PDF rendering correcting

        sudo cp ~/Downloads/simsum.ttc /usr/share/fonts/truetype/
        sudo chmod 555 /usr/share/fonts/truetype/simsum.ttc
        sudo rm ~./icesoft/icepdf-viewer/pdfviewerfontcache.properties

        Show
        Patrick Corless added a comment - I tried to get other Chinese fonts to load on ubuntu and didn't have a lot of luck as the font metrics were off or they were not hinted correctly. However the the following procedure will get the PDF rendering correcting sudo cp ~/Downloads/simsum.ttc /usr/share/fonts/truetype/ sudo chmod 555 /usr/share/fonts/truetype/simsum.ttc sudo rm ~./icesoft/icepdf-viewer/pdfviewerfontcache.properties
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: