Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Lewis Rosenthal

    (@lewisr)

    Header? Footer? Body? All over? Which font(s) are you using?

    This is likely something in the TCPDF module. I’ll add this to my list, but I need more information, please, and a link to a test page would be helpful.

    Thanks!

    Lewis

    Thread Starter Aram4ik

    (@aram4ik)

    Thank you for quick response!

    Here is the link:
    https://eho.ee/ru/portfolio/40-sushi/

    Actually I’m using not enhanced version of this plugin, but I tried both of them. I tried any font. Currently Header Footer and Body set up to Helvetica.

    Thank you!

    Thread Starter Aram4ik

    (@aram4ik)

    found the solution. Thank you!

    Plugin Author Lewis Rosenthal

    (@lewisr)

    You’re welcome, but please share the solution so we have it here. ??

    Also, the major difference between this version of the plugin and the original (other than my unofficial builds of the original) is the TCPDF class, which is much newer in this plugin than the original.

    Cheers

    Thread Starter Aram4ik

    (@aram4ik)

    I just copied all fonts from enhanced version to original and set manually the font to ‘dejavusanscondensed’

    row 311: $pdf->SetFont(‘dejavusanscondensed’, ”, $this->options[‘contentFontSize’], ”, true);

    Plugin Author Lewis Rosenthal

    (@lewisr)

    Thanks. This would indicate to me that if you had dejavusanscondensed selected in the options, we weren’t applying it for some reason. I’ll need to test that.

    Cheers [not marking this topic as resolved until I can test]

    Plugin Author Lewis Rosenthal

    (@lewisr)

    I copied some text from your page (as Russian is not one of my languages), and created a test post. With the default font setting of Helvetica, I was able to duplicate your issue (not surprising).

    I then set the font for DejaVu Sans Condensed and cleared the cache.

    I was then able to generate a legible pdf.

    Adding a note to my bugtracker and to the README.

    Marking this topic as resolved.

    Thanks very much for reporting and for following up!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cyrillic font support’ is closed to new replies.