Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Adobe Error: Cannot extract embedded font 'NotoSansCJKjp-Regular' #1678

Open
sameer-mandaokar opened this issue Mar 24, 2020 · 2 comments
Open

Comments

@sameer-mandaokar
Copy link

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

Adobe Output -
image

Adobe Document Properties -
image

@lukasz-kusnierz
Copy link

lukasz-kusnierz commented Jan 13, 2021

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.

@nokiajavi
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants