]> git.koha-community.org Git - koha.git/commit
Bug 8375: Use TrueType fonts in PDF::Reuse
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 19 Jul 2012 21:57:28 +0000 (23:57 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 21:53:18 +0000 (21:53 +0000)
commit8e71489c33115254a8a95be7a4b1a82b605918c9
tree206e84b2d7298e2288f22081f705476a95d2d39e
parenta97926a999e979c64cf4a278fe0dd3a8250f60b6
Bug 8375: Use TrueType fonts in PDF::Reuse

Since built-in PDF fonts suport just Latin-1 encoding, we have
to switch to TrueType fonts to correctly encode all UTF-8 characters
(which we should be getting from database anyway).

This approach also nicely sidesteps our encoding cludges, but
requires paths to TrueType fonts which are included in koha-conf.xml
under new <ttf> section. Without this directive in kona-conf.xml
code will still use Latin-1 built-in pdf fonts.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Creators/PDF.pm
etc/koha-conf.xml
labels/label-create-pdf.pl