[
https://issues.apache.org/jira/browse/PDFBOX-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682690#comment-17682690
]
Tilman Hausherr commented on PDFBOX-4189:
-----------------------------------------
There are javadoc errors:
{noformat}
XXX\Java\PDFBox
reactor\fontbox\src\main\java\org\apache\fontbox\ttf\GlyphSubstitutionTable.java:710:
error: reference not found
* corresponding {@link GsubWorker} implementation for it.
^
XXX\Java\PDFBox
reactor\fontbox\src\main\java\org\apache\fontbox\ttf\GlyphSubstitutionTable.java:712:
error: unknown tag: implNote
* @implNote This method performs searching on every invocation (no results
are cached)
^
XXX\Java\PDFBox
reactor\fontbox\src\main\java\org\apache\fontbox\ttf\TrueTypeFont.java:643:
error: no tag name after @
* @ @return the GSubData of the GlyphSubstitutionTable or {@link
GsubData#NO_DATA_FOUND} if either no GSUB data is
^
{noformat}
Re resolving this: be aware that the current solution is incomplete. The PDF is
visually OK but IIRC text extraction won't work properly.
Everyone reading this is welcome to create a new ticket or PR if you want to
contribute a new language, or just latin ligatures.
> 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
> Affects Versions: 2.0.27, 3.0.0 PDFBox
> Reporter: Palash Ray
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
> Attachments: Bengali-text-after.pdf, Bengali-text-before.pdf,
> BengaliPdfGenerationHelloWorld.java, bengali-example.pdf,
> bengali-example2.pdf, bengali-example3.pdf, bengali-word-lohit-bad.pdf,
> bengali-word-lohit-good.pdf, committed.patch, pdf-output.png, 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]