diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index a33d7a5..93cd01e 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +5.8.001 (2010-08-12) + - Bug #3043650 "subsetchars incorrectly cached" was fixed. + 5.8.000 (2010-08-11) - A control to avoid bookmarking page 0 was added. - addTOC() method now includes support for multicolumn mode. diff --git a/README.TXT b/README.TXT index cf3460b..b06483a 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http: sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.8.000 -Release date: 2010-08-11 +Version: 5.8.001 +Release date: 2010-08-12 Author: Nicola Asuni Copyright (c) 2002-2010: diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index dd52fb3..c0d61ea 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -60,7 +60,7 @@

- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:02 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/PDF417.html b/doc/com-tecnick-tcpdf/PDF417.html index 4d87db5..8b3e293 100644 --- a/doc/com-tecnick-tcpdf/PDF417.html +++ b/doc/com-tecnick-tcpdf/PDF417.html @@ -1003,7 +1003,7 @@ $code)

- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:03 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/QRcode.html b/doc/com-tecnick-tcpdf/QRcode.html index 9175c68..80ba001 100644 --- a/doc/com-tecnick-tcpdf/QRcode.html +++ b/doc/com-tecnick-tcpdf/QRcode.html @@ -5551,7 +5551,7 @@ $frame)

- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:03 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index 0b0f220..ef203f9 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -83,7 +83,7 @@ Source Location: /tcpdf.php

Version:

@@ -738,7 +738,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  5.8.000 + version:  5.8.001 link:  http://www.tcpdf.org @@ -6916,7 +6916,7 @@ $diskcache = false])
-

method addExtGState [line 14677]

+

method addExtGState [line 14695]

@@ -7027,7 +7027,7 @@ $subset = 'default'])
-

method addHtmlLink [line 10707]

+

method addHtmlLink [line 10725]

@@ -7102,7 +7102,7 @@ $firstblock = false])
-

method addHTMLTOC [line 21359]

+

method addHTMLTOC [line 21377]

@@ -7165,7 +7165,7 @@ $correct_align = true])
-

method addHTMLVertSpace [line 19869]

+

method addHTMLVertSpace [line 19887]

@@ -7219,7 +7219,7 @@ $firstorlast = false])
-

method addJavascriptObject [line 13274]

+

method addJavascriptObject [line 13292]

@@ -7427,7 +7427,7 @@ $k)
-

method addTOC [line 21199]

+

method addTOC [line 21217]

@@ -7544,7 +7544,7 @@ $keepmargins = false])
-

method AliasNbPages [line 14491]

+

method AliasNbPages [line 14509]

@@ -7586,7 +7586,7 @@ $alias = '{nb}'])
-

method AliasNumPage [line 14518]

+

method AliasNumPage [line 14536]

@@ -7703,7 +7703,7 @@ $spaces = 0])
-

method Arrow [line 12478]

+

method Arrow [line 12496]

@@ -7781,7 +7781,7 @@ $arm_angle = 15])
-

method arrUTF8ToUTF16BE [line 10602]

+

method arrUTF8ToUTF16BE [line 10620]

@@ -7856,7 +7856,7 @@ $setbom = true])
-

method Bookmark [line 13146]

+

method Bookmark [line 13164]

@@ -7916,7 +7916,7 @@ $page = ''])
-

method Button [line 14164]

+

method Button [line 14182]

@@ -8120,7 +8120,7 @@ $valign = 'M'])
-

method CheckBox [line 14094]

+

method CheckBox [line 14112]

@@ -8264,7 +8264,7 @@ $addpage = true])
-

method Circle [line 12166]

+

method Circle [line 12184]

@@ -8363,7 +8363,7 @@ $angend:)
-

method Clip [line 15138]

+

method Clip [line 15156]

@@ -8454,7 +8454,7 @@ $h)
-

method closeHTMLTagHandler [line 19368]

+

method closeHTMLTagHandler [line 19386]

@@ -8514,7 +8514,7 @@ $dom)
-

method colorRegistrationBar [line 14813]

+

method colorRegistrationBar [line 14831]

@@ -8592,7 +8592,7 @@ $colors = 'A,R,G,B,C,M,Y,K'])
-

method ComboBox [line 14033]

+

method ComboBox [line 14051]

@@ -8682,7 +8682,7 @@ $js = false])
-

method commitTransaction [line 21471]

+

method commitTransaction [line 21489]

@@ -8710,7 +8710,7 @@ $js = false])
-

method convertHexStringToString [line 11329]

+

method convertHexStringToString [line 11347]

@@ -8752,7 +8752,7 @@ $bs)
-

method convertHTMLColorToDec [line 10740]

+

method convertHTMLColorToDec [line 10758]

@@ -8791,7 +8791,7 @@ $color = '#FFFFFF'])
-

method convertStringToHexString [line 11351]

+

method convertStringToHexString [line 11369]

@@ -8836,7 +8836,7 @@ $s)
-

method convertSVGtMatrix [line 22492]

+

method convertSVGtMatrix [line 22510]

@@ -8878,7 +8878,7 @@ $tm)
-

method CoonsPatchMesh [line 15053]

+

method CoonsPatchMesh [line 15071]

@@ -8986,7 +8986,7 @@ $antialias = false])
-

method copyPage [line 21129]

+

method copyPage [line 21147]

@@ -9028,7 +9028,7 @@ $page = 0])
-

method cropMark [line 14911]

+

method cropMark [line 14929]

@@ -9100,7 +9100,7 @@ $color = array(0,0,0)])
-

method Curve [line 11971]

+

method Curve [line 11989]

@@ -9202,7 +9202,7 @@ $fill_color = array()])
-

method deletePage [line 20986]

+

method deletePage [line 21004]

@@ -9244,7 +9244,7 @@ $page)
-

method drawHTMLTagBorder [line 19906]

+

method drawHTMLTagBorder [line 19924]

@@ -9289,7 +9289,7 @@ $xmax)
-

method Ellipse [line 12035]

+

method Ellipse [line 12053]

@@ -9409,7 +9409,7 @@ $afinish:)
-

method empty_string [line 21525]

+

method empty_string [line 21543]

@@ -9493,7 +9493,7 @@ $tocpage = false])
-

method endSVGElementHandler [line 23518]

+

method endSVGElementHandler [line 23536]

@@ -9611,7 +9611,7 @@ $msg)
-

method extractCSSproperties [line 16326]

+

method extractCSSproperties [line 16344]

@@ -9768,7 +9768,7 @@ $y)
-

method formatPageNumber [line 14595]

+

method formatPageNumber [line 14613]

@@ -9807,7 +9807,7 @@ $num)
-

method formatTOCPageNumber [line 14607]

+

method formatTOCPageNumber [line 14625]

@@ -9880,7 +9880,7 @@ $num)
-

method getAliasNbPages [line 14503]

+

method getAliasNbPages [line 14521]

@@ -9911,7 +9911,7 @@ $num)
-

method getAliasNumPage [line 14531]

+

method getAliasNumPage [line 14549]

@@ -9942,7 +9942,7 @@ $num)
-

method getAnnotOptFromJSProp [line 13400]

+

method getAnnotOptFromJSProp [line 13418]

@@ -10056,7 +10056,7 @@ $getarray = false])
-

method getBarcode [line 15775]

+

method getBarcode [line 15793]

@@ -10132,7 +10132,7 @@ $position = 'start'])
-

method getBorderStartPosition [line 19890]

+

method getBorderStartPosition [line 19908]

@@ -10211,7 +10211,7 @@ $pagenum = ''])
-

method getBuffer [line 20666]

+

method getBuffer [line 20684]

@@ -10428,7 +10428,7 @@ $valign = 'M'])
-

method getCellHeightRatio [line 14773]

+

method getCellHeightRatio [line 14791]

@@ -10501,7 +10501,7 @@ $char)
-

method getColumn [line 21680]

+

method getColumn [line 21698]

@@ -10532,7 +10532,7 @@ $char)
-

method getCSSBorderDashStyle [line 16621]

+

method getCSSBorderDashStyle [line 16639]

@@ -10574,7 +10574,7 @@ $style)
-

method getCSSBorderStyle [line 16657]

+

method getCSSBorderStyle [line 16675]

@@ -10616,7 +10616,7 @@ $cssborder)
-

method getCSSBorderWidth [line 16601]

+

method getCSSBorderWidth [line 16619]

@@ -10658,7 +10658,7 @@ $width)
-

method getEncPermissionsString [line 11368]

+

method getEncPermissionsString [line 11386]

@@ -10757,7 +10757,7 @@ $size = 0])
-

method getFontBuffer [line 20826]

+

method getFontBuffer [line 20844]

@@ -10856,7 +10856,7 @@ $size = 0])
-

method getFontFamily [line 16304]

+

method getFontFamily [line 16322]

@@ -10887,7 +10887,7 @@ $size = 0])
-

method getFontSize [line 16284]

+

method getFontSize [line 16302]

@@ -10918,7 +10918,7 @@ $size = 0])
-

method getFontSizePt [line 16294]

+

method getFontSizePt [line 16312]

@@ -10977,7 +10977,7 @@ $size = 0])
-

method getFontStyle [line 16314]

+

method getFontStyle [line 16332]

@@ -11008,7 +11008,7 @@ $size = 0])
-

method getFontSubsetting [line 22036]

+

method getFontSubsetting [line 22054]

@@ -11042,7 +11042,7 @@ $size = 0])
-

method getFooterFont [line 10665]

+

method getFooterFont [line 10683]

@@ -11098,7 +11098,7 @@ $size = 0])
-

method getFormDefaultProp [line 13775]

+

method getFormDefaultProp [line 13793]

@@ -11171,7 +11171,7 @@ $v)
-

method getGraphicVars [line 20498]

+

method getGraphicVars [line 20516]

@@ -11202,7 +11202,7 @@ $v)
-

method getGroupPageNo [line 14544]

+

method getGroupPageNo [line 14562]

@@ -11233,7 +11233,7 @@ $v)
-

method getGroupPageNoFormatted [line 14554]

+

method getGroupPageNoFormatted [line 14572]

@@ -11292,7 +11292,7 @@ $v)
-

method getHeaderFont [line 10645]

+

method getHeaderFont [line 10663]

@@ -11348,7 +11348,7 @@ $v)
-

method getHtmlDomArray [line 16705]

+

method getHtmlDomArray [line 16723]

@@ -11387,7 +11387,7 @@ $html)
-

method getHTMLUnitToUnits [line 20209]

+

method getHTMLUnitToUnits [line 20227]

@@ -11453,7 +11453,7 @@ $point)
-

method getHyphenPatternsFromTEX [line 21836]

+

method getHyphenPatternsFromTEX [line 21854]

@@ -11498,7 +11498,7 @@ $file)
-

method getImageBuffer [line 20768]

+

method getImageBuffer [line 20786]

@@ -11703,7 +11703,7 @@ $iminfo = array()])
-

method GetLineWidth [line 11711]

+

method GetLineWidth [line 11729]

@@ -11737,7 +11737,7 @@ $iminfo = array()])
-

method getMargins [line 16247]

+

method getMargins [line 16265]

@@ -11919,7 +11919,7 @@ $lineWidth = ''])
-

method getObjFilename [line 20580]

+

method getObjFilename [line 20598]

@@ -11964,7 +11964,7 @@ $prefix)
-

method getOriginalMargins [line 16270]

+

method getOriginalMargins [line 16288]

@@ -12029,7 +12029,7 @@ $prefix)
-

method getPageBuffer [line 20709]

+

method getPageBuffer [line 20727]

@@ -12116,7 +12116,7 @@ $pagenum = ''])
-

method getPageGroupAlias [line 14566]

+

method getPageGroupAlias [line 14584]

@@ -12195,7 +12195,7 @@ $pagenum = ''])
-

method getPageNumGroupAlias [line 14581]

+

method getPageNumGroupAlias [line 14599]

@@ -12316,7 +12316,7 @@ $pagenum = ''])
-

method getPathPaintOperator [line 21948]

+

method getPathPaintOperator [line 21966]

@@ -12370,7 +12370,7 @@ $mode)
-

method getPDFData [line 10688]

+

method getPDFData [line 10706]

@@ -12485,7 +12485,7 @@ $mode)
-

method getSpaceString [line 17408]

+

method getSpaceString [line 17426]

@@ -12688,7 +12688,7 @@ $getarray = false])
-

method getSVGTransformMatrix [line 22370]

+

method getSVGTransformMatrix [line 22388]

@@ -12733,7 +12733,7 @@ $attribute)
-

method getTagStyleFromCSS [line 16573]

+

method getTagStyleFromCSS [line 16591]

@@ -12787,7 +12787,7 @@ $css)
-

method getTransformationMatrixProduct [line 22474]

+

method getTransformationMatrixProduct [line 22492]

@@ -12838,7 +12838,7 @@ $tb)
-

method getUserPermissionCode [line 11208]

+

method getUserPermissionCode [line 11226]

@@ -12886,7 +12886,7 @@ $mode = 0])
-

method getVectorsAngle [line 23104]

+

method getVectorsAngle [line 23122]

@@ -13039,7 +13039,7 @@ $y2)
-

method Gradient [line 15162]

+

method Gradient [line 15180]

@@ -13130,7 +13130,7 @@ $antialias = false])
-

method hyphenateText [line 21875]

+

method hyphenateText [line 21893]

@@ -13211,7 +13211,7 @@ $charmax = 8])
-

method hyphenateWord [line 21766]

+

method hyphenateWord [line 21784]

@@ -13430,7 +13430,7 @@ $fitonpage = false])
-

method ImageEps [line 15508]

+

method ImageEps [line 15526]

@@ -13649,7 +13649,7 @@ $palign)
-

method ImageSVG [line 22099]

+

method ImageSVG [line 22117]

@@ -13745,7 +13745,7 @@ $fitonpage = false])
-

method IncludeJS [line 13261]

+

method IncludeJS [line 13279]

@@ -13787,7 +13787,7 @@ $script)
-

method intToRoman [line 20288]

+

method intToRoman [line 20306]

@@ -13857,7 +13857,7 @@ $number)
-

method isValidCSSSelectorForTag [line 16414]

+

method isValidCSSSelectorForTag [line 16432]

@@ -13953,7 +13953,7 @@ $resetmargins = false])
-

method Line [line 11888]

+

method Line [line 11906]

@@ -14019,7 +14019,7 @@ $style = array()])
-

method LinearGradient [line 15012]

+

method LinearGradient [line 15030]

@@ -14169,7 +14169,7 @@ $spaces = 0])
-

method ListBox [line 13973]

+

method ListBox [line 13991]

@@ -14307,7 +14307,7 @@ $cell = false])
-

method MirrorH [line 11493]

+

method MirrorH [line 11511]

@@ -14349,7 +14349,7 @@ $x = ''])
-

method MirrorL [line 11529]

+

method MirrorL [line 11547]

@@ -14403,7 +14403,7 @@ $y = ''])
-

method MirrorP [line 11516]

+

method MirrorP [line 11534]

@@ -14451,7 +14451,7 @@ $y = ''])
-

method MirrorV [line 11504]

+

method MirrorV [line 11522]

@@ -14493,7 +14493,7 @@ $y = ''])
-

method movePage [line 20843]

+

method movePage [line 20861]

@@ -14679,7 +14679,7 @@ $fitcell = false])
-

method objclone [line 21514]

+

method objclone [line 21532]

@@ -14752,7 +14752,7 @@ $object)
-

method openHTMLTagHandler [line 18767]

+

method openHTMLTagHandler [line 18785]

@@ -14888,7 +14888,7 @@ $dest = 'I'])
-

method PageNoFormatted [line 14617]

+

method PageNoFormatted [line 14635]

@@ -14919,7 +14919,7 @@ $dest = 'I'])
-

method PieSector [line 15447]

+

method PieSector [line 15465]

@@ -15015,7 +15015,7 @@ $o:)
-

method PieSectorXY [line 15468]

+

method PieSectorXY [line 15486]

@@ -15123,7 +15123,7 @@ $o:)
-

method pixelsToUnits [line 10807]

+

method pixelsToUnits [line 10825]

@@ -15165,7 +15165,7 @@ $px)
-

method Polycurve [line 11998]

+

method Polycurve [line 12016]

@@ -15237,7 +15237,7 @@ $fill_color = array()])
-

method Polygon [line 12204]

+

method Polygon [line 12222]

@@ -15300,7 +15300,7 @@ $closed = true])
-

method PolyLine [line 12185]

+

method PolyLine [line 12203]

@@ -15363,7 +15363,7 @@ $closed)
-

method putHtmlListBullet [line 20353]

+

method putHtmlListBullet [line 20371]

@@ -15414,7 +15414,7 @@ $size = 10])
-

method RadialGradient [line 15030]

+

method RadialGradient [line 15048]

@@ -15492,7 +15492,7 @@ $coords = array(0.5,0.5,0.5,0.5,1)])
-

method RadioButton [line 13884]

+

method RadioButton [line 13902]

@@ -15582,7 +15582,7 @@ $js = false])
-

method readDiskCache [line 20620]

+

method readDiskCache [line 20638]

@@ -15630,7 +15630,7 @@ $file)
-

method Rect [line 11916]

+

method Rect [line 11934]

@@ -15708,7 +15708,7 @@ $fill_color = array()])
-

method registrationMark [line 14981]

+

method registrationMark [line 14999]

@@ -15780,7 +15780,7 @@ $colb = array(255,255,255)])
-

method RegularPolygon [line 12302]

+

method RegularPolygon [line 12320]

@@ -15933,7 +15933,7 @@ $txt = ''])
-

method replaceBuffer [line 20648]

+

method replaceBuffer [line 20666]

@@ -15972,7 +15972,7 @@ $data)
-

method revstrpos [line 21538]

+

method revstrpos [line 21556]

@@ -16077,7 +16077,7 @@ $length)
-

method rollbackTransaction [line 21485]

+

method rollbackTransaction [line 21503]

@@ -16119,7 +16119,7 @@ $self = false])
-

method Rotate [line 11585]

+

method Rotate [line 11603]

@@ -16173,7 +16173,7 @@ $y = ''])
-

method RoundedRect [line 12392]

+

method RoundedRect [line 12410]

@@ -16260,7 +16260,7 @@ $fill_color = array()])
-

method RoundedRectXY [line 12411]

+

method RoundedRectXY [line 12429]

@@ -16353,7 +16353,7 @@ $fill_color = array()])
-

method Scale [line 11461]

+

method Scale [line 11479]

@@ -16413,7 +16413,7 @@ $y = ''])
-

method ScaleX [line 11421]

+

method ScaleX [line 11439]

@@ -16467,7 +16467,7 @@ $y = ''])
-

method ScaleXY [line 11447]

+

method ScaleXY [line 11465]

@@ -16521,7 +16521,7 @@ $y = ''])
-

method ScaleY [line 11434]

+

method ScaleY [line 11452]

@@ -16575,7 +16575,7 @@ $y = ''])
-

method segSVGContentHandler [line 23557]

+

method segSVGContentHandler [line 23575]

@@ -16623,7 +16623,7 @@ $data)
-

method selectColumn [line 21601]

+

method selectColumn [line 21619]

@@ -16662,7 +16662,7 @@ $col = ''])
-

method serializeTCPDFtagParameters [line 21691]

+

method serializeTCPDFtagParameters [line 21709]

@@ -16704,7 +16704,7 @@ $pararray)
-

method setAlpha [line 14730]

+

method setAlpha [line 14748]

@@ -16839,7 +16839,7 @@ $margin = 0])
-

method setBarcode [line 15765]

+

method setBarcode [line 15783]

@@ -16875,7 +16875,7 @@ $bc = ''])
-

method SetBooklet [line 20123]

+

method SetBooklet [line 20141]

@@ -16926,7 +16926,7 @@ $outer = -1])
-

method setBuffer [line 20630]

+

method setBuffer [line 20648]

@@ -16965,7 +16965,7 @@ $data)
-

method setCellHeightRatio [line 14764]

+

method setCellHeightRatio [line 14782]

@@ -17046,7 +17046,7 @@ $pad)
-

method setColumnsArray [line 21588]

+

method setColumnsArray [line 21606]

@@ -17244,7 +17244,7 @@ $font)
-

method setDefaultTableColumns [line 14754]

+

method setDefaultTableColumns [line 14772]

@@ -17502,7 +17502,7 @@ $tint = 100])
-

method setEqualColumns [line 21555]

+

method setEqualColumns [line 21573]

@@ -17553,7 +17553,7 @@ $y = ''])
-

method setExtGState [line 14696]

+

method setExtGState [line 14714]

@@ -17811,7 +17811,7 @@ $subset = 'default'])
-

method setFontBuffer [line 20784]

+

method setFontBuffer [line 20802]

@@ -17904,7 +17904,7 @@ $out = true])
-

method setFontSubBuffer [line 20806]

+

method setFontSubBuffer [line 20824]

@@ -17955,7 +17955,7 @@ $data)
-

method setFontSubsetting [line 22025]

+

method setFontSubsetting [line 22043]

@@ -18025,7 +18025,7 @@ $enable = true])
-

method setFooterFont [line 10655]

+

method setFooterFont [line 10673]

@@ -18100,7 +18100,7 @@ $fm = 10])
-

method setFormDefaultProp [line 13764]

+

method setFormDefaultProp [line 13782]

@@ -18142,7 +18142,7 @@ $prop = array()])
-

method setGraphicVars [line 20538]

+

method setGraphicVars [line 20556]

@@ -18263,7 +18263,7 @@ $hs = ''])
-

method setHeaderFont [line 10635]

+

method setHeaderFont [line 10653]

@@ -18338,7 +18338,7 @@ $hm = 10])
-

method setHtmlLinksStyle [line 20194]

+

method setHtmlLinksStyle [line 20212]

@@ -18383,7 +18383,7 @@ $fontstyle = 'U'])
-

method setHtmlVSpace [line 20163]

+

method setHtmlVSpace [line 20181]

@@ -18422,7 +18422,7 @@ $tagvs)
-

method setImageBuffer [line 20725]

+

method setImageBuffer [line 20743]

@@ -18509,7 +18509,7 @@ $scale)
-

method setImageSubBuffer [line 20748]

+

method setImageSubBuffer [line 20766]

@@ -18560,7 +18560,7 @@ $data)
-

method setJPEGQuality [line 14741]

+

method setJPEGQuality [line 14759]

@@ -18641,7 +18641,7 @@ $keywords)
-

method setLanguageArray [line 10675]

+

method setLanguageArray [line 10693]

@@ -18764,7 +18764,7 @@ $margin)
-

method SetLineStyle [line 11738]

+

method SetLineStyle [line 11756]

@@ -18819,7 +18819,7 @@ $ret = false])
-

method SetLineWidth [line 11695]

+

method SetLineWidth [line 11713]

@@ -18915,7 +18915,7 @@ $page = -1])
-

method setListIndentWidth [line 20173]

+

method setListIndentWidth [line 20191]

@@ -18954,7 +18954,7 @@ $width)
-

method setLIsymbol [line 20084]

+

method setLIsymbol [line 20102]

@@ -19053,7 +19053,7 @@ $keepmargins = false])
-

method setOpenCell [line 20183]

+

method setOpenCell [line 20201]

@@ -19215,7 +19215,7 @@ $points = false])
-

method setPageBuffer [line 20682]

+

method setPageBuffer [line 20700]

@@ -19432,7 +19432,7 @@ $unit)
-

method setPDFVersion [line 14783]

+

method setPDFVersion [line 14801]

@@ -19549,7 +19549,7 @@ $val = true])
-

method SetProtection [line 11252]

+

method SetProtection [line 11270]

@@ -19615,7 +19615,7 @@ $pubkeys = null])
-

method setRasterizeVectorImages [line 21922]

+

method setRasterizeVectorImages [line 21940]

@@ -19741,7 +19741,7 @@ $resetx = true])
-

method setSignature [line 14423]

+

method setSignature [line 14441]

@@ -19813,7 +19813,7 @@ $info = array()])
-

method setSignatureAppearance [line 14456]

+

method setSignatureAppearance [line 14474]

@@ -19963,7 +19963,7 @@ $subject)
-

method setSVGStyles [line 22531]

+

method setSVGStyles [line 22549]

@@ -20216,7 +20216,7 @@ $color)
-

method setTextRenderingMode [line 21703]

+

method setTextRenderingMode [line 21721]

@@ -20399,7 +20399,7 @@ $margin)
-

method setUserRights [line 14390]

+

method setUserRights [line 14408]

@@ -20465,7 +20465,7 @@ $signature = '/Modify'])
-

method setViewerPreferences [line 14796]

+

method setViewerPreferences [line 14814]

@@ -20507,7 +20507,7 @@ $preferences)
-

method setVisibility [line 14641]

+

method setVisibility [line 14659]

@@ -20741,7 +20741,7 @@ $mqr)
-

method Skew [line 11641]

+

method Skew [line 11659]

@@ -20801,7 +20801,7 @@ $y = ''])
-

method SkewX [line 11614]

+

method SkewX [line 11632]

@@ -20855,7 +20855,7 @@ $y = ''])
-

method SkewY [line 11627]

+

method SkewY [line 11645]

@@ -20909,7 +20909,7 @@ $y = ''])
-

method StarPolygon [line 12350]

+

method StarPolygon [line 12368]

@@ -21087,7 +21087,7 @@ $tocpage = false])
-

method startPageGroup [line 14476]

+

method startPageGroup [line 14494]

@@ -21126,7 +21126,7 @@ $page = ''])
-

method startSVGElementHandler [line 23127]

+

method startSVGElementHandler [line 23145]

@@ -21180,7 +21180,7 @@ $attribs)
-

method startTransaction [line 21454]

+

method startTransaction [line 21472]

@@ -21208,7 +21208,7 @@ $attribs)
-

method StartTransform [line 11389]

+

method StartTransform [line 11407]

@@ -21239,7 +21239,7 @@ $attribs)
-

method StopTransform [line 11404]

+

method StopTransform [line 11422]

@@ -21270,7 +21270,7 @@ $attribs)
-

method stringLeftTrim [line 22048]

+

method stringLeftTrim [line 22066]

@@ -21315,7 +21315,7 @@ $str)
-

method stringRightTrim [line 22060]

+

method stringRightTrim [line 22078]

@@ -21360,7 +21360,7 @@ $str)
-

method stringTrim [line 22072]

+

method stringTrim [line 22090]

@@ -21405,7 +21405,7 @@ $str)
-

method SVGPath [line 22786]

+

method SVGPath [line 22804]

@@ -21456,7 +21456,7 @@ $style = ''])
-

method SVGTransform [line 22512]

+

method SVGTransform [line 22530]

@@ -21495,7 +21495,7 @@ $tm)
-

method swapMargins [line 20139]

+

method swapMargins [line 20157]

@@ -21705,7 +21705,7 @@ $rtloff = false])
-

method TextField [line 13793]

+

method TextField [line 13811]

@@ -21789,7 +21789,7 @@ $js = false])
-

method Transform [line 11671]

+

method Transform [line 11689]

@@ -21831,7 +21831,7 @@ $tm)
-

method Translate [line 11564]

+

method Translate [line 11582]

@@ -21879,7 +21879,7 @@ $t_y)
-

method TranslateX [line 11541]

+

method TranslateX [line 11559]

@@ -21921,7 +21921,7 @@ $t_x)
-

method TranslateY [line 11552]

+

method TranslateY [line 11570]

@@ -21963,7 +21963,7 @@ $t_y)
-

method unhtmlentities [line 10818]

+

method unhtmlentities [line 10836]

@@ -22194,7 +22194,7 @@ $end = ''])
-

method UTF8ArrToLatin1 [line 10543]

+

method UTF8ArrToLatin1 [line 10561]

@@ -22236,7 +22236,7 @@ $unicode)
-

method utf8Bidi [line 12572]

+

method utf8Bidi [line 12590]

@@ -22293,7 +22293,7 @@ $forcertl = false])
-

method utf8StrArrRev [line 12558]

+

method utf8StrArrRev [line 12576]

@@ -22419,7 +22419,7 @@ $str)
-

method utf8StrRev [line 12543]

+

method utf8StrRev [line 12561]

@@ -22473,7 +22473,7 @@ $forcertl = false])
-

method UTF8ToLatin1 [line 10513]

+

method UTF8ToLatin1 [line 10531]

@@ -22515,7 +22515,7 @@ $str)
-

method UTF8ToUTF16BE [line 10497]

+

method UTF8ToUTF16BE [line 10515]

@@ -22662,7 +22662,7 @@ $maxh = 0])
-

method write1DBarcode [line 15794]

+

method write1DBarcode [line 15812]

@@ -22752,7 +22752,7 @@ $align = ''])
-

method write2DBarcode [line 16030]

+

method write2DBarcode [line 16048]

@@ -22842,7 +22842,7 @@ $distort = false])
-

method writeBarcode [line 15979]

+

method writeBarcode [line 15997]

@@ -22932,7 +22932,7 @@ $code)
-

method writeDiskCache [line 20592]

+

method writeDiskCache [line 20610]

@@ -22989,7 +22989,7 @@ $file)
-

method writeHTML [line 17452]

+

method writeHTML [line 17470]

@@ -23055,7 +23055,7 @@ $align = ''])
-

method writeHTMLCell [line 17436]

+

method writeHTMLCell [line 17454]

@@ -23157,7 +23157,7 @@ $autopadding = true])
-

method _addfield [line 13365]

+

method _addfield [line 13383]

@@ -23235,7 +23235,7 @@ $prop)
-

method _AES [line 11040]

+

method _AES [line 11058]

@@ -23783,7 +23783,7 @@ $w)
-

method _encrypt_data [line 10851]

+

method _encrypt_data [line 10869]

@@ -23998,7 +23998,7 @@ $f)
-

method _generateencryptionkey [line 11127]

+

method _generateencryptionkey [line 11145]

@@ -24566,7 +24566,7 @@ $offset)
-

method _JScolor [line 13341]

+

method _JScolor [line 13359]

@@ -24608,7 +24608,7 @@ $color)
-

method _md5_16 [line 11058]

+

method _md5_16 [line 11076]

@@ -24681,7 +24681,7 @@ $str)
-

method _objectkey [line 10832]

+

method _objectkey [line 10850]

@@ -24759,7 +24759,7 @@ $s)
-

method _outCurve [line 11843]

+

method _outCurve [line 11861]

@@ -24828,7 +24828,7 @@ $y3)
-

method _outCurveV [line 11857]

+

method _outCurveV [line 11875]

@@ -24885,7 +24885,7 @@ $y3)
-

method _outCurveY [line 11873]

+

method _outCurveY [line 11891]

@@ -24954,7 +24954,7 @@ $y2)
-

method _outellipticalarc [line 12069]

+

method _outellipticalarc [line 12087]

@@ -25062,7 +25062,7 @@ $angf:)
-

method _outLine [line 11813]

+

method _outLine [line 11831]

@@ -25107,7 +25107,7 @@ $y)
-

method _outPoint [line 11801]

+

method _outPoint [line 11819]

@@ -25152,7 +25152,7 @@ $y)
-

method _outRect [line 11827]

+

method _outRect [line 11845]

@@ -25215,7 +25215,7 @@ $op)
-

method _Ovalue [line 11071]

+

method _Ovalue [line 11089]

@@ -25474,7 +25474,7 @@ $stream = ''])
-

method _putbookmarks [line 13177]

+

method _putbookmarks [line 13195]

diff --git a/tcpdf.php b/tcpdf.php index f4a6c53..ed08a7d 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
* @name TCPDF * @package com.tecnick.tcpdf - * @version 5.8.000 + * @version 5.8.001 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -10394,15 +10394,31 @@ if (!class_exists('TCPDF', false)) { * @since 1.53.0.TC005 (2005-01-05) */ protected function UTF8StringToArray($str) { - if (isset($this->cache_UTF8StringToArray['_'.$str])) { + // build a unique string key + $strkey = md5($str); + if (isset($this->cache_UTF8StringToArray[$strkey])) { // return cached value - return($this->cache_UTF8StringToArray['_'.$str]); + $chrarray = $this->cache_UTF8StringToArray[$strkey]['s']; + if (!isset($this->cache_UTF8StringToArray[$strkey]['f'][$this->CurrentFont['fontkey']])) { + if ($this->isunicode) { + foreach ($chrarray as $chr) { + // store this char for font subsetting + $this->CurrentFont['subsetchars'][$chr] = true; + } + // update font subsetchars + $this->setFontSubBuffer($this->CurrentFont['fontkey'], 'subsetchars', $this->CurrentFont['subsetchars']); + } + $this->cache_UTF8StringToArray[$strkey]['f'][$this->CurrentFont['fontkey']] = true; + } + return $chrarray; } // check cache size if ($this->cache_size_UTF8StringToArray >= $this->cache_maxsize_UTF8StringToArray) { // remove first element array_shift($this->cache_UTF8StringToArray); } + // new cache array for selected string + $this->cache_UTF8StringToArray[$strkey] = array('s' => array(), 'f' => array()); ++$this->cache_size_UTF8StringToArray; if (!$this->isunicode) { // split string into array of equivalent codes @@ -10412,7 +10428,8 @@ if (!class_exists('TCPDF', false)) { $strarr[] = ord($str{$i}); } // insert new value on cache - $this->cache_UTF8StringToArray['_'.$str] = $strarr; + $this->cache_UTF8StringToArray[$strkey]['s'] = $strarr; + $this->cache_UTF8StringToArray[$strkey]['f'][$this->CurrentFont['fontkey']] = true; return $strarr; } $unichar = -1; // last unicode char @@ -10480,7 +10497,8 @@ if (!class_exists('TCPDF', false)) { // update font subsetchars $this->setFontSubBuffer($this->CurrentFont['fontkey'], 'subsetchars', $this->CurrentFont['subsetchars']); // insert new value on cache - $this->cache_UTF8StringToArray['_'.$str] = $unicode; + $this->cache_UTF8StringToArray[$strkey]['s'] = $unicode; + $this->cache_UTF8StringToArray[$strkey]['f'][$this->CurrentFont['fontkey']] = true; return $unicode; } @@ -18028,7 +18046,7 @@ if (!class_exists('TCPDF', false)) { $currentxpos = $xmatches[1]; $textpos = $currentxpos; if (($strcount <= $maxkk) AND ($strpiece[2][0] == 'Td')) { - $ns += substr_count($lnstring[1][$strcount], $spacestr); + $ns = $lnstring[3][$strcount]; if ($this->isRTLTextDir()) { $spacew = ($spacewidth * ($nsmax - $ns)); }
diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index 1cee9c7..e108a1c 100644 --- a/doc/li_com-tecnick-tcpdf.html +++ b/doc/li_com-tecnick-tcpdf.html @@ -67,7 +67,7 @@ This documentation was generated by phpDocumentor v1.4.3

- Documentation generated on Wed, 11 Aug 2010 23:48:23 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:02 +0200 by phpDocumentor 1.4.3
@@ -25609,7 +25609,7 @@ $font)
-

method _putencryption [line 10875]

+

method _putencryption [line 10893]

diff --git a/doc/index.html b/doc/index.html index 1cee9c7..e108a1c 100644 --- a/doc/index.html +++ b/doc/index.html @@ -67,7 +67,7 @@ This documentation was generated by phpDocumentor v1.4.3

- Documentation generated on Wed, 11 Aug 2010 23:48:23 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:02 +0200 by phpDocumentor 1.4.3
diff --git a/doc/errors.html b/doc/errors.html index 3384a08..a62350f 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

- Documentation generated on Wed, 11 Aug 2010 23:48:29 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:09 +0200 by phpDocumentor 1.4.3
@@ -25640,7 +25640,7 @@ $font)
-

method _putextgstates [line 14706]

+

method _putextgstates [line 14724]

diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index 531a2ad..8aeb019 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -2070,7 +2070,7 @@ top

- Documentation generated on Wed, 11 Aug 2010 23:48:23 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:02 +0200 by phpDocumentor 1.4.3
diff --git a/doc/elementindex.html b/doc/elementindex.html index 712d883..7da3932 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -2038,7 +2038,7 @@ top

- Documentation generated on Wed, 11 Aug 2010 23:48:23 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:02 +0200 by phpDocumentor 1.4.3
@@ -25836,7 +25836,7 @@ $cidoffset = 0])
-

method _putjavascript [line 13286]

+

method _putjavascript [line 13304]

diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index dff99e7..c1b7b03 100644 --- a/doc/com-tecnick-tcpdf/_unicode_data.php.html +++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html @@ -246,7 +246,7 @@ Unicode data for TCPDF library.




- Documentation generated on Wed, 11 Aug 2010 23:48:29 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:09 +0200 by phpDocumentor 1.4.3
@@ -25867,7 +25867,7 @@ $cidoffset = 0])
-

method _putocg [line 14626]

+

method _putocg [line 14644]

diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index 7990643..ca11dc6 100644 --- a/doc/com-tecnick-tcpdf/_tcpdf.php.html +++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html @@ -82,7 +82,7 @@ This is a PHP class for generating PDF documents without requiring external exte - + @@ -113,7 +113,7 @@ unicode data

diff --git a/doc/com-tecnick-tcpdf/_qrcode.php.html b/doc/com-tecnick-tcpdf/_qrcode.php.html index 01de10c..204e78f 100644 --- a/doc/com-tecnick-tcpdf/_qrcode.php.html +++ b/doc/com-tecnick-tcpdf/_qrcode.php.html @@ -480,7 +480,7 @@ string $string, [int $split_length = 1])

- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:03 +0200 by phpDocumentor 1.4.3
@@ -25970,7 +25970,7 @@ $cidoffset = 0])
-

method _putshaders [line 15260]

+

method _putshaders [line 15278]

diff --git a/doc/com-tecnick-tcpdf/_pdf417.php.html b/doc/com-tecnick-tcpdf/_pdf417.php.html index 2281925..16b2b5e 100644 --- a/doc/com-tecnick-tcpdf/_pdf417.php.html +++ b/doc/com-tecnick-tcpdf/_pdf417.php.html @@ -157,7 +157,7 @@ Class to create PDF417 barcode arrays for TCPDF class.

PDF417 (ISO


- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:03 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_htmlcolors.php.html b/doc/com-tecnick-tcpdf/_htmlcolors.php.html index d57fbb2..59f2a80 100644 --- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html +++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html @@ -97,7 +97,7 @@ Array of WEB safe colors.




- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:03 +0200 by phpDocumentor 1.4.3
@@ -26001,7 +26001,7 @@ $cidoffset = 0])
-

method _putsignature [line 14314]

+

method _putsignature [line 14332]

diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index 551cacc..1926168 100644 --- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html +++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html @@ -542,7 +542,7 @@ Configuration file for TCPDF.




- Documentation generated on Wed, 11 Aug 2010 23:48:29 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:09 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html index f1ed761..29c09ac 100644 --- a/doc/com-tecnick-tcpdf/_barcodes.php.html +++ b/doc/com-tecnick-tcpdf/_barcodes.php.html @@ -105,7 +105,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit

- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:03 +0200 by phpDocumentor 1.4.3
@@ -26184,7 +26184,7 @@ $font)
-

method _RC4 [line 10994]

+

method _RC4 [line 11012]

diff --git a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html index 6610f1f..a98c544 100644 --- a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html +++ b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html @@ -105,7 +105,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF

- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:02 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index 197fd22..6575675 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1377,7 +1377,7 @@ $type)

- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:03 +0200 by phpDocumentor 1.4.3
@@ -26412,7 +26412,7 @@ $file)
-

method _Uvalue [line 11100]

+

method _Uvalue [line 11118]

diff --git a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html index 562b769..16fa956 100644 --- a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html @@ -299,7 +299,7 @@ $type)

- Documentation generated on Wed, 11 Aug 2010 23:48:24 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:02 +0200 by phpDocumentor 1.4.3
@@ -26449,7 +26449,7 @@ $file)

- Documentation generated on Wed, 11 Aug 2010 23:48:25 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:04 +0200 by phpDocumentor 1.4.3
author:  Nicola Asuni
version:  5.8.000version:  5.8.001
copyright:  2002-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
- PDF_PRODUCER = 'TCPDF 5.8.000 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 5.8.001 (http://www.tcpdf.org)'
@@ -124,7 +124,7 @@ unicode data


- Documentation generated on Wed, 11 Aug 2010 23:48:25 +0200 by phpDocumentor 1.4.3 + Documentation generated on Thu, 12 Aug 2010 15:16:04 +0200 by phpDocumentor 1.4.3