Support » Plugin: VoucherPress » [Plugin: VoucherPress] Cyrillic symbols don't show

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chris Taylor


    Looks like unicode is needed, I’ll investigate this for a future version.

    Have the same problem (v.1.4). Cyrillic works fine everywhere except the preview and voucher pdf. Can you point to the code where the voucher is created? Maybe I will be able to fix it.

    Ok, looks like I fixed it.

    In function “voucherpress_render_voucher” I changed the font from:

    $pdf->SetFont($voucher->font, ”, XX);

    to something like this:

    $pdf->SetFont(‘freeserif’, ”, XX);

    and cyrillic appeared in pdf.

    DejaVu fonts also good, but you need to place it into fonts directory

    Plugin Author Chris Taylor


    The next version of VoucherPress will have better support for fonts, including the DejaVu font family.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: VoucherPress] Cyrillic symbols don't show’ is closed to new replies.