Open sameer-mandaokar opened 4 years ago
Same with latest flying-saucer-pdf-openpdf@9.1.20
and latest Adobe Acrobat Reader DC 2020.013.20074
(macOS BigSur).
Any information would be appreciated.
Same problem with font NotoSans HK Regular.
I changed Itext to version 5 and not fail adobe Reader but all character not show, for example letters with accents.
I think the problem comes from the OTF source format, since using another source, the NotoSans.ttf I have no problem with the characters.
Title
Adobe Error: Cannot extract embedded font 'NotoSansCJKjp-Regular'
Font
Noto Sans CJK jp Regular
Where the font came from, and when
Site: https://www.google.com/get/noto/#sans-jpan
Font Version
1.004
OS name and version
Windows 10
Application name and version
JaperReports library(6.8.1) which uses iText(2.1.7) to generate PDFs.
Issue
We're using Google's Noto fonts ( Noto Sans CJK jp and Noto Sans font families) as Custom font with Jasper Reports 6.8.1. We want to export PDF with embedded fonts in 10 languages (English/Spanish/German/French/Chinese Simplified/Chinese Traditional/Japanese/Korean/Russian/Italian).
We've found that using Noto Sans CJK jp font Jasper Engine succesfully creates PDF which shows all characters correctly in all Web Browsers / Document Viewer app etc. However Adobe Acrobat reader is not able to extract embedded fonts and hence doesn't render the localized data/label on PDF. Tried encoding 'CP1252'/'Identity-H'/'CP1250', however none of this shows the localized data in all the mentioned languages.
Character data
English Characters only.
Screenshot
Google Chrome Output -![image](https://user-images.githubusercontent.com/17745623/77395922-a78ace00-6dc8-11ea-9519-46e57a0da8f2.png)
Adobe Output -![image](https://user-images.githubusercontent.com/17745623/77395956-bc676180-6dc8-11ea-91f8-1f43ab15284d.png)
Adobe Document Properties -![image](https://user-images.githubusercontent.com/17745623/77396001-d30db880-6dc8-11ea-948a-aaa8fb8a6a5d.png)