Koha/install_misc/debian.packages
Bernardo Gonzalez Kriegel 0ac72275aa Bug 12068 - label-create-pdf.pl Add support for RTL language
On top of Bug 8375

If you print a label using arabic/hebrew script,
letters are printed in logical direction, from left
to right, giving a mangled result

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

NOTE: I suggest changing the mapping for 'HO' font
on koha-conf.xml, from DejaVuSans-Oblique.ttf to
DejaVuSans.ttf to view 'title' chars

3. Apply the patch

4. Try again, now the result is good

Formerly a followup of Bug 8375, look sample pics
on that Bug.
Rebased following changes on Bug 8375

Note: Arabic titles will not be displayed, because
current code selects Oblique variant (unless you
change mapping as suggested on 2. )
Hebrew looks good.

Rebased and move use of new dependency to Labels.pm

Rebased on master

Signed-off-by: Karam Qubsi <karamqubsi@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested with the help of Bernardo. With the patch
the characters of RTL strings appear in the correct
order in the generated PDF files.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-21 16:14:57 -03:00

151 lines
4.2 KiB
Text

apache2 install
at install
cvs install
daemon install
gcc install
gettext install
idzebra-2.0 install
idzebra-2.0-common install
idzebra-2.0-doc install
idzebra-2.0-utils install
libalgorithm-checkdigits-perl install
libanyevent-http-perl install
libanyevent-perl install
libarchive-zip-perl install
libauthen-cas-client-perl install
libbiblio-endnotestyle-perl install
libbusiness-isbn-perl install
libcache-fastmmap-perl install
libcache-memcached-fast-perl install
libcache-perl install
libcgi-session-driver-memcached-perl install
libcgi-session-perl install
libcgi-session-serialize-yaml-perl install
libclass-accessor-perl install
libclass-factory-util-perl install
libdata-ical-perl install
libdata-paginator-perl install
libdate-calc-perl install
libdate-manip-perl install
libdatetime-event-ical-perl install
libdatetime-format-dateparse-perl install
libdatetime-format-ical-perl install
libdatetime-format-mail-perl install
libdatetime-format-mysql-perl install
libdatetime-format-strptime-perl install
libdatetime-format-w3cdtf-perl install
libdatetime-locale-perl install
libdatetime-perl install
libdatetime-set-perl install
libdatetime-timezone-perl install
libdbd-mock-perl install
libdbd-mysql-perl install
libdbd-sqlite2-perl install
libdbi-perl install
libdbix-class-schema-loader-perl install
libemail-date-perl install
libgcrypt11 install
libgcrypt11-dev install
libgd-barcode-perl install
libgd-gd2-perl install
libgd2-noxpm-dev install
libgraphics-magick-perl install
libgravatar-url-perl install
libhtml-format-perl install
libhtml-scrubber-perl install
libhtml-template-pro-perl install
libhttp-oai-perl install
libidzebra-2.0 install
libidzebra-2.0-dev install
libidzebra-2.0-mod-alvis install
libidzebra-2.0-mod-grs-marc install
libidzebra-2.0-mod-grs-regx install
libidzebra-2.0-mod-grs-xml install
libidzebra-2.0-mod-text install
libidzebra-2.0-modules install
libjson-any-perl install
libjson-perl install
liblingua-ispell-perl install
liblingua-stem-perl install
liblingua-stem-snowball-perl install
liblist-moreutils-perl install
liblocale-currency-format-perl install
liblocale-gettext-perl install
liblocale-po-perl install
libmail-sendmail-perl install
libmarc-charset-perl install
libmarc-crosswalk-dublincore-perl install
libmarc-record-perl install
libmarc-xml-perl install
libmemoize-memcached-perl install
libmime-lite-perl install
libmodern-perl-perl install
libmodule-bundled-files-perl install
libmoose-perl install
libmoosex-storage-perl install
libmoosex-types-perl install
libmysqlclient15-dev install
libnet-ldap-perl install
libnet-server-perl install
libnet-z3950-zoom-perl install
libnumber-format-perl install
libpdf-api2-perl install
libpdf-api2-simple-perl install
libpdf-reuse-barcode-perl install
libpdf-reuse-perl install
libpdf-table-perl install
libreadonly-perl install
libreadonly-xs-perl install
libschedule-at-perl install
libsms-send-perl install
libstring-random-perl install
libstring-rewriteprefix-perl install
libtemplate-perl install
libtemplate-plugin-htmltotext-perl install
libtest-deep-perl install
libtest-mockmodule-perl install
libtest-strict-perl install
libtest-warn-perl install
libtest-yaml-valid-perl install
libtext-bidi-perl install
libtext-charwidth-perl install
libtext-csv-encoded-perl install
libtext-csv-perl install
libtext-csv-xs-perl install
libtext-iconv-perl install
libtext-unaccent-perl install
libtext-wrapi18n-perl install
libtime-duration-perl install
libtime-format-perl install
libtime-progress-perl install
libtimedate-perl install
libuniversal-require-perl install
libunix-syslog-perl install
liburi-perl install
libwww-perl install
libxml-dom-perl install
libxml-dumper-perl install
libxml-libxml-perl install
libxml-libxslt-perl install
libxml-namespacesupport-perl install
libxml-parser-perl install
libxml-perl install
libxml-regexp-perl install
libxml-rss-perl install
libxml-sax-perl install
libxml-sax-writer-perl install
libxml-simple-perl install
libxml-xslt-perl install
libxml2 install
libxml2-dev install
libxml2-utils install
libxslt1-dev install
libxslt1.1 install
libyaml-perl install
libyaml-syck-perl install
libyaz install
libyaz-dev install
make install
mysql-server install
yaz install
yaz-doc install