[
https://issues.apache.org/jira/browse/PDFBOX-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925498#comment-13925498
]
janak commented on PDFBOX-1971:
-------------------------------
Have modified source of PDFBox on latest version and added liberationsans
fonts. Basically idea is to generate pdf using pdfbox with liberationsans
fonts.
> Bad /bbox dialog after creating PDF with custom font
> ----------------------------------------------------
>
> Key: PDFBOX-1971
> URL: https://issues.apache.org/jira/browse/PDFBOX-1971
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 1.8.4
> Environment: Linux and Windows
> Reporter: janak
> Attachments: Hello World.pdf, LiberationSans-Bold.afm,
> LiberationSans-Bold.pfb, LiberationSans-Bold.ttf, LiberationSans-Regular.afm,
> LiberationSans-Regular.pfb, LiberationSans-Regular.ttf, Main.java
>
>
> I have tried with adding my customer font in PDFBox resource but it not
> creating proper PDF. PDF was created successfully but its showing Font
> contain bad /bbox dialogue while opening the pdf. What will be solution for
> this.
> Testing with font : LiberationSans with Regular and Bold
> Also tried with loadTTF and PDType1AfmPfbFont class but pdf was 150 times
> larger then attached one.
--
This message was sent by Atlassian JIRA
(v6.2#6252)