tcpdf should include these characters (see docs: "If true embedd only a subset of the font (stores only the information related to the used characters)") but it doesn't do that correctly.
Characters are probably missing. There was similar problem long time ago with firefox.
Not sure what google chrome should do with this. Shouldn't it simply use different but available font?
So two things:
- tcpdf doesn't include correct subset of font (correct me if I'm wrong)
- google chrome doesn't fallback to other available font
Did any of you bugreport this to google chrome team?
Last edit: arekm 2015-03-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
We are experiencing an issue with the latest update of chrome/safari, our pdf brochures have stop rendering text.
It's the same problem with this tcpdf example http://www.tcpdf.org/examples/example_008.pdf.
Do any of you, experiencing the same problem and have you find a fix for it ?
Thanks in advance for your help.
Experienced same problem yesterday but limited to chrome - not safari.
Not all text affected though. Some is still visible.
Reference:
http://www.tcpdf.org/examples/example_008.pdf
G
Last edit: g3p0 2015-03-13
Hi,
same problem here.
In my case visible is only text witch is in bold.
Last edit: Ervins 2015-03-16
Great to see that we are not the only one with that problem...
Now a way to fix it will be great :/
happened here.
fixed by moving to dejavu font and setting $pdf->setFontSubsetting(false);
Thanks @ArtemL I tried adding what you said but it just crash.
But by changing $tcpdf->SetFont($tempfont,'',XX) to $tcpdf->SetFont($tempfont,'',XX,'',false);
It works !!!
This is actually a hack.
tcpdf should include these characters (see docs: "If true embedd only a subset of the font (stores only the information related to the used characters)") but it doesn't do that correctly.
Characters are probably missing. There was similar problem long time ago with firefox.
Not sure what google chrome should do with this. Shouldn't it simply use different but available font?
So two things:
- tcpdf doesn't include correct subset of font (correct me if I'm wrong)
- google chrome doesn't fallback to other available font
Did any of you bugreport this to google chrome team?
Last edit: arekm 2015-03-17
https://code.google.com/p/chromium/issues/detail?id=465322
... and https://sourceforge.net/p/tcpdf/bugs/1042/