Commit bd4bae36 authored by tecnickcom's avatar tecnickcom
Browse files

12.1.024 (2014-06-11)

- An unused paramer was removed.
- OMR scan was improved.
- TCPDF library was updated.
parent 18e4a091
6.0.086 (2014-06-20)
- Bug item #938 "Hyphenation-dash extends outside of cell" was fixed (collateral effect).
6.0.085 (2014-06-19)
- Some example images were replaced.
- A race condition bug was fixed.
......
......@@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
Version: 6.0.085
Release date: 2014-06-19
Version: 6.0.086
Release date: 2014-06-20
Author: Nicola Asuni
Copyright (c) 2002-2014:
......
......@@ -55,7 +55,7 @@ class TCPDF_STATIC {
* Current TCPDF version.
* @private static
*/
private static $tcpdf_version = '6.0.085';
private static $tcpdf_version = '6.0.086';
/**
* String alias for total number of pages.
......
......@@ -6365,6 +6365,7 @@ class TCPDF {
$sep = -1; // position of the last blank space
$prevsep = $sep; // previous separator
$shy = false; // true if the last blank is a soft hypen (SHY)
$prevshy = $shy; // previous shy mode
$l = 0; // current string length
$nl = 0; //number of lines
$linebreak = false;
......@@ -6459,6 +6460,7 @@ class TCPDF {
$sep = $i;
// check if is a SHY
if (($c == 173) OR ($c == 45)) {
$prevshy = $shy;
$shy = true;
if ($pc == 45) {
$tmp_shy_replacement_width = 0;
......@@ -6482,6 +6484,7 @@ class TCPDF {
if (($l > $wmax) OR (($c == 173) AND (($l + $tmp_shy_replacement_width) >= $wmax))) {
if (($c == 173) AND (($l + $tmp_shy_replacement_width) > $wmax)) {
$sep = $prevsep;
$shy = $prevshy;
}
// we have reached the end of column
if ($sep == -1) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment