Menu

Recent problem with Chrome / Safari

Help
Ludouze
2015-03-12
2015-03-31
  • Ludouze

    Ludouze - 2015-03-12

    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.

     
  • g3p0

    g3p0 - 2015-03-13

    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
  • Ervins

    Ervins - 2015-03-16

    Hi,

    same problem here.

    In my case visible is only text witch is in bold.

     

    Last edit: Ervins 2015-03-16
  • Ludouze

    Ludouze - 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 :/

     
  • Artem L

    Artem L - 2015-03-16

    happened here.
    fixed by moving to dejavu font and setting $pdf->setFontSubsetting(false);

     
  • Ludouze

    Ludouze - 2015-03-17

    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 !!!

     
  • arekm

    arekm - 2015-03-17

    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
  • arekm

    arekm - 2015-03-31
     

Log in to post a comment.