[ https://issues.apache.org/jira/browse/PDFBOX-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454743#comment-16454743 ]
Tilman Hausherr commented on PDFBOX-4189: ----------------------------------------- [~msahyoun] sounds interesting. But what is when the string belongs to two languages? What about punctuation? I realize there's another thing we may have overlooked: getting the width of a string. That one doesn't use the new code so it wouldn't return the correct width. [~paawak] thanks, I'll look at it tomorrow. I am thinking not about Bengali (where GSUB is a "must", if I understand it correctly) but about ligatures in latin scripts where it is a "nice feature" that some may appreciate and some won't. I opened the Arial font in DTL OTMaster and it has ligatures at GID 4231, so I assume it supports substitution. > 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, 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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org