[
https://issues.apache.org/jira/browse/PDFBOX-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457663#comment-16457663
]
Tilman Hausherr commented on PDFBOX-4189:
-----------------------------------------
[~paawak] The rendering test should enabled enabled locally, by replacing
System.err.println with fail. The destination file appears at
trunkdir\pdfbox\target\test-output
The source file must be placed at
trunkdir\pdfbox\src\test\resources\org\apache\pdfbox\ttf
typically, you run the test and if it isn't the same (e.g. because you have a
different OS than me), the file and a diff file (Bengali.pdf-1.diff.png) will
appear in the output directory. That output file is your new model file, copy
it to the source dir. Now everytime you change something that modifies the
output (a bugfix, a mistake, a jdk change) then the test will fail and by
looking at the diff you can decide whether it is an improvement, a mistake, or
a jdk change, and then either change your code or copy the result file to the
source dir again.
> 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]