[Koha-bugs] [Bug 8375] Common diacritics not shown correctly when exporting batch label to PDF

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 14 11:09:11 CET 2014


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #45 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I was testing this today with Dobrica's help and we are not quite there yet...
but I hope some of my notes will be helpful in fixing the remaining issues:

- ttf-dejavu is installed
- Added the following mapping to my koha-conf.xml file:

 <!-- true type font mapping accoding to type from $font_types in
C4/Creators/Lib.pm -->
 <ttf>
    <font type="TR"
>/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf</font>
    <font type="TB"
>/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf</font>
    <font type="TI"
>/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf</font>
    <font
type="TBI">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf</font>
    <font type="C" 
>/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf</font>
    <font type="CB"
>/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf</font>
    <font type="CO"
>/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf</font>
    <font
type="CBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf</font>
    <font type="H"  >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf</font>
    <font type="HB"
>/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf</font>
    <font
type="HBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf</font>
 </ttf>

- Created a batch with 2 items, one German with umlauts and the other Arabic.
- Tried exporting the batch into PDF:

-- Times New Roman: PDF opens, but the Arabic characters show up as little
squares, the German record is correctly printed

-- Helvetica: PDF cannot be opened, if you open it in a text editor, you can
see the usual error:
<pre>Wide character in compress at /usr/share/perl5/PDF/Reuse.pm line 819

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list