You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Sindhu N Kashyap (JIRA)" <ji...@apache.org> on 2012/11/30 12:41:57 UTC

[jira] [Created] (PDFBOX-1463) I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.

Sindhu N Kashyap created PDFBOX-1463:
----------------------------------------

             Summary: I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.
                 Key: PDFBOX-1463
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1463
             Project: PDFBox
          Issue Type: Bug
         Environment: UNIX
            Reporter: Sindhu N Kashyap
            Priority: Critical




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PDFBOX-1463) Unreadable fonts on UNIX

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-1463:
---------------------------------------

    Description: I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.
        Summary: Unreadable fonts on UNIX  (was: I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.)
    
> Unreadable fonts on UNIX
> ------------------------
>
>                 Key: PDFBOX-1463
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1463
>             Project: PDFBox
>          Issue Type: Bug
>         Environment: UNIX
>            Reporter: Sindhu N Kashyap
>            Priority: Critical
>
> I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PDFBOX-1463) Unreadable fonts on UNIX

Posted by "Sindhu N Kashyap (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510280#comment-13510280 ] 

Sindhu N Kashyap commented on PDFBOX-1463:
------------------------------------------

Hi David,
Thanks for the suggestion. We tried putting all the font files in the java font directory as you had mentioned. Is there any other reference that needs to be made to the font file, like in the classpath?
                
> Unreadable fonts on UNIX
> ------------------------
>
>                 Key: PDFBOX-1463
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1463
>             Project: PDFBox
>          Issue Type: Bug
>         Environment: UNIX
>            Reporter: Sindhu N Kashyap
>            Priority: Critical
>         Attachments: ConvertedTif.tif, EAPP161158000.pdf
>
>
> I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PDFBOX-1463) Unreadable fonts on UNIX

Posted by "Sindhu N Kashyap (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sindhu N Kashyap updated PDFBOX-1463:
-------------------------------------

    Attachment: ConvertedTif.tif
                EAPP161158000.pdf

I am using pdfbox-1.7.1 version. I have attached the original 16 page PDF. The second attachment contains the first page of the converted tif.
                
> Unreadable fonts on UNIX
> ------------------------
>
>                 Key: PDFBOX-1463
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1463
>             Project: PDFBox
>          Issue Type: Bug
>         Environment: UNIX
>            Reporter: Sindhu N Kashyap
>            Priority: Critical
>         Attachments: ConvertedTif.tif, EAPP161158000.pdf
>
>
> I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PDFBOX-1463) Unreadable fonts on UNIX

Posted by "David Fisher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508678#comment-13508678 ] 

David Fisher commented on PDFBOX-1463:
--------------------------------------

On Unix TTFs need to be installed in the Java JRE. http://www.fileformat.info/tip/java/ttf.htm

This works in my use of PDFBox just fine.
                
> Unreadable fonts on UNIX
> ------------------------
>
>                 Key: PDFBOX-1463
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1463
>             Project: PDFBox
>          Issue Type: Bug
>         Environment: UNIX
>            Reporter: Sindhu N Kashyap
>            Priority: Critical
>
> I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PDFBOX-1463) Unreadable fonts on UNIX

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507915#comment-13507915 ] 

Andreas Lehmkühler commented on PDFBOX-1463:
--------------------------------------------

Without having a hand on the pdf this will only be a guess. Sounds like the fonts are not embedded into the pdf in question and PDFBOx tries to replace them which works for windows but doesn't work for UNIX.

Please attach the pdf in question or provide some more information about the used fonts (have a look at the properties using adobe reader or give the PDFDebugger coming with PDFBox a try).

BTW, which version of PDFBox are you using?
                
> Unreadable fonts on UNIX
> ------------------------
>
>                 Key: PDFBOX-1463
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1463
>             Project: PDFBox
>          Issue Type: Bug
>         Environment: UNIX
>            Reporter: Sindhu N Kashyap
>            Priority: Critical
>
> I'm converting PDFs to tif. The conversion is fine when run in Windows. When i run the same code in UNIX ,its converting with a font that is unreadable. I put some font ttf files in the classes path but that has not made any difference. Please help.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira