[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 May 2 16:48:18 CEST 2014


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

--- Comment #84 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
(In reply to Jonathan Druart from comment #83)
> hum, weird, I got
> ERROR in koha-conf.xml -- missing <font type="HBOO">/path/to/font.ttf</font>
> at /home/koha/src/C4/Creators/PDF.pm line 123ERROR in koha-conf.xml --
> missing <font type="HBOO">/path/to/font.ttf</font> at
> /home/koha/src/C4/Creators/PDF.pm line 123
> 
> when I select "Helvetica-Bold-Oblique".
> The value is correct in DB:
>   font: HBO

Problem is that current code appends an 'O' to selected font for title
C4/Labels/Label.pm:400:        
($field->{'code'} eq 'title') ? (($font =~ /T/) ? ($font = 'TI') : ($font =
($font . 'O'))) : ($font = $font);

If you select HBO as main font, then it would search for HBOO for title

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


More information about the Koha-bugs mailing list