[
https://issues.apache.org/jira/browse/PDFBOX-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457993#comment-16457993
]
Tilman Hausherr edited comment on PDFBOX-4189 at 4/29/18 11:51 AM:
-------------------------------------------------------------------
I'm getting "Exception in thread "main" java.lang.IllegalArgumentException: No
glyph for U+00E0 in font Lohit-Bengali" when running the example. Could you
check whether the committed sample text file is the one you used, i.e. that no
byte was changed? What encoding is used for the text, could it be we have to
pass the encoding to InputStreamReader?
was (Author: tilman):
I'm getting "Exception in thread "main" java.lang.IllegalArgumentException: No
glyph for U+00E0 in font Lohit-Bengali" when running the example. Could you
check whether the committed sample text file is the one you used? What encoding
is used for the text, could it be we have to pass the encoding to
InputStreamReader?
> Enable PDF creation with Indian languages, by reading and utilizing the GSUB
> table
> ----------------------------------------------------------------------------------
>
> Key: PDFBOX-4189
> URL: https://issues.apache.org/jira/browse/PDFBOX-4189
> Project: PDFBox
> Issue Type: New Feature
> Components: FontBox, PDModel
> Reporter: Palash Ray
> Priority: Major
> Attachments: Bengali-text-after.pdf, Bengali-text-before.pdf,
> BengaliPdfGenerationHelloWorld.java, bengali-example.pdf,
> bengali-example2.pdf, bengali-example3.pdf, committed.patch, screenshot.png
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> Implemented proper rendering of Indian languages, which need extensive Glyph
> substitution. The GSUB table has been read and used effectively to replace
> some compound words with their respective Glyphs. All tests are passing. I
> have tested this for the Bengali font. Please review these changes and let me
> know if it makes sense to incorporate these.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]