[ 
https://issues.apache.org/jira/browse/PDFBOX-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457980#comment-16457980
 ] 

Maruan Sahyoun commented on PDFBOX-4189:
----------------------------------------

[~paawak] There is {{o.a.p.pdmodel.interactive.form.PlainTextFormatter}} which 
has a very basic implementation to support multiline text fields. With the new 
features I'm looking to enhance that. We also had a discussion in the past 
about a text formatter (and some requests for it) but I'm not aware that 
someone is working on that. My thoughts are to try it for form fields and 
annotations first - keeping it private/package private - fill the gaps and then 
decide if we make it a public API for **basic** text formatting. Given that a 
real layout engine is very complex to do I doubt that this is something that we 
should target for the foreseeable future - but a basic implementation will also 
help us to understand what we need to provide for others to potentially build 
that on top of PDFBox.

> 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]

Reply via email to