From 4501eedf0bd40002c7c45ea1d60362d987eeba9e Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Mon, 7 Jun 2010 16:46:49 +0200 Subject: [PATCH] 5.3.002 --- CHANGELOG.TXT | 7 +- README.TXT | 4 +- doc/classtrees_com-tecnick-tcpdf.html | 7 +- doc/com-tecnick-tcpdf/QRcode.html | 7 +- doc/com-tecnick-tcpdf/TCPDF.html | 924 ++++++++++-------- doc/com-tecnick-tcpdf/TCPDF2DBarcode.html | 7 +- doc/com-tecnick-tcpdf/TCPDFBarcode.html | 7 +- doc/com-tecnick-tcpdf/_2dbarcodes.php.html | 7 +- doc/com-tecnick-tcpdf/_barcodes.php.html | 7 +- .../_config---tcpdf_config.php.html | 7 +- doc/com-tecnick-tcpdf/_htmlcolors.php.html | 7 +- doc/com-tecnick-tcpdf/_qrcode.php.html | 7 +- doc/com-tecnick-tcpdf/_tcpdf.php.html | 11 +- doc/com-tecnick-tcpdf/_unicode_data.php.html | 7 +- doc/elementindex.html | 60 +- doc/elementindex_com-tecnick-tcpdf.html | 65 +- doc/errors.html | 2 +- doc/index.html | 7 +- doc/li_com-tecnick-tcpdf.html | 7 +- examples/example_001.php | 7 +- examples/example_014.php | 8 +- examples/example_054.php | 8 +- tcpdf.php | 62 +- 23 files changed, 767 insertions(+), 475 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 254a440..ca7890a 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,8 @@ +5.3.002 (2010-06-07) + - The methods setFontSubsetting() and setFontSubsetting() were added to control the default font subsetting mode (see example n. 1). + - Bug #3012596 "Whitespace should not appeared after use Thai top characters" was fixed. + - Examples n. 1, 14, and 54 were updated. + 5.3.001 (2010-06-06) - Barcode PDF417 was improved to support Macro Code Blocks (see example n. 50). @@ -11,7 +16,7 @@ 5.2.000 (2010-06-02) - IMPORTANT: Support for font subsetting was added by default to reduce the size of documents using large unicode font files. If you embed the whole font in the PDF, the person on the other end can make changes to it even if he didn't have your font. - If you subset the font, file size of the PDF will be smaller but the person who receives your PDF would need to have your same font in order to make changes to your PDF. + If you subset the font, file size of the PDF will be smaller but the person who receives your PDF would need to have your same font in order to make changes to your PDF. - The signature of the SetFont() and AddFont() methods were changed to include the font subsetting option (subsetting is applied by default). - Examples 14 and 54 were updated. diff --git a/README.TXT b/README.TXT index e03e395..6dc9706 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http: sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.3.001 -Release date: 2010-06-06 +Version: 5.3.002 +Release date: 2010-06-07 Author: Nicola Asuni Copyright (c) 2002-2010: diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index 159dcf2..c122f73 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -33,6 +33,11 @@

Class Trees for Package com-tecnick-tcpdf

+
+
Root class PDF417

+ +
Root class QRcode

diff --git a/doc/com-tecnick-tcpdf/QRcode.html b/doc/com-tecnick-tcpdf/QRcode.html index 1d44a2e..239bb1c 100644 --- a/doc/com-tecnick-tcpdf/QRcode.html +++ b/doc/com-tecnick-tcpdf/QRcode.html @@ -35,6 +35,8 @@ barcodes.php
htmlcolors.php +
+ pdf417.php
qrcode.php
@@ -49,7 +51,8 @@ Classes:
- QRcode
+ PDF417
+ QRcode
TCPDF
TCPDF2DBarcode
TCPDFBarcode
@@ -5548,7 +5551,7 @@ $frame)

- Documentation generated on Sun, 06 Jun 2010 13:18:40 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:39 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index 97f08f0..646671d 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -35,6 +35,8 @@ barcodes.php
htmlcolors.php +
+ pdf417.php
qrcode.php
@@ -49,7 +51,8 @@ Classes:
- QRcode
+ PDF417
+ QRcode
TCPDF
TCPDF2DBarcode
TCPDFBarcode
@@ -80,7 +83,7 @@ Source Location: /tcpdf.php

Version:

    -
  • 5.3.001
  • +
  • 5.3.002
@@ -156,6 +159,7 @@ Source Location: /tcpdf.php

  • $FontSizePt
  • $FontStyle
  • $font_obj_ids
  • +
  • $font_subsetting
  • $footerlen
  • $footerpos
  • $footer_font
  • @@ -385,6 +389,7 @@ Source Location: /tcpdf.php

  • getFontSizePt
  • getFontsList
  • getFontStyle
  • +
  • getFontSubsetting
  • getFooterFont
  • getFooterMargin
  • getFormDefaultProp
  • @@ -519,6 +524,7 @@ Source Location: /tcpdf.php

  • setFontBuffer
  • SetFontSize
  • setFontSubBuffer
  • +
  • setFontSubsetting
  • setFooter
  • setFooterFont
  • setFooterMargin
  • @@ -723,7 +729,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  5.3.001 + version:  5.3.002 link:  http://www.tcpdf.org @@ -2554,6 +2560,36 @@ This is a PHP class for generating PDF documents without requiring external exte Type:   mixed + + +


    +
    [ Top ]

    + +

    +

    $font_subsetting =  true

    +

    [line 1557]

    +

    +

    Tags:

    +
    + + + + + + + + + + +
    var:  true enables font subsetting by default
    since:  5.3.002 (2010-06-07)
    access:  protected
    +
    + +
    +
    + + + +
    Type:  If


    @@ -5606,7 +5642,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svgclipid =  0

    -

    [line 1613]

    +

    [line 1620]



    Tags:

    @@ -5636,7 +5672,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svgclipmode =  false

    -

    [line 1599]

    +

    [line 1606]



    Tags:

    @@ -5666,7 +5702,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svgclippaths = array()

    -

    [line 1606]

    +

    [line 1613]



    Tags:

    @@ -5696,7 +5732,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svgdefs = array()

    -

    [line 1592]

    +

    [line 1599]



    Tags:

    @@ -5726,7 +5762,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svgdefsmode =  false

    -

    [line 1585]

    +

    [line 1592]



    Tags:

    @@ -5756,7 +5792,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svgdir =  ''

    -

    [line 1557]

    +

    [line 1564]



    Tags:

    @@ -5786,7 +5822,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svggradientid =  0

    -

    [line 1578]

    +

    [line 1585]



    Tags:

    @@ -5816,7 +5852,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svggradients = array()

    -

    [line 1571]

    +

    [line 1578]



    Tags:

    @@ -5846,7 +5882,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svginheritprop = array('clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cursor', 'direction', 'fill', 'fill-opacity', 'fill-rule', 'font', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'glyph-orientation-horizontal', 'glyph-orientation-vertical', 'image-rendering', 'kerning', 'letter-spacing', 'marker', 'marker-end', 'marker-mid', 'marker-start', 'pointer-events', 'shape-rendering', 'stroke', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'text-anchor', 'text-rendering', 'visibility', 'word-spacing', 'writing-mode')

    -

    [line 1627]

    +

    [line 1634]



    Tags:

    @@ -5939,7 +5975,7 @@ This is a PHP class for generating PDF documents without requiring external exte          'writing-mode' => 'lr-tb',
             'text-color' => 'black',
             'transfmatrix' => array(1, 0, 0, 1, 0, 0))) -

    [line 1634]

    +

    [line 1641]



    Tags:

    @@ -5969,7 +6005,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svgtext =  ''

    -

    [line 1620]

    +

    [line 1627]



    Tags:

    @@ -5999,7 +6035,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $svgunit =  'px'

    -

    [line 1564]

    +

    [line 1571]



    Tags:

    @@ -6791,7 +6827,7 @@ This is a PHP class for generating PDF documents without requiring external exte
    -

    constructor __construct [line 1717]

    +

    constructor __construct [line 1724]

    @@ -6860,7 +6896,7 @@ $diskcache = false])
    -

    destructor __destruct [line 1846]

    +

    destructor __destruct [line 1853]

    @@ -6888,7 +6924,7 @@ $diskcache = false])
    -

    method AcceptPageBreak [line 4190]

    +

    method AcceptPageBreak [line 4200]

    @@ -6919,7 +6955,7 @@ $diskcache = false])
    -

    method addExtGState [line 13385]

    +

    method addExtGState [line 13399]

    - + @@ -7020,9 +7056,9 @@ $subset = true]) - + - +
    @@ -6967,7 +7003,7 @@ $params)
    -

    method AddFont [line 3678]

    +

    method AddFont [line 3685]

    @@ -6975,8 +7011,8 @@ $params) string $family, [string $style = ''], [string -$fontfile = ''], [boolean -$subset = true]) +$fontfile = ''], [mixed +$subset = 'default'])

    @@ -6988,7 +7024,7 @@ $subset = true])
    return:  containing the font data, or false in case of error.
    see:  TCPDF::SetFont()see:  TCPDF::SetFont(), TCPDF::setFontSubsetting(), TCPDF::setFontSubsetting()
    since:  1.5 The font definition file. By default, the name is built from the family and style, in lower case with no spaces.
    boolean  mixed   $subset  if true embedd only a subset of the font (stores only the information related to the used characters); this option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font.if true embedd only a subset of the font (stores only the information related to the used characters); if false embedd full font; if 'default' uses the default value set using setFontSubsetting(). This option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font.

    @@ -7030,7 +7066,7 @@ $subset = true])
    -

    method addHtmlLink [line 9459]

    +

    method addHtmlLink [line 9473]

    @@ -7105,7 +7141,7 @@ $firstblock = false])
    -

    method addHTMLTOC [line 19377]

    +

    method addHTMLTOC [line 19391]

    @@ -7168,7 +7204,7 @@ $correct_align = true])
    -

    method addHTMLVertSpace [line 18129]

    +

    method addHTMLVertSpace [line 18143]

    @@ -7222,7 +7258,7 @@ $firstorlast = false])
    -

    method addJavascriptObject [line 12013]

    +

    method addJavascriptObject [line 12027]

    @@ -7273,7 +7309,7 @@ $onload = false])
    -

    method AddLink [line 3992]

    +

    method AddLink [line 4002]

    @@ -7304,7 +7340,7 @@ $onload = false])
    -

    method AddPage [line 2852]

    +

    method AddPage [line 2859]

    @@ -7364,7 +7400,7 @@ $tocpage = false])
    -

    method AddSpotColor [line 3296]

    +

    method AddSpotColor [line 3303]

    @@ -7430,7 +7466,7 @@ $k)
    -

    method addTOC [line 19227]

    +

    method addTOC [line 19241]

    @@ -7493,7 +7529,7 @@ $toc_name = 'TOC'])
    -

    method addTOCPage [line 2827]

    +

    method addTOCPage [line 2834]

    @@ -7547,7 +7583,7 @@ $keepmargins = false])
    -

    method AliasNbPages [line 13197]

    +

    method AliasNbPages [line 13211]

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

    method AliasNumPage [line 13224]

    +

    method AliasNumPage [line 13238]

    @@ -7631,7 +7667,7 @@ $alias = '{pnb}'])
    -

    method Annotation [line 4048]

    +

    method Annotation [line 4058]

    @@ -7706,7 +7742,7 @@ $spaces = 0])
    -

    method Arrow [line 11223]

    +

    method Arrow [line 11237]

    @@ -7784,7 +7820,7 @@ $arm_angle = 15])
    -

    method arrUTF8ToUTF16BE [line 9356]

    +

    method arrUTF8ToUTF16BE [line 9368]

    @@ -7859,7 +7895,7 @@ $setbom = true])
    -

    method Bookmark [line 11891]

    +

    method Bookmark [line 11905]

    @@ -7919,7 +7955,7 @@ $page = ''])
    -

    method Button [line 12900]

    +

    method Button [line 12914]

    @@ -8015,7 +8051,7 @@ $js = false])
    -

    method Cell [line 4298]

    +

    method Cell [line 4308]

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

    method CheckBox [line 12830]

    +

    method CheckBox [line 12844]

    @@ -8213,7 +8249,7 @@ $js = false])
    -

    method checkPageBreak [line 4217]

    +

    method checkPageBreak [line 4227]

    @@ -8267,7 +8303,7 @@ $addpage = true])
    -

    method Circle [line 10911]

    +

    method Circle [line 10925]

    @@ -8366,7 +8402,7 @@ $angend:)
    -

    method Clip [line 13846]

    +

    method Clip [line 13860]

    @@ -8426,7 +8462,7 @@ $h)
    -

    method Close [line 2706]

    +

    method Close [line 2713]

    @@ -8457,7 +8493,7 @@ $h)
    -

    method closeHTMLTagHandler [line 17739]

    +

    method closeHTMLTagHandler [line 17753]

    @@ -8517,7 +8553,7 @@ $dom)
    -

    method colorRegistrationBar [line 13521]

    +

    method colorRegistrationBar [line 13535]

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

    method ComboBox [line 12769]

    +

    method ComboBox [line 12783]

    @@ -8685,7 +8721,7 @@ $js = false])
    -

    method commitTransaction [line 19489]

    +

    method commitTransaction [line 19503]

    @@ -8713,7 +8749,7 @@ $js = false])
    -

    method convertHexStringToString [line 10081]

    +

    method convertHexStringToString [line 10095]

    @@ -8755,7 +8791,7 @@ $bs)
    -

    method convertHTMLColorToDec [line 9492]

    +

    method convertHTMLColorToDec [line 9506]

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

    method convertStringToHexString [line 10102]

    +

    method convertStringToHexString [line 10116]

    @@ -8839,7 +8875,7 @@ $s)
    -

    method convertSVGtMatrix [line 20424]

    +

    method convertSVGtMatrix [line 20460]

    @@ -8881,7 +8917,7 @@ $tm)
    -

    method CoonsPatchMesh [line 13761]

    +

    method CoonsPatchMesh [line 13775]

    @@ -8989,7 +9025,7 @@ $antialias = false])
    -

    method copyPage [line 19159]

    +

    method copyPage [line 19173]

    @@ -9031,7 +9067,7 @@ $page = 0])
    -

    method cropMark [line 13619]

    +

    method cropMark [line 13633]

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

    method Curve [line 10716]

    +

    method Curve [line 10730]

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

    method deletePage [line 19022]

    +

    method deletePage [line 19036]

    @@ -9247,7 +9283,7 @@ $page)
    -

    method Ellipse [line 10780]

    +

    method Ellipse [line 10794]

    @@ -9367,7 +9403,7 @@ $afinish:)
    -

    method empty_string [line 19543]

    +

    method empty_string [line 19557]

    @@ -9409,7 +9445,7 @@ $str)
    -

    method endPage [line 2872]

    +

    method endPage [line 2879]

    @@ -9451,7 +9487,7 @@ $tocpage = false])
    -

    method endSVGElementHandler [line 21451]

    +

    method endSVGElementHandler [line 21487]

    @@ -9499,7 +9535,7 @@ $name)
    -

    method endTOCPage [line 2837]

    +

    method endTOCPage [line 2844]

    @@ -9530,7 +9566,7 @@ $name)
    -

    method Error [line 2678]

    +

    method Error [line 2685]

    @@ -9569,7 +9605,7 @@ $msg)
    -

    method extractCSSproperties [line 15067]

    +

    method extractCSSproperties [line 15081]

    @@ -9614,7 +9650,7 @@ $cssdata)
    -

    method Footer [line 3119]

    +

    method Footer [line 3126]

    @@ -9639,7 +9675,7 @@ $cssdata)
    -

    method formatPageNumber [line 13301]

    +

    method formatPageNumber [line 13315]

    @@ -9678,7 +9714,7 @@ $num)
    -

    method formatTOCPageNumber [line 13313]

    +

    method formatTOCPageNumber [line 13327]

    @@ -9720,7 +9756,7 @@ $num)
    -

    method GetAbsX [line 6267]

    +

    method GetAbsX [line 6277]

    @@ -9751,7 +9787,7 @@ $num)
    -

    method getAliasNbPages [line 13209]

    +

    method getAliasNbPages [line 13223]

    @@ -9782,7 +9818,7 @@ $num)
    -

    method getAliasNumPage [line 13237]

    +

    method getAliasNumPage [line 13251]

    @@ -9813,7 +9849,7 @@ $num)
    -

    method getAnnotOptFromJSProp [line 12137]

    +

    method getAnnotOptFromJSProp [line 12151]

    @@ -9858,7 +9894,7 @@ $prop)
    -

    method GetArrStringWidth [line 3580]

    +

    method GetArrStringWidth [line 3587]

    @@ -9927,7 +9963,7 @@ $getarray = false])
    -

    method getBarcode [line 14500]

    +

    method getBarcode [line 14514]

    @@ -9955,7 +9991,7 @@ $getarray = false])
    -

    method getBorderMode [line 4921]

    +

    method getBorderMode [line 4931]

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

    method getBreakMargin [line 2403]

    +

    method getBreakMargin [line 2410]

    @@ -10051,7 +10087,7 @@ $pagenum = ''])
    -

    method getBuffer [line 18708]

    +

    method getBuffer [line 18722]

    @@ -10082,7 +10118,7 @@ $pagenum = ''])
    -

    method getCellCode [line 4328]

    +

    method getCellCode [line 4338]

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

    method getCellHeightRatio [line 13481]

    +

    method getCellHeightRatio [line 13495]

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

    method GetCharWidth [line 3616]

    +

    method GetCharWidth [line 3623]

    @@ -10263,7 +10299,7 @@ $char)
    -

    method getEncPermissionsString [line 10119]

    +

    method getEncPermissionsString [line 10133]

    @@ -10305,7 +10341,7 @@ $protection)
    -

    method getFontAscent [line 3963]

    +

    method getFontAscent [line 3973]

    @@ -10359,7 +10395,7 @@ $size = 0])
    -

    method getFontBuffer [line 18868]

    +

    method getFontBuffer [line 18882]

    @@ -10401,7 +10437,7 @@ $font)
    -

    method getFontDescent [line 3942]

    +

    method getFontDescent [line 3952]

    @@ -10455,7 +10491,7 @@ $size = 0])
    -

    method getFontFamily [line 15045]

    +

    method getFontFamily [line 15059]

    @@ -10486,7 +10522,7 @@ $size = 0])
    -

    method getFontSize [line 15025]

    +

    method getFontSize [line 15039]

    @@ -10517,7 +10553,7 @@ $size = 0])
    -

    method getFontSizePt [line 15035]

    +

    method getFontSizePt [line 15049]

    @@ -10548,7 +10584,7 @@ $size = 0])
    -

    method getFontsList [line 3655]

    +

    method getFontsList [line 3662]

    @@ -10576,7 +10612,7 @@ $size = 0])
    -

    method getFontStyle [line 15055]

    +

    method getFontStyle [line 15069]

    @@ -10603,11 +10639,45 @@ $size = 0])

    +
    [ Top ]
    + +
    + +

    method getFontSubsetting [line 20029]

    +
    +
    +
    + boolean getFontSubsetting( +) +
    +

    + + Return the default option for font subsetting.



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    return:  default font subsetting state.
    author:  Nicola Asuni
    since:  5.3.002 (2010-06-07)
    access:  public
    +
    +

    + +
    [ Top ]

    -

    method getFooterFont [line 9417]

    +

    method getFooterFont [line 9431]

    @@ -10635,7 +10705,7 @@ $size = 0])
    -

    method getFooterMargin [line 3033]

    +

    method getFooterMargin [line 3040]

    @@ -10663,7 +10733,7 @@ $size = 0])
    -

    method getFormDefaultProp [line 12512]

    +

    method getFormDefaultProp [line 12526]

    @@ -10697,7 +10767,7 @@ $size = 0])
    -

    method getGDgamma [line 6207]

    +

    method getGDgamma [line 6217]

    @@ -10736,7 +10806,7 @@ $v)
    -

    method getGraphicVars [line 18560]

    +

    method getGraphicVars [line 18574]

    @@ -10767,7 +10837,7 @@ $v)
    -

    method getGroupPageNo [line 13250]

    +

    method getGroupPageNo [line 13264]

    @@ -10798,7 +10868,7 @@ $v)
    -

    method getGroupPageNoFormatted [line 13260]

    +

    method getGroupPageNoFormatted [line 13274]

    @@ -10829,7 +10899,7 @@ $v)
    -

    method getHeaderData [line 2988]

    +

    method getHeaderData [line 2995]

    @@ -10857,7 +10927,7 @@ $v)
    -

    method getHeaderFont [line 9397]

    +

    method getHeaderFont [line 9411]

    @@ -10885,7 +10955,7 @@ $v)
    -

    method getHeaderMargin [line 3013]

    +

    method getHeaderMargin [line 3020]

    @@ -10913,7 +10983,7 @@ $v)
    -

    method getHtmlDomArray [line 15343]

    +

    method getHtmlDomArray [line 15357]

    @@ -10952,7 +11022,7 @@ $html)
    -

    method getHTMLUnitToUnits [line 18275]

    +

    method getHTMLUnitToUnits [line 18289]

    @@ -11018,7 +11088,7 @@ $point)
    -

    method getHyphenPatternsFromTEX [line 19815]

    +

    method getHyphenPatternsFromTEX [line 19829]

    @@ -11063,7 +11133,7 @@ $file)
    -

    method getImageBuffer [line 18810]

    +

    method getImageBuffer [line 18824]

    @@ -11105,7 +11175,7 @@ $image)
    -

    method getImageFileType [line 5581]

    +

    method getImageFileType [line 5591]

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

    method getImageRBX [line 3059]

    +

    method getImageRBX [line 3066]

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

    method getImageRBY [line 3068]

    +

    method getImageRBY [line 3075]

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

    method getImageScale [line 2342]

    +

    method getImageScale [line 2349]

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

    method getLastH [line 2320]

    +

    method getLastH [line 2327]

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

    method GetLineWidth [line 10462]

    +

    method GetLineWidth [line 10476]

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

    method getMargins [line 14988]

    +

    method getMargins [line 15002]

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

    method GetNumChars [line 3643]

    +

    method GetNumChars [line 3650]

    @@ -11375,7 +11445,7 @@ $s)
    -

    method getNumLines [line 5005]

    +

    method getNumLines [line 5015]

    @@ -11450,7 +11520,7 @@ $lineWidth = ''])
    -

    method getNumPages [line 2815]

    +

    method getNumPages [line 2822]

    @@ -11484,7 +11554,7 @@ $lineWidth = ''])
    -

    method getObjFilename [line 18640]

    +

    method getObjFilename [line 18654]

    @@ -11529,7 +11599,7 @@ $prefix)
    -

    method getOriginalMargins [line 15011]

    +

    method getOriginalMargins [line 15025]

    @@ -11560,7 +11630,7 @@ $prefix)
    -

    method getPage [line 2803]

    +

    method getPage [line 2810]

    @@ -11594,7 +11664,7 @@ $prefix)
    -

    method getPageBuffer [line 18751]

    +

    method getPageBuffer [line 18765]

    @@ -11636,7 +11706,7 @@ $page)
    -

    method getPageDimensions [line 2355]

    +

    method getPageDimensions [line 2362]

    @@ -11681,7 +11751,7 @@ $pagenum = ''])
    -

    method getPageGroupAlias [line 13272]

    +

    method getPageGroupAlias [line 13286]

    @@ -11712,7 +11782,7 @@ $pagenum = ''])
    -

    method getPageHeight [line 2387]

    +

    method getPageHeight [line 2394]

    @@ -11760,7 +11830,7 @@ $pagenum = ''])
    -

    method getPageNumGroupAlias [line 13287]

    +

    method getPageNumGroupAlias [line 13301]

    @@ -11791,7 +11861,7 @@ $pagenum = ''])
    -

    method getPageSizeFromFormat [line 1905]

    +

    method getPageSizeFromFormat [line 1912]

    @@ -11833,7 +11903,7 @@ $format)
    -

    method getPageWidth [line 2371]

    +

    method getPageWidth [line 2378]

    @@ -11881,7 +11951,7 @@ $pagenum = ''])
    -

    method getPathPaintOperator [line 19927]

    +

    method getPathPaintOperator [line 19941]

    @@ -11935,7 +12005,7 @@ $mode)
    -

    method getPDFData [line 9440]

    +

    method getPDFData [line 9454]

    @@ -11960,7 +12030,7 @@ $mode)
    -

    method getRemainingWidth [line 5482]

    +

    method getRemainingWidth [line 5492]

    @@ -11988,7 +12058,7 @@ $mode)
    -

    method getRTL [line 2255]

    +

    method getRTL [line 2262]

    @@ -12016,7 +12086,7 @@ $mode)
    -

    method getScaleFactor [line 2417]

    +

    method getScaleFactor [line 2424]

    @@ -12050,7 +12120,7 @@ $mode)
    -

    method getSpaceString [line 15948]

    +

    method getSpaceString [line 15962]

    @@ -12081,7 +12151,7 @@ $mode)
    -

    method getStringHeight [line 5104]

    +

    method getStringHeight [line 5114]

    @@ -12184,7 +12254,7 @@ $lineWidth = ''])
    -

    method GetStringWidth [line 3564]

    +

    method GetStringWidth [line 3571]

    @@ -12253,7 +12323,7 @@ $getarray = false])
    -

    method getSVGTransformMatrix [line 20302]

    +

    method getSVGTransformMatrix [line 20338]

    @@ -12298,7 +12368,7 @@ $attribute)
    -

    method getTagStyleFromCSS [line 15314]

    +

    method getTagStyleFromCSS [line 15328]

    @@ -12352,7 +12422,7 @@ $css)
    -

    method getTransformationMatrixProduct [line 20406]

    +

    method getTransformationMatrixProduct [line 20442]

    @@ -12403,7 +12473,7 @@ $tb)
    -

    method getUserPermissionCode [line 9960]

    +

    method getUserPermissionCode [line 9974]

    @@ -12451,7 +12521,7 @@ $mode = 0])
    -

    method getVectorsAngle [line 21037]

    +

    method getVectorsAngle [line 21073]

    @@ -12511,7 +12581,7 @@ $y2)
    -

    method GetX [line 6251]

    +

    method GetX [line 6261]

    @@ -12542,7 +12612,7 @@ $y2)
    -

    method GetY [line 6278]

    +

    method GetY [line 6288]

    @@ -12573,7 +12643,7 @@ $y2)
    -

    method get_mqr [line 5923]

    +

    method get_mqr [line 5933]

    @@ -12604,7 +12674,7 @@ $y2)
    -

    method Gradient [line 13870]

    +

    method Gradient [line 13884]

    @@ -12670,7 +12740,7 @@ $antialias = false])
    -

    method Header [line 3077]

    +

    method Header [line 3084]

    @@ -12695,7 +12765,7 @@ $antialias = false])
    -

    method hyphenateText [line 19854]

    +

    method hyphenateText [line 19868]

    @@ -12776,7 +12846,7 @@ $charmax = 8])
    -

    method hyphenateWord [line 19745]

    +

    method hyphenateWord [line 19759]

    @@ -12857,7 +12927,7 @@ $charmax = 8])
    -

    method Image [line 5633]

    +

    method Image [line 5643]

    @@ -12995,7 +13065,7 @@ $fitonpage = false])
    -

    method ImageEps [line 14214]

    +

    method ImageEps [line 14228]

    @@ -13097,7 +13167,7 @@ $fitonpage = false])
    -

    method ImagePngAlpha [line 6161]

    +

    method ImagePngAlpha [line 6171]

    @@ -13202,7 +13272,7 @@ $palign = ''])
    -

    method ImageSVG [line 20018]

    +

    method ImageSVG [line 20054]

    @@ -13298,7 +13368,7 @@ $fitonpage = false])
    -

    method IncludeJS [line 12000]

    +

    method IncludeJS [line 12014]

    @@ -13340,7 +13410,7 @@ $script)
    -

    method intToRoman [line 18354]

    +

    method intToRoman [line 18368]

    @@ -13382,7 +13452,7 @@ $number)
    -

    method isRTLTextDir [line 2299]

    +

    method isRTLTextDir [line 2306]

    @@ -13410,7 +13480,7 @@ $number)
    -

    method isValidCSSSelectorForTag [line 15155]

    +

    method isValidCSSSelectorForTag [line 15169]

    @@ -13464,7 +13534,7 @@ $selector)
    -

    method lastPage [line 2792]

    +

    method lastPage [line 2799]

    @@ -13506,7 +13576,7 @@ $resetmargins = false])
    -

    method Line [line 10632]

    +

    method Line [line 10646]

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

    method LinearGradient [line 13720]

    +

    method LinearGradient [line 13734]

    @@ -13650,7 +13720,7 @@ $coords = array(0,0,1,0)])
    -

    method Link [line 4031]

    +

    method Link [line 4041]

    @@ -13722,7 +13792,7 @@ $spaces = 0])
    -

    method ListBox [line 12709]

    +

    method ListBox [line 12723]

    @@ -13812,7 +13882,7 @@ $js = false])
    -

    method Ln [line 6220]

    +

    method Ln [line 6230]

    @@ -13860,7 +13930,7 @@ $cell = false])
    -

    method MirrorH [line 10244]

    +

    method MirrorH [line 10258]

    @@ -13902,7 +13972,7 @@ $x = ''])
    -

    method MirrorL [line 10280]

    +

    method MirrorL [line 10294]

    @@ -13956,7 +14026,7 @@ $y = ''])
    -

    method MirrorP [line 10267]

    +

    method MirrorP [line 10281]

    @@ -14004,7 +14074,7 @@ $y = ''])
    -

    method MirrorV [line 10255]

    +

    method MirrorV [line 10269]

    @@ -14046,7 +14116,7 @@ $y = ''])
    -

    method movePage [line 18885]

    +

    method movePage [line 18899]

    @@ -14094,7 +14164,7 @@ $topage)
    -

    method MultiCell [line 4738]

    +

    method MultiCell [line 4748]

    @@ -14220,7 +14290,7 @@ $maxh = 0])
    -

    method objclone [line 19532]

    +

    method objclone [line 19546]

    @@ -14262,7 +14332,7 @@ $object)
    -

    method Open [line 2693]

    +

    method Open [line 2700]

    @@ -14293,7 +14363,7 @@ $object)
    -

    method openHTMLTagHandler [line 17154]

    +

    method openHTMLTagHandler [line 17168]

    @@ -14347,7 +14417,7 @@ $dom)
    -

    method Output [line 6370]

    +

    method Output [line 6380]

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

    method PageNo [line 3280]

    +

    method PageNo [line 3287]

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

    method PageNoFormatted [line 13323]

    +

    method PageNoFormatted [line 13337]

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

    method PieSector [line 14153]

    +

    method PieSector [line 14167]

    @@ -14556,7 +14626,7 @@ $o:)
    -

    method PieSectorXY [line 14174]

    +

    method PieSectorXY [line 14188]

    @@ -14664,7 +14734,7 @@ $o:)
    -

    method pixelsToUnits [line 9559]

    +

    method pixelsToUnits [line 9573]

    @@ -14706,7 +14776,7 @@ $px)
    -

    method Polycurve [line 10743]

    +

    method Polycurve [line 10757]

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

    method Polygon [line 10949]

    +

    method Polygon [line 10963]

    @@ -14841,7 +14911,7 @@ $closed = true])
    -

    method PolyLine [line 10930]

    +

    method PolyLine [line 10944]

    @@ -14904,7 +14974,7 @@ $closed)
    -

    method putHtmlListBullet [line 18419]

    +

    method putHtmlListBullet [line 18433]

    @@ -14955,7 +15025,7 @@ $size = 10])
    -

    method RadialGradient [line 13738]

    +

    method RadialGradient [line 13752]

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

    method RadioButton [line 12621]

    +

    method RadioButton [line 12635]

    @@ -15123,7 +15193,7 @@ $js = false])
    -

    method readDiskCache [line 18680]

    +

    method readDiskCache [line 18694]

    @@ -15171,7 +15241,7 @@ $file)
    -

    method Rect [line 10660]

    +

    method Rect [line 10674]

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

    method registrationMark [line 13689]

    +

    method registrationMark [line 13703]

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

    method RegularPolygon [line 11047]

    +

    method RegularPolygon [line 11061]

    @@ -15432,7 +15502,7 @@ $r:)
    -

    method removeSHY [line 4270]

    +

    method removeSHY [line 4280]

    @@ -15474,7 +15544,7 @@ $txt = ''])
    -

    method revstrpos [line 19556]

    +

    method revstrpos [line 19570]

    @@ -15528,7 +15598,7 @@ $offset = 0])
    -

    method rfread [line 6131]

    +

    method rfread [line 6141]

    @@ -15579,7 +15649,7 @@ $length)
    -

    method rollbackTransaction [line 19503]

    +

    method rollbackTransaction [line 19517]

    @@ -15621,7 +15691,7 @@ $self = false])
    -

    method Rotate [line 10336]

    +

    method Rotate [line 10350]

    @@ -15675,7 +15745,7 @@ $y = ''])
    -

    method RoundedRect [line 11137]

    +

    method RoundedRect [line 11151]

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

    method RoundedRectXY [line 11156]

    +

    method RoundedRectXY [line 11170]

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

    method Scale [line 10212]

    +

    method Scale [line 10226]

    @@ -15915,7 +15985,7 @@ $y = ''])
    -

    method ScaleX [line 10172]

    +

    method ScaleX [line 10186]

    @@ -15969,7 +16039,7 @@ $y = ''])
    -

    method ScaleXY [line 10198]

    +

    method ScaleXY [line 10212]

    @@ -16023,7 +16093,7 @@ $y = ''])
    -

    method ScaleY [line 10185]

    +

    method ScaleY [line 10199]

    @@ -16077,7 +16147,7 @@ $y = ''])
    -

    method segSVGContentHandler [line 21489]

    +

    method segSVGContentHandler [line 21525]

    @@ -16125,7 +16195,7 @@ $data)
    -

    method selectColumn [line 19619]

    +

    method selectColumn [line 19633]

    @@ -16164,7 +16234,7 @@ $col = ''])
    -

    method serializeTCPDFtagParameters [line 19670]

    +

    method serializeTCPDFtagParameters [line 19684]

    @@ -16206,7 +16276,7 @@ $pararray)
    -

    method setAlpha [line 13438]

    +

    method setAlpha [line 13452]

    @@ -16251,7 +16321,7 @@ $bm = 'Normal'])
    -

    method SetAuthor [line 2642]

    +

    method SetAuthor [line 2649]

    @@ -16293,7 +16363,7 @@ $author)
    -

    method SetAutoPageBreak [line 2509]

    +

    method SetAutoPageBreak [line 2516]

    @@ -16341,7 +16411,7 @@ $margin = 0])
    -

    method setBarcode [line 14490]

    +

    method setBarcode [line 14504]

    @@ -16377,7 +16447,7 @@ $bc = ''])
    -

    method SetBooklet [line 18189]

    +

    method SetBooklet [line 18203]

    @@ -16428,7 +16498,7 @@ $outer = -1])
    -

    method setBuffer [line 18690]

    +

    method setBuffer [line 18704]

    @@ -16467,7 +16537,7 @@ $data)
    -

    method setCellHeightRatio [line 13472]

    +

    method setCellHeightRatio [line 13486]

    @@ -16506,7 +16576,7 @@ $h)
    -

    method SetCellPadding [line 2497]

    +

    method SetCellPadding [line 2504]

    @@ -16548,7 +16618,7 @@ $pad)
    -

    method setColumnsArray [line 19606]

    +

    method setColumnsArray [line 19620]

    @@ -16587,7 +16657,7 @@ $columns)
    -

    method SetCompression [line 2602]

    +

    method SetCompression [line 2609]

    @@ -16626,7 +16696,7 @@ $compress)
    -

    method setContentMark [line 2955]

    +

    method setContentMark [line 2962]

    @@ -16665,7 +16735,7 @@ $page = 0])
    -

    method SetCreator [line 2666]

    +

    method SetCreator [line 2673]

    @@ -16707,7 +16777,7 @@ $creator)
    -

    method SetDefaultMonospacedFont [line 3981]

    +

    method SetDefaultMonospacedFont [line 3991]

    @@ -16746,7 +16816,7 @@ $font)
    -

    method setDefaultTableColumns [line 13462]

    +

    method setDefaultTableColumns [line 13476]

    @@ -16785,7 +16855,7 @@ $cols = 4])
    -

    method SetDisplayMode [line 2524]

    +

    method SetDisplayMode [line 2531]

    @@ -16836,7 +16906,7 @@ $mode = 'UseNone'])
    -

    method SetDrawColor [line 3335]

    +

    method SetDrawColor [line 3342]

    @@ -16896,7 +16966,7 @@ $col4 = -1])
    -

    method SetDrawColorArray [line 3312]

    +

    method SetDrawColorArray [line 3319]

    @@ -16938,7 +17008,7 @@ $color)
    -

    method SetDrawSpotColor [line 3376]

    +

    method SetDrawSpotColor [line 3383]

    @@ -16986,7 +17056,7 @@ $tint = 100])
    -

    method setEqualColumns [line 19573]

    +

    method setEqualColumns [line 19587]

    @@ -17037,7 +17107,7 @@ $y = ''])
    -

    method setExtGState [line 13404]

    +

    method setExtGState [line 13418]

    @@ -17076,7 +17146,7 @@ $gs)
    -

    method SetFillColor [line 3418]

    +

    method SetFillColor [line 3425]

    @@ -17136,7 +17206,7 @@ $col4 = -1])
    -

    method SetFillColorArray [line 3395]

    +

    method SetFillColorArray [line 3402]

    @@ -17178,7 +17248,7 @@ $color)
    -

    method SetFillSpotColor [line 3460]

    +

    method SetFillSpotColor [line 3467]

    - + - +
    @@ -17226,7 +17296,7 @@ $tint = 100])
    -

    method SetFont [line 3894]

    +

    method SetFont [line 3904]

    @@ -17235,8 +17305,8 @@ string $family, [string $style = ''], [float $size = 0], [string -$fontfile = ''], [boolean -$subset = true]) +$fontfile = ''], [mixed +$subset = 'default'])

    @@ -17285,9 +17355,9 @@ $subset = true])
    The font definition file. By default, the name is built from the family and style, in lower case with no spaces.
    boolean  mixed   $subset  if true embedd only a subset of the font (stores only the information related to the used characters); this option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font.if true embedd only a subset of the font (stores only the information related to the used characters); if false embedd full font; if 'default' uses the default value set using setFontSubsetting(). This option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font.

    @@ -17295,7 +17365,7 @@ $subset = true])
    -

    method setFontBuffer [line 18826]

    +

    method setFontBuffer [line 18840]

    @@ -17340,7 +17410,7 @@ $data)
    -

    method SetFontSize [line 3914]

    +

    method SetFontSize [line 3924]

    @@ -17382,7 +17452,7 @@ $size)
    -

    method setFontSubBuffer [line 18848]

    +

    method setFontSubBuffer [line 18862]

    @@ -17431,9 +17501,51 @@ $data)
    [ Top ]
    +
    + +

    method setFontSubsetting [line 20018]

    +
    +
    +
    + void setFontSubsetting( +[boolean +$enable = true]) +
    +

    + + Enable or disable default option for font subsetting.



    +

    Tags:

    +
    + + + + + + + + + + +
    author:  Nicola Asuni
    since:  5.3.002 (2010-06-07)
    access:  public
    +
    +

    + + +

    Parameters:

    +
    + + + + + + +
    boolean  $enable  if true enable font subsetting by default.
    +

    +
    [ Top ]
    +

    -

    method setFooter [line 3190]

    +

    method setFooter [line 3197]

    @@ -17461,7 +17573,7 @@ $data)
    -

    method setFooterFont [line 9407]

    +

    method setFooterFont [line 9421]

    @@ -17500,7 +17612,7 @@ $font)
    -

    method setFooterMargin [line 3023]

    +

    method setFooterMargin [line 3030]

    @@ -17536,7 +17648,7 @@ $fm = 10])
    -

    method setFormDefaultProp [line 12501]

    +

    method setFormDefaultProp [line 12515]

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

    method setGraphicVars [line 18599]

    +

    method setGraphicVars [line 18613]

    @@ -17617,7 +17729,7 @@ $gvars)
    -

    method setHeader [line 3154]

    +

    method setHeader [line 3161]

    @@ -17645,7 +17757,7 @@ $gvars)
    -

    method setHeaderData [line 2974]

    +

    method setHeaderData [line 2981]

    @@ -17699,7 +17811,7 @@ $hs = ''])
    -

    method setHeaderFont [line 9387]

    +

    method setHeaderFont [line 9401]

    @@ -17738,7 +17850,7 @@ $font)
    -

    method setHeaderMargin [line 3003]

    +

    method setHeaderMargin [line 3010]

    @@ -17774,7 +17886,7 @@ $hm = 10])
    -

    method setHtmlLinksStyle [line 18260]

    +

    method setHtmlLinksStyle [line 18274]

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

    method setHtmlVSpace [line 18229]

    +

    method setHtmlVSpace [line 18243]

    @@ -17858,7 +17970,7 @@ $tagvs)
    -

    method setImageBuffer [line 18767]

    +

    method setImageBuffer [line 18781]

    @@ -17903,7 +18015,7 @@ $data)
    -

    method setImageScale [line 2331]

    +

    method setImageScale [line 2338]

    @@ -17945,7 +18057,7 @@ $scale)
    -

    method setImageSubBuffer [line 18790]

    +

    method setImageSubBuffer [line 18804]

    @@ -17996,7 +18108,7 @@ $data)
    -

    method setJPEGQuality [line 13449]

    +

    method setJPEGQuality [line 13463]

    @@ -18035,7 +18147,7 @@ $quality)
    -

    method SetKeywords [line 2654]

    +

    method SetKeywords [line 2661]

    @@ -18077,7 +18189,7 @@ $keywords)
    -

    method setLanguageArray [line 9427]

    +

    method setLanguageArray [line 9441]

    @@ -18116,7 +18228,7 @@ $language)
    -

    method setLastH [line 2310]

    +

    method setLastH [line 2317]

    @@ -18158,7 +18270,7 @@ $h)
    -

    method SetLeftMargin [line 2453]

    +

    method SetLeftMargin [line 2460]

    @@ -18200,7 +18312,7 @@ $margin)
    -

    method SetLineStyle [line 10487]

    +

    method SetLineStyle [line 10501]

    @@ -18246,7 +18358,7 @@ $style)
    -

    method SetLineWidth [line 10446]

    +

    method SetLineWidth [line 10460]

    @@ -18288,7 +18400,7 @@ $width)
    -

    method SetLink [line 4008]

    +

    method SetLink [line 4018]

    @@ -18342,7 +18454,7 @@ $page = -1])
    -

    method setListIndentWidth [line 18239]

    +

    method setListIndentWidth [line 18253]

    @@ -18381,7 +18493,7 @@ $width)
    -

    method setLIsymbol [line 18150]

    +

    method setLIsymbol [line 18164]

    @@ -18420,7 +18532,7 @@ $symbol = '!'])
    -

    method SetMargins [line 2431]

    +

    method SetMargins [line 2438]

    @@ -18480,7 +18592,7 @@ $keepmargins = false])
    -

    method setOpenCell [line 18249]

    +

    method setOpenCell [line 18263]

    @@ -18519,7 +18631,7 @@ $isopen)
    -

    method setPage [line 2745]

    +

    method setPage [line 2752]

    @@ -18567,7 +18679,7 @@ $resetmargins = false])
    -

    method setPageBoxes [line 2086]

    +

    method setPageBoxes [line 2093]

    @@ -18636,7 +18748,7 @@ $ury)
    -

    method setPageBuffer [line 18724]

    +

    method setPageBuffer [line 18738]

    @@ -18687,7 +18799,7 @@ $append = false])
    -

    method setPageFormat [line 1969]

    +

    method setPageFormat [line 1976]

    @@ -18732,7 +18844,7 @@ $orientation = 'P'])
    -

    method setPageMark [line 2943]

    +

    method setPageMark [line 2950]

    @@ -18760,7 +18872,7 @@ $orientation = 'P'])
    -

    method setPageOrientation [line 2130]

    +

    method setPageOrientation [line 2137]

    @@ -18811,7 +18923,7 @@ $bottommargin = ''])
    -

    method setPageUnit [line 1861]

    +

    method setPageUnit [line 1868]

    @@ -18850,7 +18962,7 @@ $unit)
    -

    method setPDFVersion [line 13491]

    +

    method setPDFVersion [line 13505]

    @@ -18889,7 +19001,7 @@ $version = '1.7'])
    -

    method setPrintFooter [line 3050]

    +

    method setPrintFooter [line 3057]

    @@ -18931,7 +19043,7 @@ $value)
    -

    method setPrintHeader [line 3041]

    +

    method setPrintHeader [line 3048]

    @@ -18967,7 +19079,7 @@ $val = true])
    -

    method SetProtection [line 10004]

    +

    method SetProtection [line 10018]

    @@ -19033,7 +19145,7 @@ $pubkeys = null])
    -

    method setRasterizeVectorImages [line 19901]

    +

    method setRasterizeVectorImages [line 19915]

    @@ -19072,7 +19184,7 @@ $mode)
    -

    method SetRightMargin [line 2483]

    +

    method SetRightMargin [line 2490]

    @@ -19114,7 +19226,7 @@ $margin)
    -

    method setRTL [line 2239]

    +

    method setRTL [line 2246]

    @@ -19159,7 +19271,7 @@ $resetx = true])
    -

    method setSignature [line 13153]

    +

    method setSignature [line 13167]

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

    method setSpacesRE [line 2224]

    +

    method setSpacesRE [line 2231]

    @@ -19270,7 +19382,7 @@ $re = '/[\s]/'])
    -

    method SetSubject [line 2630]

    +

    method SetSubject [line 2637]

    @@ -19312,7 +19424,7 @@ $subject)
    -

    method setSVGStyles [line 20463]

    +

    method setSVGStyles [line 20499]

    @@ -19396,7 +19508,7 @@ $clip_params = array()])
    -

    method setTableHeader [line 3236]

    +

    method setTableHeader [line 3243]

    @@ -19424,7 +19536,7 @@ $clip_params = array()])
    -

    method setTempRTL [line 2265]

    +

    method setTempRTL [line 2272]

    @@ -19463,7 +19575,7 @@ $mode)
    -

    method SetTextColor [line 3502]

    +

    method SetTextColor [line 3509]

    @@ -19523,7 +19635,7 @@ $col4 = -1])
    -

    method SetTextColorArray [line 3479]

    +

    method SetTextColorArray [line 3486]

    @@ -19565,7 +19677,7 @@ $color)
    -

    method setTextRenderingMode [line 19682]

    +

    method setTextRenderingMode [line 19696]

    @@ -19616,7 +19728,7 @@ $clip = false])
    -

    method SetTextSpotColor [line 3541]

    +

    method SetTextSpotColor [line 3548]

    @@ -19664,7 +19776,7 @@ $tint = 100])
    -

    method SetTitle [line 2618]

    +

    method SetTitle [line 2625]

    @@ -19706,7 +19818,7 @@ $title)
    -

    method SetTopMargin [line 2468]

    +

    method SetTopMargin [line 2475]

    @@ -19748,7 +19860,7 @@ $margin)
    -

    method setUserRights [line 13120]

    +

    method setUserRights [line 13134]

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

    method setViewerPreferences [line 13504]

    +

    method setViewerPreferences [line 13518]

    @@ -19856,7 +19968,7 @@ $preferences)
    -

    method setVisibility [line 13349]

    +

    method setVisibility [line 13363]

    @@ -19895,7 +20007,7 @@ $v)
    -

    method SetX [line 6291]

    +

    method SetX [line 6301]

    @@ -19943,7 +20055,7 @@ $rtloff = false])
    -

    method SetXY [line 6355]

    +

    method SetXY [line 6365]

    @@ -19997,7 +20109,7 @@ $rtloff = false])
    -

    method SetY [line 6323]

    +

    method SetY [line 6333]

    @@ -20051,7 +20163,7 @@ $rtloff = false])
    -

    method set_mqr [line 5908]

    +

    method set_mqr [line 5918]

    @@ -20090,7 +20202,7 @@ $mqr)
    -

    method Skew [line 10392]

    +

    method Skew [line 10406]

    @@ -20150,7 +20262,7 @@ $y = ''])
    -

    method SkewX [line 10365]

    +

    method SkewX [line 10379]

    @@ -20204,7 +20316,7 @@ $y = ''])
    -

    method SkewY [line 10378]

    +

    method SkewY [line 10392]

    @@ -20258,7 +20370,7 @@ $y = ''])
    -

    method StarPolygon [line 11095]

    +

    method StarPolygon [line 11109]

    @@ -20382,7 +20494,7 @@ $draw_circle:)
    -

    method startPage [line 2899]

    +

    method startPage [line 2906]

    @@ -20436,7 +20548,7 @@ $tocpage = false])
    -

    method startPageGroup [line 13182]

    +

    method startPageGroup [line 13196]

    @@ -20475,7 +20587,7 @@ $page = ''])
    -

    method startSVGElementHandler [line 21060]

    +

    method startSVGElementHandler [line 21096]

    @@ -20529,7 +20641,7 @@ $attribs)
    -

    method startTransaction [line 19472]

    +

    method startTransaction [line 19486]

    @@ -20557,7 +20669,7 @@ $attribs)
    -

    method StartTransform [line 10140]

    +

    method StartTransform [line 10154]

    @@ -20588,7 +20700,7 @@ $attribs)
    -

    method StopTransform [line 10155]

    +

    method StopTransform [line 10169]

    @@ -20619,7 +20731,7 @@ $attribs)
    -

    method SVGPath [line 20719]

    +

    method SVGPath [line 20755]

    @@ -20670,7 +20782,7 @@ $style = ''])
    -

    method SVGTransform [line 20444]

    +

    method SVGTransform [line 20480]

    @@ -20709,7 +20821,7 @@ $tm)
    -

    method swapMargins [line 18205]

    +

    method swapMargins [line 18219]

    @@ -20748,7 +20860,7 @@ $reverse = true])
    -

    method swapPageBoxCoordinates [line 2107]

    +

    method swapPageBoxCoordinates [line 2114]

    @@ -20787,7 +20899,7 @@ $page)
    -

    method Text [line 4170]

    +

    method Text [line 4180]

    @@ -20919,7 +21031,7 @@ $rtloff = false])
    -

    method TextField [line 12530]

    +

    method TextField [line 12544]

    @@ -21003,7 +21115,7 @@ $js = false])
    -

    method Transform [line 10422]

    +

    method Transform [line 10436]

    @@ -21045,7 +21157,7 @@ $tm)
    -

    method Translate [line 10315]

    +

    method Translate [line 10329]

    @@ -21093,7 +21205,7 @@ $t_y)
    -

    method TranslateX [line 10292]

    +

    method TranslateX [line 10306]

    @@ -21135,7 +21247,7 @@ $t_x)
    -

    method TranslateY [line 10303]

    +

    method TranslateY [line 10317]

    @@ -21177,7 +21289,7 @@ $t_y)
    -

    method unhtmlentities [line 9570]

    +

    method unhtmlentities [line 9584]

    @@ -21216,7 +21328,7 @@ $text_to_convert)
    -

    method UniArrSubString [line 5521]

    +

    method UniArrSubString [line 5531]

    @@ -21270,7 +21382,7 @@ $end = ''])
    -

    method unichr [line 5554]

    +

    method unichr [line 5564]

    @@ -21315,7 +21427,7 @@ $c)
    -

    method UTF8ArrayToUniArray [line 5542]

    +

    method UTF8ArrayToUniArray [line 5552]

    @@ -21357,7 +21469,7 @@ $ta)
    -

    method UTF8ArrSubString [line 5498]

    +

    method UTF8ArrSubString [line 5508]

    @@ -21408,7 +21520,7 @@ $end = ''])
    -

    method UTF8ArrToLatin1 [line 9297]

    +

    method UTF8ArrToLatin1 [line 9309]

    @@ -21450,7 +21562,7 @@ $unicode)
    -

    method utf8Bidi [line 11317]

    +

    method utf8Bidi [line 11331]

    @@ -21507,7 +21619,7 @@ $forcertl = false])
    -

    method utf8StrArrRev [line 11303]

    +

    method utf8StrArrRev [line 11317]

    @@ -21567,7 +21679,7 @@ $forcertl = false])
    -

    method UTF8StringToArray [line 9150]

    +

    method UTF8StringToArray [line 9162]

    @@ -21633,7 +21745,7 @@ $str)
    -

    method utf8StrRev [line 11288]

    +

    method utf8StrRev [line 11302]

    @@ -21687,7 +21799,7 @@ $forcertl = false])
    -

    method UTF8ToLatin1 [line 9267]

    +

    method UTF8ToLatin1 [line 9279]

    @@ -21729,7 +21841,7 @@ $str)
    -

    method UTF8ToUTF16BE [line 9251]

    +

    method UTF8ToUTF16BE [line 9263]

    @@ -21780,7 +21892,7 @@ $setbom = true])
    -

    method Write [line 5144]

    +

    method Write [line 5154]

    @@ -21876,7 +21988,7 @@ $maxh = 0])
    -

    method write1DBarcode [line 14519]

    +

    method write1DBarcode [line 14533]

    @@ -21966,7 +22078,7 @@ $align = ''])
    -

    method write2DBarcode [line 14763]

    +

    method write2DBarcode [line 14777]

    @@ -22056,7 +22168,7 @@ $distort = false])
    -

    method writeBarcode [line 14712]

    +

    method writeBarcode [line 14726]

    @@ -22146,7 +22258,7 @@ $code)
    -

    method writeDiskCache [line 18652]

    +

    method writeDiskCache [line 18666]

    @@ -22203,7 +22315,7 @@ $file)
    -

    method writeHTML [line 15992]

    +

    method writeHTML [line 16006]

    @@ -22269,7 +22381,7 @@ $align = ''])
    -

    method writeHTMLCell [line 15976]

    +

    method writeHTMLCell [line 15990]

    @@ -22371,7 +22483,7 @@ $autopadding = true])
    -

    method _addfield [line 12102]

    +

    method _addfield [line 12116]

    @@ -22449,7 +22561,7 @@ $prop)
    -

    method _AES [line 9792]

    +

    method _AES [line 9806]

    @@ -22500,7 +22612,7 @@ $text)
    -

    method _beginpage [line 8829]

    +

    method _beginpage [line 8841]

    @@ -22542,7 +22654,7 @@ $format = ''])
    -

    method _dataannobjstring [line 9006]

    +

    method _dataannobjstring [line 9018]

    @@ -22581,7 +22693,7 @@ $s)
    -

    method _datastring [line 8995]

    +

    method _datastring [line 9007]

    @@ -22620,7 +22732,7 @@ $s)
    -

    method _datestring [line 9017]

    +

    method _datestring [line 9029]

    @@ -22651,7 +22763,7 @@ $s)
    -

    method _destroy [line 6564]

    +

    method _destroy [line 6574]

    @@ -22696,7 +22808,7 @@ $preserve_objcopy = false])
    -

    method _dochecks [line 6592]

    +

    method _dochecks [line 6602]

    @@ -22721,7 +22833,7 @@ $preserve_objcopy = false])
    -

    method _dolinethrough [line 8922]

    +

    method _dolinethrough [line 8934]

    @@ -22769,7 +22881,7 @@ $txt)
    -

    method _dolinethroughw [line 8935]

    +

    method _dolinethroughw [line 8947]

    @@ -22826,7 +22938,7 @@ $txt)
    -

    method _dooverline [line 8948]

    +

    method _dooverline [line 8960]

    @@ -22877,7 +22989,7 @@ $txt)
    -

    method _dooverlinew [line 8961]

    +

    method _dooverlinew [line 8973]

    @@ -22928,7 +23040,7 @@ $w)
    -

    method _dounderline [line 8897]

    +

    method _dounderline [line 8909]

    @@ -22976,7 +23088,7 @@ $txt)
    -

    method _dounderlinew [line 8910]

    +

    method _dounderlinew [line 8922]

    @@ -23027,7 +23139,7 @@ $w)
    -

    method _encrypt_data [line 9603]

    +

    method _encrypt_data [line 9617]

    @@ -23075,7 +23187,7 @@ $s)
    -

    method _enddoc [line 8728]

    +

    method _enddoc [line 8740]

    @@ -23100,7 +23212,7 @@ $s)
    -

    method _endpage [line 8873]

    +

    method _endpage [line 8885]

    @@ -23125,7 +23237,7 @@ $s)
    -

    method _escape [line 8984]

    +

    method _escape [line 8996]

    @@ -23164,7 +23276,7 @@ $s)
    -

    method _escapetext [line 9056]

    +

    method _escapetext [line 9068]

    @@ -23203,7 +23315,7 @@ $s)
    -

    method _freadint [line 8973]

    +

    method _freadint [line 8985]

    @@ -23242,7 +23354,7 @@ $f)
    -

    method _generateencryptionkey [line 9879]

    +

    method _generateencryptionkey [line 9893]

    @@ -23296,7 +23408,7 @@ $protection)
    -

    method _getannotsrefs [line 6837]

    +

    method _getannotsrefs [line 6847]

    @@ -23338,7 +23450,7 @@ $n)
    -

    method _getBYTE [line 7560]

    +

    method _getBYTE [line 7570]

    @@ -23401,7 +23513,7 @@ $offset)
    -

    method _getfontpath [line 6608]

    +

    method _getfontpath [line 6618]

    @@ -23426,7 +23538,7 @@ $offset)
    -

    method _getSHORT [line 7545]

    +

    method _getSHORT [line 7555]

    @@ -23489,7 +23601,7 @@ $offset)
    -

    method _getstream [line 9074]

    +

    method _getstream [line 9086]

    @@ -23531,7 +23643,7 @@ $n = 0])
    -

    method _getTrueTypeFontSubset [line 7575]

    +

    method _getTrueTypeFontSubset [line 7585]

    @@ -23582,7 +23694,7 @@ $subsetchars)
    -

    method _getTTFtableChecksum [line 7904]

    +

    method _getTTFtableChecksum [line 7916]

    @@ -23633,7 +23745,7 @@ $length)
    -

    method _getULONG [line 7515]

    +

    method _getULONG [line 7525]

    @@ -23696,7 +23808,7 @@ $offset)
    -

    method _getUSHORT [line 7530]

    +

    method _getUSHORT [line 7540]

    @@ -23759,7 +23871,7 @@ $offset)
    -

    method _JScolor [line 12078]

    +

    method _JScolor [line 12092]

    @@ -23801,7 +23913,7 @@ $color)
    -

    method _md5_16 [line 9810]

    +

    method _md5_16 [line 9824]

    @@ -23846,7 +23958,7 @@ $str)
    -

    method _newobj [line 8883]

    +

    method _newobj [line 8895]

    @@ -23874,7 +23986,7 @@ $str)
    -

    method _objectkey [line 9584]

    +

    method _objectkey [line 9598]

    @@ -23916,7 +24028,7 @@ $n)
    -

    method _out [line 9098]

    +

    method _out [line 9110]

    @@ -23952,7 +24064,7 @@ $s)
    -

    method _outCurve [line 10587]

    +

    method _outCurve [line 10601]

    @@ -24021,7 +24133,7 @@ $y3)
    -

    method _outCurveV [line 10601]

    +

    method _outCurveV [line 10615]

    @@ -24078,7 +24190,7 @@ $y3)
    -

    method _outCurveY [line 10617]

    +

    method _outCurveY [line 10631]

    @@ -24147,7 +24259,7 @@ $y2)
    -

    method _outellipticalarc [line 10814]

    +

    method _outellipticalarc [line 10828]

    @@ -24255,7 +24367,7 @@ $angf:)
    -

    method _outLine [line 10557]

    +

    method _outLine [line 10571]

    @@ -24300,7 +24412,7 @@ $y)
    -

    method _outPoint [line 10545]

    +

    method _outPoint [line 10559]

    @@ -24345,7 +24457,7 @@ $y)
    -

    method _outRect [line 10571]

    +

    method _outRect [line 10585]

    @@ -24408,7 +24520,7 @@ $op)
    -

    method _Ovalue [line 9823]

    +

    method _Ovalue [line 9837]

    @@ -24459,7 +24571,7 @@ $owner_pass)
    -

    method _parsejpeg [line 6000]

    +

    method _parsejpeg [line 6010]

    @@ -24498,7 +24610,7 @@ $file)
    -

    method _parsepng [line 6026]

    +

    method _parsepng [line 6036]

    @@ -24537,7 +24649,7 @@ $file)
    -

    method _putannotsobjs [line 6869]

    +

    method _putannotsobjs [line 6879]

    @@ -24568,7 +24680,7 @@ $file)
    -

    method _putannotsrefs [line 6825]

    +

    method _putannotsrefs [line 6835]

    @@ -24613,7 +24725,7 @@ $n)
    -

    method _putAPXObject [line 7481]

    +

    method _putAPXObject [line 7491]

    @@ -24667,7 +24779,7 @@ $stream = ''])
    -

    method _putbookmarks [line 11919]

    +

    method _putbookmarks [line 11933]

    @@ -24698,7 +24810,7 @@ $stream = ''])
    -

    method _putcatalog [line 8546]

    +

    method _putcatalog [line 8558]

    @@ -24723,7 +24835,7 @@ $stream = ''])
    -

    method _putcidfont0 [line 8280]

    +

    method _putcidfont0 [line 8292]

    @@ -24768,7 +24880,7 @@ $font)
    -

    method _putEmbeddedFiles [line 4128]

    +

    method _putEmbeddedFiles [line 4138]

    @@ -24799,7 +24911,7 @@ $font)
    -

    method _putencryption [line 9627]

    +

    method _putencryption [line 9641]

    @@ -24830,7 +24942,7 @@ $font)
    -

    method _putextgstates [line 13414]

    +

    method _putextgstates [line 13428]

    @@ -24869,7 +24981,7 @@ $gs)
    -

    method _putfonts [line 8025]

    +

    method _putfonts [line 8037]

    @@ -24897,7 +25009,7 @@ $gs)
    -

    method _putfontwidths [line 7926]

    +

    method _putfontwidths [line 7938]

    @@ -24948,7 +25060,7 @@ $cidoffset = 0])
    -

    method _putheader [line 8720]

    +

    method _putheader [line 8732]

    @@ -24973,7 +25085,7 @@ $cidoffset = 0])
    -

    method _putimages [line 8347]

    +

    method _putimages [line 8359]

    @@ -24998,7 +25110,7 @@ $cidoffset = 0])
    -

    method _putinfo [line 8502]

    +

    method _putinfo [line 8514]

    @@ -25023,7 +25135,7 @@ $cidoffset = 0])
    -

    method _putjavascript [line 12025]

    +

    method _putjavascript [line 12039]

    @@ -25054,7 +25166,7 @@ $cidoffset = 0])
    -

    method _putocg [line 13332]

    +

    method _putocg [line 13346]

    @@ -25082,7 +25194,7 @@ $cidoffset = 0])
    -

    method _putpages [line 6619]

    +

    method _putpages [line 6629]

    @@ -25107,7 +25219,7 @@ $cidoffset = 0])
    -

    method _putresourcedict [line 8419]

    +

    method _putresourcedict [line 8431]

    @@ -25132,7 +25244,7 @@ $cidoffset = 0])
    -

    method _putresources [line 8479]

    +

    method _putresources [line 8491]

    @@ -25157,7 +25269,7 @@ $cidoffset = 0])
    -

    method _putshaders [line 13968]

    +

    method _putshaders [line 13982]

    @@ -25188,7 +25300,7 @@ $cidoffset = 0])
    -

    method _putsignature [line 13050]

    +

    method _putsignature [line 13064]

    @@ -25219,7 +25331,7 @@ $cidoffset = 0])
    -

    method _putspotcolors [line 8401]

    +

    method _putspotcolors [line 8413]

    @@ -25247,7 +25359,7 @@ $cidoffset = 0])
    -

    method _putstream [line 9089]

    +

    method _putstream [line 9101]

    @@ -25289,7 +25401,7 @@ $n = 0])
    -

    method _puttrailer [line 8703]

    +

    method _puttrailer [line 8715]

    @@ -25314,7 +25426,7 @@ $n = 0])
    -

    method _puttruetypeunicode [line 8178]

    +

    method _puttruetypeunicode [line 8190]

    diff --git a/examples/example_001.php b/examples/example_001.php index 2a7a223..aa52285 100755 --- a/examples/example_001.php +++ b/examples/example_001.php @@ -2,7 +2,7 @@ //============================================================+ // File name : example_001.php // Begin : 2008-03-04 -// Last Update : 2010-05-20 +// Last Update : 2010-06-07 // // Description : Example 001 for TCPDF class // Default Header and Footer @@ -69,11 +69,14 @@ $pdf->setLanguageArray($l); // --------------------------------------------------------- +// set default font subsetting mode +$pdf->setFontSubsetting(true); + // Set font // dejavusans is a UTF-8 Unicode font, if you only need to // print standard ASCII chars, you can use core fonts like // helvetica or times to reduce file size. -$pdf->SetFont('dejavusans', '', 14, true); +$pdf->SetFont('dejavusans', '', 14, '', true); // Add a page // This method has several options, check the source code documentation for more information. diff --git a/examples/example_014.php b/examples/example_014.php index f3641f2..d66aed0 100755 --- a/examples/example_014.php +++ b/examples/example_014.php @@ -2,7 +2,7 @@ //============================================================+ // File name : example_014.php // Begin : 2008-03-04 -// Last Update : 2010-06-02 +// Last Update : 2010-06-07 // // Description : Example 014 for TCPDF class // Javascript Form and user rights (only works on Adobe Acrobat) @@ -69,9 +69,11 @@ $pdf->setLanguageArray($l); // --------------------------------------------------------- -// set font // IMPORTANT: disable font subsetting to allow users editing the document -$pdf->SetFont('helvetica', '', 10, false); +$pdf->setFontSubsetting(false); + +// set font +$pdf->SetFont('helvetica', '', 10, '', false); // add a page $pdf->AddPage(); diff --git a/examples/example_054.php b/examples/example_054.php index 1943df5..f4c12de 100644 --- a/examples/example_054.php +++ b/examples/example_054.php @@ -2,7 +2,7 @@ //============================================================+ // File name : example_054.php // Begin : 2009-09-07 -// Last Update : 2010-06-02 +// Last Update : 2010-06-07 // // Description : Example 054 for TCPDF class // XHTML Forms @@ -69,9 +69,11 @@ $pdf->setLanguageArray($l); // --------------------------------------------------------- -// set font // IMPORTANT: disable font subsetting to allow users editing the document -$pdf->SetFont('helvetica', '', 10, false); +$pdf->setFontSubsetting(false); + +// set font +$pdf->SetFont('helvetica', '', 10, '', false); // add a page $pdf->AddPage(); diff --git a/tcpdf.php b/tcpdf.php index c11b641..3249ef6 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.3.001 + * @version 5.3.002 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -1549,6 +1549,13 @@ if (!class_exists('TCPDF', false)) { */ protected $rasterize_vector_images = false; + /** + * @var If true enables font subsetting by default + * @access protected + * @since 5.3.002 (2010-06-07) + */ + protected $font_subsetting = true; + /** * @var directory used for the last SVG image * @access protected @@ -3670,12 +3677,15 @@ if (!class_exists('TCPDF', false)) { * @param string $style Font style. Possible values are (case insensitive):
    • empty string: regular (default)
    • B: bold
    • I: italic
    • BI or IB: bold italic
    * @param string $fontfile The font definition file. By default, the name is built from the family and style, in lower case with no spaces. * @return array containing the font data, or false in case of error. - * @param boolean $subset if true embedd only a subset of the font (stores only the information related to the used characters); this option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font. + * @param mixed $subset if true embedd only a subset of the font (stores only the information related to the used characters); if false embedd full font; if 'default' uses the default value set using setFontSubsetting(). This option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font. * @access public * @since 1.5 - * @see SetFont() + * @see SetFont(), setFontSubsetting(), setFontSubsetting() */ - public function AddFont($family, $style='', $fontfile='', $subset=true) { + public function AddFont($family, $style='', $fontfile='', $subset='default') { + if ($subset === 'default') { + $subset = $this->font_subsetting; + } if ($this->empty_string($family)) { if (!$this->empty_string($this->FontFamily)) { $family = $this->FontFamily; @@ -3885,13 +3895,13 @@ if (!class_exists('TCPDF', false)) { * @param string $style Font style. Possible values are (case insensitive):
    • empty string: regular
    • B: bold
    • I: italic
    • U: underline
    • D: line trough
    • O: overline
    or any combination. The default value is regular. Bold and italic styles do not apply to Symbol and ZapfDingbats basic fonts or other fonts when not defined. * @param float $size Font size in points. The default value is the current size. If no size has been specified since the beginning of the document, the value taken is 12 * @param string $fontfile The font definition file. By default, the name is built from the family and style, in lower case with no spaces. - * @param boolean $subset if true embedd only a subset of the font (stores only the information related to the used characters); this option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font. + * @param mixed $subset if true embedd only a subset of the font (stores only the information related to the used characters); if false embedd full font; if 'default' uses the default value set using setFontSubsetting(). This option is valid only for TrueTypeUnicode fonts. If you want to enable users to change the document, set this parameter to false. If you subset the font, the person who receives your PDF would need to have your same font in order to make changes to your PDF. The file size of the PDF would also be smaller because you are embedding only part of a font. * @author Nicola Asuni * @access public * @since 1.0 * @see AddFont(), SetFontSize() */ - public function SetFont($family, $style='', $size=0, $fontfile='', $subset=true) { + public function SetFont($family, $style='', $size=0, $fontfile='', $subset='default') { //Select a font; size given in points if ($size == 0) { $size = $this->FontSizePt; @@ -4530,7 +4540,7 @@ if (!class_exists('TCPDF', false)) { $uniblock[$unik][] = $unicode[$i]; ++$unik; $uniblock[$unik] = array(); - $unicode[$i] = 8203; // Unicode Character 'ZERO WIDTH SPACE' (U+200B) + $unicode[$i] = 0x200b; // Unicode Character 'ZERO WIDTH SPACE' (DEC:8203, U+200B) } else { $uniblock[$unik][] = $unicode[$i]; } @@ -7819,7 +7829,8 @@ if (!class_exists('TCPDF', false)) { } // array of table names to preserve (loca and glyf tables will be added later) //$table_names = array ('cmap', 'head', 'hhea', 'hmtx', 'maxp', 'name', 'OS/2', 'post', 'cvt ', 'fpgm', 'prep'); - $table_names = array ('head', 'hhea', 'hmtx', 'maxp', 'OS/2', 'cvt ', 'fpgm', 'prep'); + // the cmap table is not needed and shall not be present, since the mapping from character codes to glyph descriptions is provided separately + $table_names = array ('head', 'hhea', 'hmtx', 'maxp', 'cvt ', 'fpgm', 'prep'); // minimum required table names // get the tables to preserve $offset = 12; foreach ($table as $tag => $val) { @@ -7837,6 +7848,7 @@ if (!class_exists('TCPDF', false)) { } $table[$tag]['offset'] = $offset; $offset += $table[$tag]['length']; + // check sum is not changed (so keep the following line commented) //$table[$tag]['checkSum'] = $this->_getTTFtableChecksum($table[$tag]['data'], $table[$tag]['length']); } else { unset($table[$tag]); @@ -9359,7 +9371,9 @@ if (!class_exists('TCPDF', false)) { $outstr .= "\xFE\xFF"; // Byte Order Mark (BOM) } foreach ($unicode as $char) { - if ($char == 0xFFFD) { + if ($char == 0x200b) { + // skip Unicode Character 'ZERO WIDTH SPACE' (DEC:8203, U+200B) + } elseif ($char == 0xFFFD) { $outstr .= "\xFF\xFD"; // replacement character } elseif ($char < 0x10000) { $outstr .= chr($char >> 0x08); @@ -19994,6 +20008,28 @@ if (!class_exists('TCPDF', false)) { return $op; } + /** + * Enable or disable default option for font subsetting. + * @param boolean $enable if true enable font subsetting by default. + * @author Nicola Asuni + * @access public + * @since 5.3.002 (2010-06-07) + */ + public function setFontSubsetting($enable=true) { + $this->font_subsetting = $enable ? true : false; + } + + /** + * Return the default option for font subsetting. + * @return boolean default font subsetting state. + * @author Nicola Asuni + * @access public + * @since 5.3.002 (2010-06-07) + */ + public function getFontSubsetting() { + return $this->font_subsetting; + } + // -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- // SVG METHODS // -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    @@ -25359,7 +25471,7 @@ $font)
    -

    method _putviewerpreferences [line 8632]

    +

    method _putviewerpreferences [line 8644]

    diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index c3ceaaa..55254c5 100644 --- a/doc/li_com-tecnick-tcpdf.html +++ b/doc/li_com-tecnick-tcpdf.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -64,7 +67,7 @@ This documentation was generated by phpDocumentor v1.4.3

    - Documentation generated on Sun, 06 Jun 2010 13:18:39 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:38 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/index.html b/doc/index.html index c3ceaaa..55254c5 100644 --- a/doc/index.html +++ b/doc/index.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -64,7 +67,7 @@ This documentation was generated by phpDocumentor v1.4.3

    - Documentation generated on Sun, 06 Jun 2010 13:18:39 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:38 +0200 by phpDocumentor 1.4.3
    @@ -25393,7 +25505,7 @@ $font)
    -

    method _RC4 [line 9746]

    +

    method _RC4 [line 9760]

    diff --git a/doc/errors.html b/doc/errors.html index 90f134d..1d8c9a9 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

    - Documentation generated on Sun, 06 Jun 2010 13:18:45 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:44 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index bb4ef98..c64af45 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -251,13 +254,15 @@
    _Uvalue
    in file tcpdf.php, method TCPDF::_Uvalue()
        Compute U value (used for encryption)
    __construct
    -
    in file tcpdf.php, method TCPDF::__construct()
        This is the class constructor.
    +
    in file qrcode.php, method QRcode::__construct()
        This is the class constructor.
    __construct
    in file barcodes.php, method TCPDFBarcode::__construct()
        This is the class constructor.
    __construct
    +
    in file tcpdf.php, method TCPDF::__construct()
        This is the class constructor.
    +
    __construct
    in file 2dbarcodes.php, method TCPDF2DBarcode::__construct()
        This is the class constructor.
    __construct
    -
    in file qrcode.php, method QRcode::__construct()
        This is the class constructor.
    +
    in file pdf417.php, method PDF417::__construct()
        This is the class constructor.
    __destruct
    in file tcpdf.php, method TCPDF::__destruct()
        Default destructor.
    @@ -351,9 +356,11 @@
    $barcode_array
    in file 2dbarcodes.php, variable TCPDF2DBarcode::$barcode_array
    $barcode_array
    -
    in file qrcode.php, variable QRcode::$barcode_array
    +
    in file pdf417.php, variable PDF417::$barcode_array
    $barcode_array
    in file barcodes.php, variable TCPDFBarcode::$barcode_array
    +
    $barcode_array
    +
    in file qrcode.php, variable QRcode::$barcode_array
    $bgcolor
    in file tcpdf.php, variable TCPDF::$bgcolor
    $bit
    @@ -434,6 +441,8 @@
    in file qrcode.php, variable QRcode::$casesensitive
    $cell_height_ratio
    in file tcpdf.php, variable TCPDF::$cell_height_ratio
        Default cell height ratio.
    +
    $clusters
    +
    in file pdf417.php, variable PDF417::$clusters
    $cMargin
    in file tcpdf.php, variable TCPDF::$cMargin
    $cntmrk
    @@ -688,6 +697,8 @@
    in file tcpdf.php, variable TCPDF::$FontStyle
    $font_obj_ids
    in file tcpdf.php, variable TCPDF::$font_obj_ids
        Store the font object IDs.
    +
    $font_subsetting
    +
    in file tcpdf.php, variable TCPDF::$font_subsetting
    $footerlen
    in file tcpdf.php, variable TCPDF::$footerlen
        Array used to store footer length of each page.
    $footerpos
    @@ -743,11 +754,13 @@
    getBarcode
    in file tcpdf.php, method TCPDF::getBarcode()
        Get current barcode.
    getBarcodeArray
    -
    in file qrcode.php, method QRcode::getBarcodeArray()
        Returns a barcode array which is readable by TCPDF
    -
    getBarcodeArray
    in file barcodes.php, method TCPDFBarcode::getBarcodeArray()
        Return an array representations of barcode.
    getBarcodeArray
    +
    in file pdf417.php, method PDF417::getBarcodeArray()
        Returns a barcode array which is readable by TCPDF
    +
    getBarcodeArray
    in file 2dbarcodes.php, method TCPDF2DBarcode::getBarcodeArray()
        Return an array representations of barcode.
    +
    getBarcodeArray
    +
    in file qrcode.php, method QRcode::getBarcodeArray()
        Returns a barcode array which is readable by TCPDF
    getBitStream
    in file qrcode.php, method QRcode::getBitStream()
        Returns a stream of bits.
    getBorderMode
    @@ -766,6 +779,8 @@
    in file tcpdf.php, method TCPDF::GetCharWidth()
        Returns the length of the char in user unit for the current font.
    getCode
    in file qrcode.php, method QRcode::getCode()
        Return Reed-Solomon block code.
    +
    getCompaction
    +
    in file pdf417.php, method PDF417::getCompaction()
        Compact data by mode.
    getDataLength
    in file qrcode.php, method QRcode::getDataLength()
        Return maximum data code length (bytes) for the version.
    getECCLength
    @@ -774,6 +789,10 @@
    in file qrcode.php, method QRcode::getEccSpec()
        Return an array of ECC specification.
    getEncPermissionsString
    in file tcpdf.php, method TCPDF::getEncPermissionsString()
        Convert encryption P value to a string of bytes, low-order byte first.
    +
    getErrorCorrection
    +
    in file pdf417.php, method PDF417::getErrorCorrection()
        Returns the error correction codewords
    +
    getErrorCorrectionLevel
    +
    in file pdf417.php, method PDF417::getErrorCorrectionLevel()
        Returns the error correction level (0-8) to be used
    getFontAscent
    in file tcpdf.php, method TCPDF::getFontAscent()
        Return the font ascent value
    getFontBuffer
    @@ -790,6 +809,8 @@
    in file tcpdf.php, method TCPDF::getFontsList()
        Fill the list of available fonts ($this->fontlist).
    getFontStyle
    in file tcpdf.php, method TCPDF::getFontStyle()
        Returns the current font style.
    +
    getFontSubsetting
    +
    in file tcpdf.php, method TCPDF::getFontSubsetting()
        Return the default option for font subsetting.
    getFooterFont
    in file tcpdf.php, method TCPDF::getFooterFont()
        Get Footer font.
    getFooterMargin
    @@ -830,6 +851,8 @@
    in file tcpdf.php, method TCPDF::getImageRBY()
        Return the right-bottom (or left-bottom for RTL) corner Y coordinate of last inserted image
    getImageScale
    in file tcpdf.php, method TCPDF::getImageScale()
        Returns the adjusting factor to convert pixels to user units.
    +
    getInputSequences
    +
    in file pdf417.php, method PDF417::getInputSequences()
        Create array of sequences from input
    getLastH
    in file tcpdf.php, method TCPDF::getLastH()
        Get the last cell height.
    GetLineWidth
    @@ -1332,6 +1355,12 @@
    in file tcpdf.php, method TCPDF::PageNo()
        Returns the current page number.
    PageNoFormatted
    in file tcpdf.php, method TCPDF::PageNoFormatted()
        Returns the current page number formatted as a string.
    +
    PDF417
    +
    in file pdf417.php, class PDF417
        Class to create PDF417 barcode arrays for TCPDF class.
    +
    pdf417.php
    +
    procedural page pdf417.php
    +
    PDF417DEFS
    +
    in file pdf417.php, constant PDF417DEFS
        Indicate that definitions for this class are set
    PDF_AUTHOR
    in file tcpdf_config.php, constant PDF_AUTHOR
        document author
    PDF_CREATOR
    @@ -1450,6 +1479,10 @@
    in file qrcode.php, constant QR_MODE_NM
        Encoding mode numeric (0-9). 3 characters are encoded to 10bit length. In theory, 7089 characters or less can be stored in a QRcode.
    QR_MODE_ST
    in file qrcode.php, constant QR_MODE_ST
        Encoding mode STRUCTURED (currently unsupported)
    +
    QUIETH
    +
    in file pdf417.php, constant QUIETH
        Horizontal quiet zone in modules
    +
    QUIETV
    +
    in file pdf417.php, constant QUIETV
        Vertical quiet zone in modules
    top
    @@ -1470,6 +1503,8 @@
    in file tcpdf.php, variable TCPDF::$rMargin
    $rsblocks
    in file qrcode.php, variable QRcode::$rsblocks
    +
    $rsfactors
    +
    in file pdf417.php, variable PDF417::$rsfactors
    $rsitems
    in file qrcode.php, variable QRcode::$rsitems
    $rtl
    @@ -1502,6 +1537,8 @@
    in file tcpdf.php, method TCPDF::RoundedRect()
        Draws a rounded rectangle.
    RoundedRectXY
    in file tcpdf.php, method TCPDF::RoundedRectXY()
        Draws a rounded rectangle.
    +
    ROWHEIGHT
    +
    in file pdf417.php, constant ROWHEIGHT
        Row height respect X dimension of single module
    rsBlockNum
    in file qrcode.php, method QRcode::rsBlockNum()
        Return block number 0
    rsBlockNum1
    @@ -1540,12 +1577,16 @@
    in file tcpdf.php, variable TCPDF::$sig_obj_id
        Signature object ID
    $spot_colors
    in file tcpdf.php, variable TCPDF::$spot_colors
        Array of Spot colors
    +
    $start_pattern
    +
    in file pdf417.php, variable PDF417::$start_pattern
    $start_transaction_page
    in file tcpdf.php, variable TCPDF::$start_transaction_page
        Store page number when startTransaction() is called.
    $start_transaction_y
    in file tcpdf.php, variable TCPDF::$start_transaction_y
        Store Y position when startTransaction() is called.
    $state
    in file tcpdf.php, variable TCPDF::$state
    +
    $stop_pattern
    +
    in file pdf417.php, variable PDF417::$stop_pattern
    $strokecolor
    in file tcpdf.php, variable TCPDF::$strokecolor
    $structured
    @@ -1599,9 +1640,9 @@
    setBarcode
    in file 2dbarcodes.php, method TCPDF2DBarcode::setBarcode()
        Set the barcode.
    setBarcode
    -
    in file tcpdf.php, method TCPDF::setBarcode()
        Set document barcode.
    -
    setBarcode
    in file barcodes.php, method TCPDFBarcode::setBarcode()
        Set the barcode.
    +
    setBarcode
    +
    in file tcpdf.php, method TCPDF::setBarcode()
        Set document barcode.
    SetBooklet
    in file tcpdf.php, method TCPDF::SetBooklet()
        Set the booklet mode for double-sided pages.
    setBuffer
    @@ -1648,6 +1689,8 @@
    in file tcpdf.php, method TCPDF::SetFontSize()
        Defines the size of the current font.
    setFontSubBuffer
    in file tcpdf.php, method TCPDF::setFontSubBuffer()
        Set font buffer content.
    +
    setFontSubsetting
    +
    in file tcpdf.php, method TCPDF::setFontSubsetting()
        Enable or disable default option for font subsetting.
    setFooter
    in file tcpdf.php, method TCPDF::setFooter()
        This method is used to render the page footer.
    setFooterFont
    @@ -1818,10 +1861,14 @@
    in file tcpdf.php, variable TCPDF::$TextColor
    $textindent
    in file tcpdf.php, variable TCPDF::$textindent
        Text indentation value (used for text-indent CSS attribute)
    +
    $textlatch
    +
    in file pdf417.php, variable PDF417::$textlatch
    $textrendermode
    in file tcpdf.php, variable TCPDF::$textrendermode
        Text rendering mode: 0 = Fill text; 1 = Stroke text; 2 = Fill, then stroke text; 3 = Neither fill nor stroke text (invisible); 4 = Fill text and add to path for clipping; 5 = Stroke text and add to path for clipping; 6 = Fill, then stroke text and add to path for clipping; 7 = Add text to path for clipping.
    $textstrokewidth
    in file tcpdf.php, variable TCPDF::$textstrokewidth
        Text stroke width in doc units
    +
    $textsubmodes
    +
    in file pdf417.php, variable PDF417::$textsubmodes
    $thead
    in file tcpdf.php, variable TCPDF::$thead
        Table header content to be repeated on each new page
    $theadMargins
    @@ -2005,7 +2052,7 @@ top

    - Documentation generated on Sun, 06 Jun 2010 13:18:39 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:38 +0200 by phpDocumentor 1.4.3
    @@ -25444,7 +25556,7 @@ $text)
    -

    method _setGDImageTransparency [line 5979]

    +

    method _setGDImageTransparency [line 5989]

    diff --git a/doc/elementindex.html b/doc/elementindex.html index 25b2f65..d1e1023 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -158,9 +158,11 @@
    $barcode_array
    in file 2dbarcodes.php, variable TCPDF2DBarcode::$barcode_array
    $barcode_array
    -
    in file qrcode.php, variable QRcode::$barcode_array
    +
    in file pdf417.php, variable PDF417::$barcode_array
    $barcode_array
    in file barcodes.php, variable TCPDFBarcode::$barcode_array
    +
    $barcode_array
    +
    in file qrcode.php, variable QRcode::$barcode_array
    $bgcolor
    in file tcpdf.php, variable TCPDF::$bgcolor
    $bit
    @@ -241,6 +243,8 @@
    in file qrcode.php, variable QRcode::$casesensitive
    $cell_height_ratio
    in file tcpdf.php, variable TCPDF::$cell_height_ratio
        Default cell height ratio.
    +
    $clusters
    +
    in file pdf417.php, variable PDF417::$clusters
    $cMargin
    in file tcpdf.php, variable TCPDF::$cMargin
    $cntmrk
    @@ -495,6 +499,8 @@
    in file tcpdf.php, variable TCPDF::$FontStyle
    $font_obj_ids
    in file tcpdf.php, variable TCPDF::$font_obj_ids
        Store the font object IDs.
    +
    $font_subsetting
    +
    in file tcpdf.php, variable TCPDF::$font_subsetting
    $footerlen
    in file tcpdf.php, variable TCPDF::$footerlen
        Array used to store footer length of each page.
    $footerpos
    @@ -550,11 +556,13 @@
    getBarcode
    in file tcpdf.php, method TCPDF::getBarcode()
        Get current barcode.
    getBarcodeArray
    -
    in file qrcode.php, method QRcode::getBarcodeArray()
        Returns a barcode array which is readable by TCPDF
    -
    getBarcodeArray
    in file barcodes.php, method TCPDFBarcode::getBarcodeArray()
        Return an array representations of barcode.
    getBarcodeArray
    +
    in file pdf417.php, method PDF417::getBarcodeArray()
        Returns a barcode array which is readable by TCPDF
    +
    getBarcodeArray
    in file 2dbarcodes.php, method TCPDF2DBarcode::getBarcodeArray()
        Return an array representations of barcode.
    +
    getBarcodeArray
    +
    in file qrcode.php, method QRcode::getBarcodeArray()
        Returns a barcode array which is readable by TCPDF
    getBitStream
    in file qrcode.php, method QRcode::getBitStream()
        Returns a stream of bits.
    getBorderMode
    @@ -573,6 +581,8 @@
    in file tcpdf.php, method TCPDF::GetCharWidth()
        Returns the length of the char in user unit for the current font.
    getCode
    in file qrcode.php, method QRcode::getCode()
        Return Reed-Solomon block code.
    +
    getCompaction
    +
    in file pdf417.php, method PDF417::getCompaction()
        Compact data by mode.
    getDataLength
    in file qrcode.php, method QRcode::getDataLength()
        Return maximum data code length (bytes) for the version.
    getECCLength
    @@ -581,6 +591,10 @@
    in file qrcode.php, method QRcode::getEccSpec()
        Return an array of ECC specification.
    getEncPermissionsString
    in file tcpdf.php, method TCPDF::getEncPermissionsString()
        Convert encryption P value to a string of bytes, low-order byte first.
    +
    getErrorCorrection
    +
    in file pdf417.php, method PDF417::getErrorCorrection()
        Returns the error correction codewords
    +
    getErrorCorrectionLevel
    +
    in file pdf417.php, method PDF417::getErrorCorrectionLevel()
        Returns the error correction level (0-8) to be used
    getFontAscent
    in file tcpdf.php, method TCPDF::getFontAscent()
        Return the font ascent value
    getFontBuffer
    @@ -597,6 +611,8 @@
    in file tcpdf.php, method TCPDF::getFontsList()
        Fill the list of available fonts ($this->fontlist).
    getFontStyle
    in file tcpdf.php, method TCPDF::getFontStyle()
        Returns the current font style.
    +
    getFontSubsetting
    +
    in file tcpdf.php, method TCPDF::getFontSubsetting()
        Return the default option for font subsetting.
    getFooterFont
    in file tcpdf.php, method TCPDF::getFooterFont()
        Get Footer font.
    getFooterMargin
    @@ -637,6 +653,8 @@
    in file tcpdf.php, method TCPDF::getImageRBY()
        Return the right-bottom (or left-bottom for RTL) corner Y coordinate of last inserted image
    getImageScale
    in file tcpdf.php, method TCPDF::getImageScale()
        Returns the adjusting factor to convert pixels to user units.
    +
    getInputSequences
    +
    in file pdf417.php, method PDF417::getInputSequences()
        Create array of sequences from input
    getLastH
    in file tcpdf.php, method TCPDF::getLastH()
        Get the last cell height.
    GetLineWidth
    @@ -1139,6 +1157,12 @@
    in file tcpdf.php, method TCPDF::PageNo()
        Returns the current page number.
    PageNoFormatted
    in file tcpdf.php, method TCPDF::PageNoFormatted()
        Returns the current page number formatted as a string.
    +
    PDF417
    +
    in file pdf417.php, class PDF417
        Class to create PDF417 barcode arrays for TCPDF class.
    +
    pdf417.php
    +
    procedural page pdf417.php
    +
    PDF417DEFS
    +
    in file pdf417.php, constant PDF417DEFS
        Indicate that definitions for this class are set
    PDF_AUTHOR
    in file tcpdf_config.php, constant PDF_AUTHOR
        document author
    PDF_CREATOR
    @@ -1257,6 +1281,10 @@
    in file qrcode.php, constant QR_MODE_NM
        Encoding mode numeric (0-9). 3 characters are encoded to 10bit length. In theory, 7089 characters or less can be stored in a QRcode.
    QR_MODE_ST
    in file qrcode.php, constant QR_MODE_ST
        Encoding mode STRUCTURED (currently unsupported)
    +
    QUIETH
    +
    in file pdf417.php, constant QUIETH
        Horizontal quiet zone in modules
    +
    QUIETV
    +
    in file pdf417.php, constant QUIETV
        Vertical quiet zone in modules
    top
    @@ -1277,6 +1305,8 @@
    in file tcpdf.php, variable TCPDF::$rMargin
    $rsblocks
    in file qrcode.php, variable QRcode::$rsblocks
    +
    $rsfactors
    +
    in file pdf417.php, variable PDF417::$rsfactors
    $rsitems
    in file qrcode.php, variable QRcode::$rsitems
    $rtl
    @@ -1309,6 +1339,8 @@
    in file tcpdf.php, method TCPDF::RoundedRect()
        Draws a rounded rectangle.
    RoundedRectXY
    in file tcpdf.php, method TCPDF::RoundedRectXY()
        Draws a rounded rectangle.
    +
    ROWHEIGHT
    +
    in file pdf417.php, constant ROWHEIGHT
        Row height respect X dimension of single module
    rsBlockNum
    in file qrcode.php, method QRcode::rsBlockNum()
        Return block number 0
    rsBlockNum1
    @@ -1347,12 +1379,16 @@
    in file tcpdf.php, variable TCPDF::$sig_obj_id
        Signature object ID
    $spot_colors
    in file tcpdf.php, variable TCPDF::$spot_colors
        Array of Spot colors
    +
    $start_pattern
    +
    in file pdf417.php, variable PDF417::$start_pattern
    $start_transaction_page
    in file tcpdf.php, variable TCPDF::$start_transaction_page
        Store page number when startTransaction() is called.
    $start_transaction_y
    in file tcpdf.php, variable TCPDF::$start_transaction_y
        Store Y position when startTransaction() is called.
    $state
    in file tcpdf.php, variable TCPDF::$state
    +
    $stop_pattern
    +
    in file pdf417.php, variable PDF417::$stop_pattern
    $strokecolor
    in file tcpdf.php, variable TCPDF::$strokecolor
    $structured
    @@ -1406,9 +1442,9 @@
    setBarcode
    in file 2dbarcodes.php, method TCPDF2DBarcode::setBarcode()
        Set the barcode.
    setBarcode
    -
    in file tcpdf.php, method TCPDF::setBarcode()
        Set document barcode.
    -
    setBarcode
    in file barcodes.php, method TCPDFBarcode::setBarcode()
        Set the barcode.
    +
    setBarcode
    +
    in file tcpdf.php, method TCPDF::setBarcode()
        Set document barcode.
    SetBooklet
    in file tcpdf.php, method TCPDF::SetBooklet()
        Set the booklet mode for double-sided pages.
    setBuffer
    @@ -1455,6 +1491,8 @@
    in file tcpdf.php, method TCPDF::SetFontSize()
        Defines the size of the current font.
    setFontSubBuffer
    in file tcpdf.php, method TCPDF::setFontSubBuffer()
        Set font buffer content.
    +
    setFontSubsetting
    +
    in file tcpdf.php, method TCPDF::setFontSubsetting()
        Enable or disable default option for font subsetting.
    setFooter
    in file tcpdf.php, method TCPDF::setFooter()
        This method is used to render the page footer.
    setFooterFont
    @@ -1625,10 +1663,14 @@
    in file tcpdf.php, variable TCPDF::$TextColor
    $textindent
    in file tcpdf.php, variable TCPDF::$textindent
        Text indentation value (used for text-indent CSS attribute)
    +
    $textlatch
    +
    in file pdf417.php, variable PDF417::$textlatch
    $textrendermode
    in file tcpdf.php, variable TCPDF::$textrendermode
        Text rendering mode: 0 = Fill text; 1 = Stroke text; 2 = Fill, then stroke text; 3 = Neither fill nor stroke text (invisible); 4 = Fill text and add to path for clipping; 5 = Stroke text and add to path for clipping; 6 = Fill, then stroke text and add to path for clipping; 7 = Add text to path for clipping.
    $textstrokewidth
    in file tcpdf.php, variable TCPDF::$textstrokewidth
        Text stroke width in doc units
    +
    $textsubmodes
    +
    in file pdf417.php, variable PDF417::$textsubmodes
    $thead
    in file tcpdf.php, variable TCPDF::$thead
        Table header content to be repeated on each new page
    $theadMargins
    @@ -1962,13 +2004,15 @@
    _Uvalue
    in file tcpdf.php, method TCPDF::_Uvalue()
        Compute U value (used for encryption)
    __construct
    -
    in file tcpdf.php, method TCPDF::__construct()
        This is the class constructor.
    +
    in file qrcode.php, method QRcode::__construct()
        This is the class constructor.
    __construct
    in file barcodes.php, method TCPDFBarcode::__construct()
        This is the class constructor.
    __construct
    +
    in file tcpdf.php, method TCPDF::__construct()
        This is the class constructor.
    +
    __construct
    in file 2dbarcodes.php, method TCPDF2DBarcode::__construct()
        This is the class constructor.
    __construct
    -
    in file qrcode.php, method QRcode::__construct()
        This is the class constructor.
    +
    in file pdf417.php, method PDF417::__construct()
        This is the class constructor.
    __destruct
    in file tcpdf.php, method TCPDF::__destruct()
        Default destructor.
    @@ -1976,7 +2020,7 @@ top

    - Documentation generated on Sun, 06 Jun 2010 13:18:39 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:38 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index d13b45f..b3b688d 100644 --- a/doc/com-tecnick-tcpdf/_unicode_data.php.html +++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -243,7 +246,7 @@ Unicode data for TCPDF library.




    - Documentation generated on Sun, 06 Jun 2010 13:18:45 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:44 +0200 by phpDocumentor 1.4.3
    @@ -25489,7 +25601,7 @@ $image)
    -

    method _textannobjstring [line 9042]

    +

    method _textannobjstring [line 9054]

    diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index cbfb573..6003ad6 100644 --- a/doc/com-tecnick-tcpdf/_tcpdf.php.html +++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -79,7 +82,7 @@ This is a PHP class for generating PDF documents without requiring external exte
    - + @@ -110,7 +113,7 @@ unicode data

    @@ -25528,7 +25640,7 @@ $s)
    -

    method _textstring [line 9028]

    +

    method _textstring [line 9040]

    diff --git a/doc/com-tecnick-tcpdf/_qrcode.php.html b/doc/com-tecnick-tcpdf/_qrcode.php.html index 90992fa..1bee512 100644 --- a/doc/com-tecnick-tcpdf/_qrcode.php.html +++ b/doc/com-tecnick-tcpdf/_qrcode.php.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -477,7 +480,7 @@ string $string, [int $split_length = 1])

    - Documentation generated on Sun, 06 Jun 2010 13:18:40 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:39 +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 b95c70a..382226a 100644 --- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html +++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -94,7 +97,7 @@ Array of WEB safe colors.




    - Documentation generated on Sun, 06 Jun 2010 13:18:40 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:39 +0200 by phpDocumentor 1.4.3
    @@ -25567,7 +25679,7 @@ $s)
    -

    method _toJPEG [line 5942]

    +

    method _toJPEG [line 5952]

    diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index 32c7250..3c000a8 100644 --- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html +++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -539,7 +542,7 @@ Configuration file for TCPDF.




    - Documentation generated on Sun, 06 Jun 2010 13:18:45 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:44 +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 41eaf54..9d3eecb 100644 --- a/doc/com-tecnick-tcpdf/_barcodes.php.html +++ b/doc/com-tecnick-tcpdf/_barcodes.php.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -102,7 +105,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit

    - Documentation generated on Sun, 06 Jun 2010 13:18:39 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:39 +0200 by phpDocumentor 1.4.3
    @@ -25609,7 +25721,7 @@ $file)
    -

    method _toPNG [line 5961]

    +

    method _toPNG [line 5971]

    diff --git a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html index 8eac4a3..925e094 100644 --- a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html +++ b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -102,7 +105,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF

    - Documentation generated on Sun, 06 Jun 2010 13:18:39 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:39 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index 28b1fd2..0fdf41e 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -1374,7 +1377,7 @@ $type)

    - Documentation generated on Sun, 06 Jun 2010 13:18:39 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:39 +0200 by phpDocumentor 1.4.3
    @@ -25654,7 +25766,7 @@ $file)
    -

    method _Uvalue [line 9852]

    +

    method _Uvalue [line 9866]

    diff --git a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html index 5b024a4..81d2464 100644 --- a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html @@ -35,6 +35,8 @@ barcodes.php
    htmlcolors.php +
    + pdf417.php
    qrcode.php
    @@ -49,7 +51,8 @@ Classes:
    - QRcode
    + PDF417
    + QRcode
    TCPDF
    TCPDF2DBarcode
    TCPDFBarcode
    @@ -296,7 +299,7 @@ $type)

    - Documentation generated on Sun, 06 Jun 2010 13:18:39 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:39 +0200 by phpDocumentor 1.4.3
    @@ -25691,7 +25803,7 @@ $file)

    - Documentation generated on Sun, 06 Jun 2010 13:18:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:40 +0200 by phpDocumentor 1.4.3
    author:  Nicola Asuni
    version:  5.3.001version:  5.3.002
    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.3.001 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 5.3.002 (http://www.tcpdf.org)'
    @@ -121,7 +124,7 @@ unicode data


    - Documentation generated on Sun, 06 Jun 2010 13:18:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Mon, 07 Jun 2010 16:46:40 +0200 by phpDocumentor 1.4.3