[koha-commits] main Koha release repository branch master updated. v3.14.00-1193-g845af19
Git repo owner
gitmaster at git.koha-community.org
Mon May 5 23:31:25 CEST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 845af199157ffb82f93d33682ea9910fb38af8b7 (commit)
via 8e71489c33115254a8a95be7a4b1a82b605918c9 (commit)
via a97926a999e979c64cf4a278fe0dd3a8250f60b6 (commit)
from 0e59a18f8e4613afbfb13471fcbed2aee77ef5ce (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 845af199157ffb82f93d33682ea9910fb38af8b7
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date: Sun Apr 20 20:23:51 2014 -0300
Bug 8375: (follow-up) fix font code and alignment
This patch fixes two problems:
a) Bad PDF when using Helvetica font.
Current label code assigns 'italic' or 'oblique' variants
to title. Helvetica-Oblique was not defined, but is present
b) Bad alignment using center/right justification
Problem was bad font parameter passed to StrWidth
routine
To test:
1. Try making a batch using Helvetica, downloaded PDF do not open.
2. Try a batch of mixed scripts with layout alignment center or
right, only latin scripts align almost correctly.
3. Apply the patch and update your koha-conf.xml to add Oblique variant
4. Try again 1, now PDF opens
5. Try 2, now alignment is correct
New problem (for another bug): DejaVuSans has a good
support for arabic, but not Oblique variant. As selection
of italic/oblique is hardcoded, now Arabic titles are
not displayed. I'll try to add a checkbox to select
or not this feature.
Added a FIXME for the hardcoded forced oblique -chris_n
Signed-off-by: Chris Nighswonger <cnighswonger at foundations.edu>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 8e71489c33115254a8a95be7a4b1a82b605918c9
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date: Thu Jul 19 23:57:28 2012 +0200
Bug 8375: Use TrueType fonts in PDF::Reuse
Since built-in PDF fonts suport just Latin-1 encoding, we have
to switch to TrueType fonts to correctly encode all UTF-8 characters
(which we should be getting from database anyway).
This approach also nicely sidesteps our encoding cludges, but
requires paths to TrueType fonts which are included in koha-conf.xml
under new <ttf> section. Without this directive in kona-conf.xml
code will still use Latin-1 built-in pdf fonts.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Chris Nighswonger <cnighswonger at foundations.edu>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit a97926a999e979c64cf4a278fe0dd3a8250f60b6
Author: Galen Charlton <gmc at esilibrary.com>
Date: Fri May 31 14:16:05 2013 -0700
bug 9854: add ttf-dejavu as dependency for Debian packages
ttf-dejavu (i.e., the core and extra DejaVu TrueType) fonts
are used by the proposed fix for bug 8375.
To test, build and install the Koha packages for Debian
and verify that the ttf-dejavu package is installed.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Chris Nighswonger <cnighswonger at foundations.edu>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Creators/Lib.pm | 1 +
C4/Creators/PDF.pm | 15 +++++++++++++--
C4/Labels/Label.pm | 4 +++-
debian/control | 2 ++
debian/control.in | 2 ++
etc/koha-conf.xml | 17 +++++++++++++++++
labels/label-create-pdf.pl | 7 +++----
7 files changed, 41 insertions(+), 7 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list