Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author fkrauthan

    (@fkrauthan)

    The same way you would integrate ACF fields into any template. Just create a copy of the default PDF template and edit it. Then select it as the template to use.

    Thread Starter aprinciple

    (@aprinciple)

    Thanks for the quick response

    I already figured it out, I was just embarrassed that I got question marks in response, that is, as I understand it, an encoding problem

    P.S. Cyrillic

    Thread Starter aprinciple

    (@aprinciple)

    Cyrillic support natively by mpdf, but there is a problem with cyrillic in your plugin

    Plugin Author fkrauthan

    (@fkrauthan)

    Did you try different encodings the plugin offers inside the config page?

    Thread Starter aprinciple

    (@aprinciple)

    Yes, I just tried all 11 encodings, didn’t help 🙁 Usually when there are such problems with encoding, it is utf-8 that helps

    Maybe the problem is in the font, can you tell me where, in which particular file you need to change the fonts in order to test?

    • This reply was modified 1 year, 6 months ago by aprinciple.
    Thread Starter aprinciple

    (@aprinciple)

    I downloaded a font from Google Font with Cyrillic support, I tried to add this font, my actions

    Did I do everything right or do I need something else? Since even the font styling hasn’t changed, it seems that this new font hasn’t been assigned.

    • This reply was modified 1 year, 6 months ago by aprinciple.
    Thread Starter aprinciple

    (@aprinciple)

    No, the problem is not in the font, I used the dompdf library, there the “DejaVu Serif” font correctly displays the Cyrillic alphabet, put the same one in your plugin, it didn’t help, then I replaced this font in mpdf with the one in the dompdf library, it also didn’t helped.

    So the problem is not in the font.

    Plugin Author fkrauthan

    (@fkrauthan)

    You can not modify the mpdf folder as that will be wiped out on plugin update. But again there is an encoding option inside the plugin options page you need to play around with.

    Thread Starter aprinciple

    (@aprinciple)

    I wrote above that I tried them all. Did not help.

    Plugin Author fkrauthan

    (@fkrauthan)

    In that case I can not help unfortunately. A lot of people got it working with all sorts of character sets. But should you find some option that needs to be set in MPDF please create a merge request and I am more then happy to release a new version with the addition.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘ACF fileds / meta boxes’ is closed to new replies.