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

Tilman Hausherr commented on PDFBOX-4189:
-----------------------------------------

Re subsetting: in your call of 
{{{color:#24292e}PDType0Font{color}{color:#d73a49}.{color}{color:#24292e}load{color}}},
 set the last parameter to true or remove it, and see what happens. Subsetting 
means PDFBox creates a new font with only the glyphs that are really used, so 
generated files get smaller (for example, the Arial Uni font has a size of 
23MB!). Please have a look at {{PDAbstractContentStream.showTextInternal}}. 
This takes all codepoints and remembers which will be in the subset. I suspect 
that you'd need to know what actual codepoints are used after the substitutions.

Re {color:#333333}GlyphsubstitutionTable{color}, yeah, just move it back, 
thanks.

> Enable rendering of 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
>
>   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

Reply via email to