Re: About https://issues.apache.org/jira/browse/PDFBOX-5704

2024-01-21 Thread Andreas Lehmkühler
I've fixed the issue in the trun k and the 3.0-branch. The fix is limited to incorrect CID font definitions. Let us know if there are any other cases and provide a sample. Andreas Am 21.01.24 um 11:23 schrieb Andreas Lehmkühler: I had a look and found s solution based on the pdf.js implementat

Re: About https://issues.apache.org/jira/browse/PDFBOX-5704

2024-01-21 Thread Andreas Lehmkühler
I had a look and found s solution based on the pdf.js implementation. I'm going to commit it once I've improved the code, for now it is still some kind of hacky. And yes, PDFBOX-5704 is related to this proposal. Please follow up on PDFBOX-5704 @Mike thanks for the valuable input Andreas Am

Re: About https://issues.apache.org/jira/browse/PDFBOX-5704

2024-01-18 Thread Andreas Lehmkühler
Hi, I'm not sure if both issues are similar. However, your proposal is an interesting idea and I guess it shouldn't be that hard to implement it. Thanks for the input, I'm going to have a look. Andreas Am 19.01.24 um 04:49 schrieb Mike Li: Hello team, I recently encountered the problem th

About https://issues.apache.org/jira/browse/PDFBOX-5704

2024-01-18 Thread Cheng Li
Hello team, I recently encountered the problem that PDFBox cannot render Chinese, the problem is very similar to https://issues.apache.org/jira/browse/PDFBOX-5704 . In this case, the attached PDF file embedded a CCF font file, the correct font type/subtype should be /CIDFontType0 and /CIDFont

About https://issues.apache.org/jira/browse/PDFBOX-5704

2024-01-18 Thread Mike Li
Hello team, I recently encountered the problem that PDFBox cannot render Chinese, the problem is very similar to https://issues.apache.org/jira/browse/PDFBOX-5704. In this case, the attached PDF file embedded a CCF font file, the correct font type/subtype should be /CIDFontType0 and /CIDFontTyp