http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12832

Dobrica Pavlinusic <dpav...@rot13.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dpav...@rot13.org

--- Comment #3 from Dobrica Pavlinusic <dpav...@rot13.org> ---
I don't think that it's enough to just add utf-8 encoding to $pdf->corefont.

Just as with labels, we need to use true type fonts here to support all
available utf-8 characters (otherwise western utf-8 characters work, but
Croatian for example don't).

Replacing

$pdf->corefont("Times", -encoding => "utf8")

with something like

$pdf->ttfont('/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf')

will nicely fix this problem (but also somewhat break tables which are created
using PDF::Table, I will have to investigate this a bit more).

But, now I'm wondering if we should use same <ttf> mapping from koha-conf.xml
which we use for labels (if available)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to