ICEpdf
  1. ICEpdf
  2. PDF-502

problems converting to image

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 5.0.5
    • Component/s: Font Engine
    • Labels:
      None
    • Environment:
      linux

      Description

      We have some problems to convert a pdf document to image.the software does bad convertion.attached you have the result of the convertion
      1. Memorando.pdf
        141 kB
        Yassine El Bouamri
      1. docResult.png
        170 kB

        Activity

        Hide
        Yassine El Bouamri added a comment -

        as you can see in the image . some character are over the others

        Show
        Yassine El Bouamri added a comment - as you can see in the image . some character are over the others
        Hide
        Patrick Corless added a comment -

        Could you attach the original PDF file?

        Show
        Patrick Corless added a comment - Could you attach the original PDF file?
        Hide
        Yassine El Bouamri added a comment -

        here you have the original PDF file.

        Show
        Yassine El Bouamri added a comment - here you have the original PDF file.
        Hide
        Yassine El Bouamri added a comment -

        Please we need solution for this problems. only we have it in one environment which is linux ubuntu 12.04 with java 1.6_0_24, tomcat7(see the information of the server)

        java -version
        OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1)
        OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

        /bin/uname -a
        Linux srvempleado 2.6.32-16-pve #1 SMP Fri Nov 9 11:42:51 CET 2012 x86_64 x86_64 x86_64 GNU/Linux

        cat /proc/meminfo
        MemTotal: 4194304 kB
        MemFree: 1964252 kB
        Cached: 1125844 kB
        Active: 1771548 kB
        Inactive: 397844 kB
        Active(anon): 1040568 kB
        Inactive(anon): 2980 kB
        Active(file): 730980 kB
        Inactive(file): 394864 kB
        Unevictable: 0 kB
        Mlocked: 0 kB
        SwapTotal: 524288 kB
        SwapFree: 518596 kB
        Dirty: 1468 kB
        Writeback: 0 kB
        AnonPages: 1043548 kB
        Shmem: 37664 kB
        Slab: 60564 kB
        SReclaimable: 43352 kB
        SUnreclaim: 17212 kB

        cat /proc/cpuinfo
        processor : 0
        vendor_id : GenuineIntel
        cpu family : 6
        model : 45
        model name : Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz
        stepping : 7
        cpu MHz : 2400.088
        cache size : 20480 KB
        physical id : 0
        siblings : 16
        core id : 0
        cpu cores : 8
        apicid : 0
        initial apicid : 0
        fpu : yes
        fpu_exception : yes
        cpuid level : 13
        wp : yes
        flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
        bogomips : 4800.17
        clflush size : 64
        cache_alignment : 64
        address sizes : 46 bits physical, 48 bits virtual
        power management:

        processor : 1
        vendor_id : GenuineIntel
        cpu family : 6
        model : 45
        model name : Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz
        stepping : 7
        cpu MHz : 2400.088
        cache size : 20480 KB
        physical id : 1
        siblings : 16
        core id : 0
        cpu cores : 8
        apicid : 32
        initial apicid : 32
        fpu : yes
        fpu_exception : yes
        cpuid level : 13
        wp : yes
        flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
        bogomips : 4799.34
        clflush size : 64
        cache_alignment : 64
        address sizes : 46 bits physical, 48 bits virtual
        power management:

        processor : 2
        vendor_id : GenuineIntel
        cpu family : 6
        model : 45
        model name : Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz
        stepping : 7
        cpu MHz : 2400.088
        cache size : 20480 KB
        physical id : 0
        siblings : 16
        core id : 1
        cpu cores : 8
        apicid : 2
        initial apicid : 2
        fpu : yes
        fpu_exception : yes
        cpuid level : 13
        wp : yes
        flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
        bogomips : 4800.17
        clflush size : 64
        cache_alignment : 64
        address sizes : 46 bits physical, 48 bits virtual
        power management:

        processor : 3
        vendor_id : GenuineIntel
        cpu family : 6
        model : 45
        model name : Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz
        stepping : 7
        cpu MHz : 2400.088
        cache size : 20480 KB
        physical id : 1
        siblings : 16
        core id : 1
        cpu cores : 8
        apicid : 34
        initial apicid : 34
        fpu : yes
        fpu_exception : yes
        cpuid level : 13
        wp : yes
        flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
        bogomips : 4799.34
        clflush size : 64
        cache_alignment : 64
        address sizes : 46 bits physical, 48 bits virtual
        power management:

        Show
        Yassine El Bouamri added a comment - Please we need solution for this problems. only we have it in one environment which is linux ubuntu 12.04 with java 1.6_0_24, tomcat7(see the information of the server) java -version OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) /bin/uname -a Linux srvempleado 2.6.32-16-pve #1 SMP Fri Nov 9 11:42:51 CET 2012 x86_64 x86_64 x86_64 GNU/Linux cat /proc/meminfo MemTotal: 4194304 kB MemFree: 1964252 kB Cached: 1125844 kB Active: 1771548 kB Inactive: 397844 kB Active(anon): 1040568 kB Inactive(anon): 2980 kB Active(file): 730980 kB Inactive(file): 394864 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 524288 kB SwapFree: 518596 kB Dirty: 1468 kB Writeback: 0 kB AnonPages: 1043548 kB Shmem: 37664 kB Slab: 60564 kB SReclaimable: 43352 kB SUnreclaim: 17212 kB cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz stepping : 7 cpu MHz : 2400.088 cache size : 20480 KB physical id : 0 siblings : 16 core id : 0 cpu cores : 8 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid bogomips : 4800.17 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz stepping : 7 cpu MHz : 2400.088 cache size : 20480 KB physical id : 1 siblings : 16 core id : 0 cpu cores : 8 apicid : 32 initial apicid : 32 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid bogomips : 4799.34 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz stepping : 7 cpu MHz : 2400.088 cache size : 20480 KB physical id : 0 siblings : 16 core id : 1 cpu cores : 8 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid bogomips : 4800.17 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2665 0 @ 2.40GHz stepping : 7 cpu MHz : 2400.088 cache size : 20480 KB physical id : 1 siblings : 16 core id : 1 cpu cores : 8 apicid : 34 initial apicid : 34 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid bogomips : 4799.34 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management:
        Hide
        Patrick Corless added a comment -

        Could you run ICEpdf with "FINEST" level logging enabled to help us diagnose this issue. More information on enabling logging on ICEpdf can be found here, http://www.icesoft.org/wiki/display/PDF/Logging .

        Show
        Patrick Corless added a comment - Could you run ICEpdf with "FINEST" level logging enabled to help us diagnose this issue. More information on enabling logging on ICEpdf can be found here, http://www.icesoft.org/wiki/display/PDF/Logging .
        Hide
        Yassine El Bouamri added a comment -

        As i told to you before . the icepdf works fine in all the Systems less the ubuntu. 12.04.
        ¿Is IcePdf use any ressources of the OS system to convert to image(Fonts,codification,etc...)?

        Please , we need to get the solution for this problem.

        Thank you in advance

        Show
        Yassine El Bouamri added a comment - As i told to you before . the icepdf works fine in all the Systems less the ubuntu. 12.04. ¿Is IcePdf use any ressources of the OS system to convert to image(Fonts,codification,etc...)? Please , we need to get the solution for this problem. Thank you in advance
        Hide
        Patrick Corless added a comment -

        The issue is related to how font substitution can very from system to system. The following code will force ICEpdf to store the found system fonts in ~./icesoft/icepdf/ folder.

        // read/store the font cache.
        ResourceBundle messageBundle = ResourceBundle.getBundle(
        PropertiesManager.DEFAULT_MESSAGE_BUNDLE);
        PropertiesManager properties = new PropertiesManager(System.getProperties(),
        ResourceBundle.getBundle(PropertiesManager.DEFAULT_MESSAGE_BUNDLE));
        new FontPropertiesManager(properties, System.getProperties(), messageBundle);

        The fonts in this file will be retrieved for future lookup when font substitution is needed. If you look carefully at the logs as described in the wiki above you maybe be able to comment out the particular font that is causing the layout issue.

        Show
        Patrick Corless added a comment - The issue is related to how font substitution can very from system to system. The following code will force ICEpdf to store the found system fonts in ~./icesoft/icepdf/ folder. // read/store the font cache. ResourceBundle messageBundle = ResourceBundle.getBundle( PropertiesManager.DEFAULT_MESSAGE_BUNDLE); PropertiesManager properties = new PropertiesManager(System.getProperties(), ResourceBundle.getBundle(PropertiesManager.DEFAULT_MESSAGE_BUNDLE)); new FontPropertiesManager(properties, System.getProperties(), messageBundle); The fonts in this file will be retrieved for future lookup when font substitution is needed. If you look carefully at the logs as described in the wiki above you maybe be able to comment out the particular font that is causing the layout issue.
        Hide
        Patrick Corless added a comment -

        This appears to be rendering correctly in 5.0.5 both OS and PRO releases. Work was done around a width issue which likely also effected this document.

        Show
        Patrick Corless added a comment - This appears to be rendering correctly in 5.0.5 both OS and PRO releases. Work was done around a width issue which likely also effected this document.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Yassine El Bouamri
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: