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

Lilith Wong commented on PDFBOX-3649:
-------------------------------------

Hi Tilman, thanks for your quick response. Let me clarify what I mentioned in 
this JIRA.

I mainly talk about the scenario when write text or fill the acroform fields in 
PDF.
For using Standard 14 Fonts, it can simply use the built-in feature like:
PDFont font = PDType1Font.HELVETICA_BOLD;

Or it can load the TrueTypeFont like:
PDFont font = PDTrueTypeFont.loadTTF(document, "Arial.ttf");

But PDFBox does NOT have any built-in methods like:
PDFont font = PDType0CJKFont.JAPANESE_SANS_SERIF;  // It is from Adobe Asian 
Font Pack

As Adobe Reader can support these CJK fonts by default, it does not need to 
embed (or embed subset) other TrueTypeFont to display any Asian text. This JIRA 
is mainly focusing on this enhancement.
-------------------------------------
Previous JIRA PDFBOX-2524, Reporter Kenji has attached his patches in there. 
Perhaps PDFBOX-2524 talked about too many topics and finally missed it.

I am now trying to integrate that old patch into existing version 2.0.4. But it 
is quite difficult to integrate the old patch into the latest code.

>  Patching for built-in access to CJK fonts from Adobe Reader
> ------------------------------------------------------------
>
>                 Key: PDFBOX-3649
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3649
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: FontBox, PDModel
>    Affects Versions: 2.0.4
>            Reporter: Lilith Wong
>              Labels: PDFBOX-2524
>
> Refer to the JIRA PDFBOX-2524 mentioned, pdfbox 2.0 still miss the update of 
> "patching for built-in access to CJK fonts from Adobe Reader".
> [PATCH] Two PDFont to create PDF documents in CJK and non-ISO-8859-1 
> languages:
> https://issues.apache.org/jira/browse/PDFBOX-2524
> Patches for other issues mentioned in JIRA PDFBOX-2524 has already applied 
> but for this issues. Up to now, I checked with latest version 2.0.4 and 
> un-released version 2.0.5 / 2.1.0, but could not find any related patch 
> (related source code like PDType0CJKFont.java, etc...).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to