http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8375
--- Comment #88 from Chris Nighswonger <[email protected]> --- (In reply to Bernardo Gonzalez Kriegel from comment #87) > (In reply to Jonathan Druart from comment #86) > > (In reply to Bernardo Gonzalez Kriegel from comment #84) > > > 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 > > > > Bernardo, what meant this comment? Is there a bug somewhere? I get the error > > on master now (with the patches). > > Yes. It'a bug, but a pre-existent one, and it makes you try to use > nonexistent fonts. > I can add a patch, but for now do not select CO, CBO, HO or HBO for main font > > Can be fixed changing line 400 of C4/Labels/Label.pm with > > if ( $field->{'code'} eq 'title' ) { > if ( $font =~ /^(T|TB)$/ ) { $font .= 'I'; } > if ( $font !~ /^T/ and $font !~ /O$/ ) { $font .= 'O'; } > } > > or something better This code really needs to be revisited. It would be great if Jonathan coould open a bug for it. I'll try to get to it in the next week or so. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
