[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
Thu Apr 10 16:25:28 CEST 2014


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

--- Comment #56 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 26978
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26978&action=edit
Bug 8375 - Followup - Use unicode bidi for rtl languages

If you print a label using arabic/hebrew script,
letters are printed in logical direction, from left
to right, giving a mangled result (see LTR-bag.png)

This patch will try to fix those cases adding a new
perl dependency, Text::Bidi, and using the automagic
feature if it's log2vis() function to rearrange chars
based on detected text 'direction'

To test:
1. Install Text::Bidi package
(apt-get install libtext-bidi-perl)

2. Try a batch, using Helvetica, with a mix of
ltr and rtl (arabic/hebrew) titles, chars are good,
but direction is bad

3. Apply the patch

4. Try again, now the result is good
(see LTR-good.png)

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


More information about the Koha-bugs mailing list