[Bug 13709] New: Patron cards creator doesn't work with diacritics, utf-8 or ttf fonts
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Bug ID: 13709 Summary: Patron cards creator doesn't work with diacritics, utf-8 or ttf fonts Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Tools Assignee: gmcharlt@gmail.com Reporter: dpavlin@rot13.org QA Contact: testopia@bugs.koha-community.org Bug 8375 introduced ttf fonts for labels printing to support diacritics and utf-8 encoding, but this change was never implemented for patron cards. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Dobrica Pavlinusic <dpavlin@rot13.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 --- Comment #1 from Dobrica Pavlinusic <dpavlin@rot13.org> --- Created attachment 35906 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35906&action=edit Bug 13709 - Patron cards creator utf-8 encoding and ttf fonts broken This change is similar to Bug 8375 which introduced ttf fonts for labels printing in order to support diacritics and utf-8 encoding, but this change was never implemented for patron cards. Test scenario: 1. make sure that you have <ttf> font mapping in koha-conf.xml 2. define partron card layout, template, profile and batch (with utf-8 chars, probably in patron firstname or surname) 3. verify that without this patch pdf export file is error message Wide character in compress at /usr/share/perl5/PDF/Reuse.pm line 820 4. apply this patch and verify that generated pdf has correct encoding -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Marijana Glavica <mglavica@ffzg.hr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mglavica@ffzg.hr -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Dobrica Pavlinusic <dpavlin@rot13.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |dpavlin@rot13.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Dobrica Pavlinusic <dpavlin@rot13.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Change sponsored?|--- |Sponsored -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #35906|0 |1 is obsolete| | --- Comment #2 from Brendan Gallagher <brendan@bywatersolutions.com> --- Created attachment 36264 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36264&action=edit Bug 13709 - Patron cards creator utf-8 encoding and ttf fonts broken This change is similar to Bug 8375 which introduced ttf fonts for labels printing in order to support diacritics and utf-8 encoding, but this change was never implemented for patron cards. Test scenario: 1. make sure that you have <ttf> font mapping in koha-conf.xml 2. define partron card layout, template, profile and batch (with utf-8 chars, probably in patron firstname or surname) 3. verify that without this patch pdf export file is error message Wide character in compress at /usr/share/perl5/PDF/Reuse.pm line 820 4. apply this patch and verify that generated pdf has correct encoding Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Followed test plan -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #36264|0 |1 is obsolete| | --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 36558 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36558&action=edit Bug 13709 - Patron cards creator utf-8 encoding and ttf fonts broken This change is similar to Bug 8375 which introduced ttf fonts for labels printing in order to support diacritics and utf-8 encoding, but this change was never implemented for patron cards. Test scenario: 1. make sure that you have <ttf> font mapping in koha-conf.xml 2. define partron card layout, template, profile and batch (with utf-8 chars, probably in patron firstname or surname) 3. verify that without this patch pdf export file is error message Wide character in compress at /usr/share/perl5/PDF/Reuse.pm line 820 4. apply this patch and verify that generated pdf has correct encoding Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Status|Passed QA |Pushed to Master --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patch pushed to master. Thanks Dobrica! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor CC| |chris@bigballofwax.co.nz Status|Pushed to Master |Pushed to Stable --- Comment #5 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.18.x will be in 3.18.5 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13709 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtompset@hotmail.com --- Comment #6 from M. Tompsett <mtompset@hotmail.com> --- FOR FURTHER REFERENCE: "Wide character in compress at /usr/share/perl5/PDF/Reuse.pm line 820" is also triggered if the font, mentioned in the ttf section in the koha-conf.xml file, is NOT INSTALLED. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org