diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index c4de564..ff580f9 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,12 @@ +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. + - 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. + +------------------------------------------------------------ + 5.1.002 (2010-05-27) - Bug #3007818 "SetAutoPageBreak fails with MultiCell" was fixed. - A bug related to MultiCell() minimun height was fixed. @@ -83,7 +92,7 @@ - Bug #2995003 "Reproduced thead bug" was fixed. - The Output() method now accepts FI and FD destinations to save the document on server before sending it to the client. - Ellipse() method was improved and fixed (see page 2 of example n. 12). - + ------------------------------------------------------------ 4.9.018 (2010-04-21) diff --git a/README.TXT b/README.TXT index d398ee8..6195e1b 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.1.002 -Release date: 2010-05-27 +Version: 5.2.000 +Release date: 2010-06-02 Author: Nicola Asuni Copyright (c) 2001-2010: @@ -33,6 +33,7 @@ Main Features: // * all ISO page formats, custom page formats, custom margins and units of measure; // * UTF-8 Unicode and Right-To-Left languages; // * TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts; +// * Font subsetting; // * methods to publish some XHTML + CSS code, Javascript and Forms; // * images, graphic (geometric figures) and transformation methods; // * supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html) diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index 2e1db53..3f5748c 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -55,7 +55,7 @@

- Documentation generated on Thu, 27 May 2010 11:33:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/QRcode.html b/doc/com-tecnick-tcpdf/QRcode.html index c6d7353..5bf46ad 100644 --- a/doc/com-tecnick-tcpdf/QRcode.html +++ b/doc/com-tecnick-tcpdf/QRcode.html @@ -5548,7 +5548,7 @@ $frame)

- Documentation generated on Thu, 27 May 2010 11:33:42 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:50 +0200 by phpDocumentor 1.4.3
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index f1e01d1..03882c4 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -80,7 +80,7 @@ Source Location: /tcpdf.php

Version:

@@ -639,8 +639,14 @@ Source Location: /tcpdf.php

  • _freadint
  • _generateencryptionkey
  • _getannotsrefs
  • +
  • _getBYTE
  • _getfontpath
  • +
  • _getSHORT
  • _getstream
  • +
  • _getTrueTypeFontSubset
  • +
  • _getTTFtableChecksum
  • +
  • _getULONG
  • +
  • _getUSHORT
  • _JScolor
  • _md5_16
  • _newobj
  • @@ -708,7 +714,7 @@ Source Location: /tcpdf.php

    Class Details

    -[line 161]
    +[line 163]
    This is a PHP class for generating PDF documents without requiring external extensions.


    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.




    Tags:

    @@ -717,7 +723,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  5.1.002 + version:  5.2.000 link:  http://www.tcpdf.org @@ -740,7 +746,7 @@ This is a PHP class for generating PDF documents without requiring external exte

    $AliasNbPages =  '{nb}'

    -

    [line 508]

    +

    [line 510]



    Tags:

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

    $AliasNumPage =  '{pnb}'

    -

    [line 514]

    +

    [line 516]



    Tags:

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

    $annotation_fonts = array()

    -

    [line 1435]

    +

    [line 1437]

    List of fonts used on form fields (fontname => fontkey).



    Tags:

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

    $annots_start_obj_id =  200000

    -

    [line 1344]

    +

    [line 1346]

    Start ID for annotation objects



    Tags:

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

    $annot_obj_id =  200000

    -

    [line 1351]

    +

    [line 1353]

    Max ID of annotation object



    Tags:

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

    $apxo_obj_id =  400000

    -

    [line 1428]

    +

    [line 1430]

    Current ID of appearance streams XObjects



    Tags:

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

    $apxo_start_obj_id =  400000

    -

    [line 1421]

    +

    [line 1423]

    Start ID for appearance streams XObjects



    Tags:

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

    $author =  ''

    -

    [line 490]

    +

    [line 492]



    Tags:

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

    $AutoPageBreak =

    -

    [line 448]

    +

    [line 450]



    Tags:

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

    $barcode =  false

    -

    [line 603]

    +

    [line 605]



    Tags:

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

    $bgcolor =

    -

    [line 702]

    +

    [line 704]



    Tags:

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

    $bMargin =

    -

    [line 283]

    +

    [line 285]



    Tags:

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

    $booklet =  false

    -

    [line 1083]

    +

    [line 1085]

    Booklet mode for double-sided pages



    Tags:

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

    $buffer =

    -

    [line 187]

    +

    [line 189]



    Tags:

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

    $bufferlen =  0

    -

    [line 1183]

    +

    [line 1185]

    Length of the buffer in bytes.



    Tags:

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

    $byterange_string =  '/ByteRange[0 ********** ********** **********]'

    -

    [line 1316]

    +

    [line 1318]

    ByteRange placemark used during signature process.



    Tags:

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

    $cache_file_length = array()

    -

    [line 1239]

    +

    [line 1241]

    Array used to store the lengths of cache files



    Tags:

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

    $cache_maxsize_UTF8StringToArray =  8

    -

    [line 1267]

    +

    [line 1269]

    Maximum size of cache array used for UTF8StringToArray() method.



    Tags:

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

    $cache_size_UTF8StringToArray =  0

    -

    [line 1274]

    +

    [line 1276]

    Current size of cache array used for UTF8StringToArray() method.



    Tags:

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

    $cache_UTF8StringToArray = array()

    -

    [line 1260]

    +

    [line 1262]

    Cache array for UTF8StringToArray() method.



    Tags:

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

    $cell_height_ratio =  K_CELL_HEIGHT_RATIO

    -

    [line 933]

    +

    [line 935]

    Default cell height ratio.



    Tags:

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

    $cMargin =

    -

    [line 290]

    +

    [line 292]



    Tags:

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

    $cntmrk = array()

    -

    [line 970]

    +

    [line 972]

    Array used to store content positions inside the pages buffer.

    keys are the page numbers




    Tags:

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

    $ColorFlag =

    -

    [line 442]

    +

    [line 444]



    Tags:

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

    $columns = array()

    -

    [line 1484]

    +

    [line 1486]

    Array of column measures (width, space, starting Y position)



    Tags:

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

    $column_start_page =  0

    -

    [line 1505]

    +

    [line 1507]

    Starting page for columns



    Tags:

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

    $compress =

    -

    [line 205]

    +

    [line 207]



    Tags:

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

    $CoreFonts =

    -

    [line 326]

    +

    [line 328]



    Tags:

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

    $creator =  ''

    -

    [line 502]

    +

    [line 504]



    Tags:

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

    $CurOrientation =

    -

    [line 211]

    +

    [line 213]



    Tags:

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

    $CurrentFont =

    -

    [line 406]

    +

    [line 408]



    Tags:

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

    $current_column =  0

    -

    [line 1498]

    +

    [line 1500]

    Current column number



    Tags:

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

    $currpagegroup =

    -

    [line 891]

    +

    [line 893]

    Contains the alias of the current page group



    Tags:

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

    $curr_annot_obj_id =  200000

    -

    [line 1358]

    +

    [line 1360]

    Current ID of annotation object



    Tags:

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

    $customlistindent =  -1

    -

    [line 1105]

    +

    [line 1107]



    Tags:

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

    $default_form_prop = array('lineWidth'=>1, 'borderStyle'=>'solid', 'fillColor'=>array(255, 255, 255),'strokeColor'=>array(128,128,128))

    -

    [line 1372]

    +

    [line 1374]

    Deafult Javascript field properties. Possible values are described on official Javascript for Acrobat API reference. Annotation options can be directly specified using the 'aopt' entry.



    Tags:

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

    $default_monospaced_font =  'courier'

    -

    [line 1225]

    +

    [line 1227]

    Default monospaced font



    Tags:

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

    $default_table_columns =  4

    -

    [line 645]

    +

    [line 647]



    Tags:

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

    $diffs = array()

    -

    [line 344]

    +

    [line 346]



    Tags:

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

    $diskcache =  false

    -

    [line 1190]

    +

    [line 1192]

    If true enables disk caching.



    Tags:

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

    $dpi =  72

    -

    [line 870]

    +

    [line 872]

    Dot Per Inch Document Resolution (do not change)



    Tags:

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

    $DrawColor =

    -

    [line 424]

    +

    [line 426]



    Tags:

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

    $embeddedfiles = array()

    -

    [line 1119]

    +

    [line 1121]



    Tags:

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

    $embedded_start_obj_id =  100000

    -

    [line 1337]

    +

    [line 1339]

    Start ID for embedded file objects



    Tags:

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

    $encoding =  'UTF-8'

    -

    [line 721]

    +

    [line 723]



    Tags:

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

    $encryptdata = array()

    -

    [line 758]

    +

    [line 760]

    Array containing encryption settings



    Tags:

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

    $encrypted =

    -

    [line 751]

    +

    [line 753]

    Indicates whether document is protected



    Tags:

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

    $enc_padding =  "\x28\xBF\x4E\x5E\x4E\x75\x8A\x41\x64\x00\x4E\x56\xFF\xFA\x01\x08\x2E\x2E\x00\xB6\xD0\x68\x3E\x80\x2F\x0C\xA9\xFE\x64\x53\x69\x7A"

    -

    [line 778]

    +

    [line 780]

    Encryption padding



    Tags:

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

    $endlinex =  0

    -

    [line 999]

    +

    [line 1001]

    End position of the latest inserted line



    Tags:

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

    $epsmarker =  'x#!#EPS#!#x'

    -

    [line 1062]

    +

    [line 1064]

    String used to mark the beginning and end of EPS image blocks



    Tags:

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

    $extgstates =

    -

    [line 919]

    +

    [line 921]

    Array of transparency objects and parameters.



    Tags:

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

    $feps =  0.005

    -

    [line 1090]

    +

    [line 1092]

    Epsilon value used for float calculations



    Tags:

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

    $fgcolor =

    -

    [line 666]

    +

    [line 668]



    Tags:

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

    $fhPt =

    -

    [line 235]

    +

    [line 237]



    Tags:

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

    $file_id =

    -

    [line 785]

    +

    [line 787]

    File ID (used on trailer)



    Tags:

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

    $FillColor =

    -

    [line 430]

    +

    [line 432]



    Tags:

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

    $FontAscent =

    -

    [line 381]

    +

    [line 383]



    Tags:

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

    $FontDescent =

    -

    [line 388]

    +

    [line 390]



    Tags:

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

    $FontFamily =

    -

    [line 368]

    +

    [line 370]



    Tags:

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

    $FontFiles = array()

    -

    [line 338]

    +

    [line 340]



    Tags:

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

    $fontkeys = array()

    -

    [line 1204]

    +

    [line 1206]

    Store the font keys.



    Tags:

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

    $fontlist = array()

    -

    [line 660]

    +

    [line 662]



    Tags:

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

    $fonts = array()

    -

    [line 332]

    +

    [line 334]



    Tags:

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

    $FontSize =

    -

    [line 418]

    +

    [line 420]



    Tags:

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

    $FontSizePt =

    -

    [line 412]

    +

    [line 414]



    Tags:

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

    $FontStyle =

    -

    [line 374]

    +

    [line 376]



    Tags:

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

    $font_obj_ids = array()

    -

    [line 1211]

    +

    [line 1213]

    Store the font object IDs.



    Tags:

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

    $footerlen = array()

    -

    [line 985]

    +

    [line 987]

    Array used to store footer length of each page.



    Tags:

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

    $footerpos = array()

    -

    [line 977]

    +

    [line 979]

    Array used to store footer positions of each page.



    Tags:

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

    $footer_font =

    -

    [line 591]

    +

    [line 593]



    Tags:

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

    $footer_margin =

    -

    [line 565]

    +

    [line 567]



    Tags:

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

    $form_action =  ''

    -

    [line 1400]

    +

    [line 1402]

    Current form action (used during XHTML rendering)



    Tags:

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

    $form_enctype =  'application/x-www-form-urlencoded'

    -

    [line 1407]

    +

    [line 1409]

    Current form encryption type (used during XHTML rendering)



    Tags:

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

    $form_mode =  'post'

    -

    [line 1414]

    +

    [line 1416]

    Current method to submit forms.



    Tags:

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

    $form_obj_id = array()

    -

    [line 1365]

    +

    [line 1367]

    List of form annotations IDs



    Tags:

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

    $fwPt =

    -

    [line 229]

    +

    [line 231]



    Tags:

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

    $gradients = array()

    -

    [line 954]

    +

    [line 956]

    Array for storing gradient information.



    Tags:

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

    $h =

    -

    [line 259]

    +

    [line 261]



    Tags:

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

    $header_font =

    -

    [line 585]

    +

    [line 587]



    Tags:

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

    $header_logo =  ''

    -

    [line 621]

    +

    [line 623]



    Tags:

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

    $header_logo_width =  30

    -

    [line 627]

    +

    [line 629]



    Tags:

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

    $header_margin =

    -

    [line 559]

    +

    [line 561]



    Tags:

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

    $header_string =  ''

    -

    [line 639]

    +

    [line 641]



    Tags:

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

    $header_title =  ''

    -

    [line 633]

    +

    [line 635]



    Tags:

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

    $hPt =

    -

    [line 247]

    +

    [line 249]



    Tags:

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

    $HREF = array()

    -

    [line 654]

    +

    [line 656]



    Tags:

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

    $htmlLinkColorArray = array(0, 0, 255)

    -

    [line 1141]

    +

    [line 1143]

    Default color for html links



    Tags:

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

    $htmlLinkFontStyle =  'U'

    -

    [line 1148]

    +

    [line 1150]

    Default font style to add to html links



    Tags:

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

    $htmlvspace =  0

    -

    [line 1041]

    +

    [line 1043]

    Count the latest inserted vertical spaces on HTML



    Tags:

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

    $imagekeys = array()

    -

    [line 1176]

    +

    [line 1178]

    Store the image keys.



    Tags:

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

    $images = array()

    -

    [line 350]

    +

    [line 352]



    Tags:

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

    $imgscale =  1

    -

    [line 538]

    +

    [line 540]



    Tags:

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

    $img_rb_x =

    -

    [line 522]

    +

    [line 524]



    Tags:

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

    $img_rb_y =

    -

    [line 530]

    +

    [line 532]



    Tags:

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

    $InFooter =  false

    -

    [line 460]

    +

    [line 462]



    Tags:

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

    $internal_encoding =

    -

    [line 728]

    +

    [line 730]



    Tags:

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

    $inthead =  false

    -

    [line 1477]

    +

    [line 1479]

    True when we are printing the thead section on a new page



    Tags:

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

    $intmrk = array()

    -

    [line 962]

    +

    [line 964]

    Array used to store positions inside the pages buffer.

    keys are the page numbers




    Tags:

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

    $isunicode =  false

    -

    [line 546]

    +

    [line 548]



    Tags:

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

    $javascript =  ''

    -

    [line 811]

    +

    [line 813]

    javascript code



    Tags:

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

    $jpeg_quality =

    -

    [line 926]

    +

    [line 928]

    Set the default JPEG compression quality (1-100)



    Tags:

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

    $js_objects = array()

    -

    [line 1379]

    +

    [line 1381]

    Javascript objects array



    Tags:

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

    $js_obj_id =  300000

    -

    [line 1393]

    +

    [line 1395]

    Current ID of javascript object



    Tags:

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

    $js_start_obj_id =  300000

    -

    [line 1386]

    +

    [line 1388]

    Start ID for javascript objects



    Tags:

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

    $k =

    -

    [line 223]

    +

    [line 225]



    Tags:

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

    $keywords =  ''

    -

    [line 496]

    +

    [line 498]



    Tags:

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

    $l =

    -

    [line 597]

    +

    [line 599]



    Tags:

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

    $lasth =

    -

    [line 314]

    +

    [line 316]



    Tags:

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

    $last_enc_key =

    -

    [line 765]

    +

    [line 767]

    last RC4 key encrypted (cached for optimisation)



    Tags:

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

    $last_enc_key_c =

    -

    [line 772]

    +

    [line 774]

    last RC4 computed key



    Tags:

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

    $LayoutMode =

    -

    [line 472]

    +

    [line 474]



    Tags:

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

    $linestyleCap =  '0 J'

    -

    [line 1013]

    +

    [line 1015]

    PDF string for last line width



    Tags:

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

    $linestyleDash =  '[] 0 d'

    -

    [line 1027]

    +

    [line 1029]

    PDF string for last line width



    Tags:

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

    $linestyleJoin =  '0 j'

    -

    [line 1020]

    +

    [line 1022]

    PDF string for last line width



    Tags:

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

    $linestyleWidth =  ''

    -

    [line 1006]

    +

    [line 1008]

    PDF string for last line width



    Tags:

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

    $linethrough =

    -

    [line 825]

    +

    [line 827]

    line trough state



    Tags:

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

    $LineWidth =

    -

    [line 320]

    +

    [line 322]



    Tags:

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

    $links = array()

    -

    [line 362]

    +

    [line 364]



    Tags:

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

    $lispacer =  ''

    -

    [line 714]

    +

    [line 716]



    Tags:

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

    $listcount = array()

    -

    [line 678]

    +

    [line 680]



    Tags:

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

    $listindent =  0

    -

    [line 690]

    +

    [line 692]



    Tags:

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

    $listindentlevel =  0

    -

    [line 696]

    +

    [line 698]



    Tags:

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

    $listnum =  0

    -

    [line 684]

    +

    [line 686]



    Tags:

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

    $listordered = array()

    -

    [line 672]

    +

    [line 674]



    Tags:

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

    $lisymbol =  ''

    -

    [line 1055]

    +

    [line 1057]

    Symbol used for HTML unordered list items



    Tags:

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

    $lMargin =

    -

    [line 265]

    +

    [line 267]



    Tags:

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

    $n =

    -

    [line 175]

    +

    [line 177]



    Tags:

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

    $newline =  true

    -

    [line 992]

    +

    [line 994]

    True if a newline is created.



    Tags:

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

    $newpagegroup = array()

    -

    [line 877]

    +

    [line 879]

    Array of page numbers were a new page group was started



    Tags:

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

    $numfonts =  0

    -

    [line 1197]

    +

    [line 1199]

    Counts the number of fonts.



    Tags:

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

    $numimages =  0

    -

    [line 1169]

    +

    [line 1171]

    Counts the number of pages.



    Tags:

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

    $numpages =  0

    -

    [line 1155]

    +

    [line 1157]

    Counts the number of pages.



    Tags:

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

    $num_columns =  0

    -

    [line 1491]

    +

    [line 1493]

    Number of colums



    Tags:

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

    $n_js =

    -

    [line 818]

    +

    [line 820]

    javascript counter



    Tags:

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

    $n_ocg_print =

    -

    [line 905]

    +

    [line 907]

    Print visibility.



    Tags:

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

    $n_ocg_view =

    -

    [line 912]

    +

    [line 914]

    View visibility.



    Tags:

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

    $objcopy =

    -

    [line 1232]

    +

    [line 1234]

    Used to store a cloned copy of the current class object



    Tags:

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

    $offsets =

    -

    [line 181]

    +

    [line 183]



    Tags:

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

    $oldcMargin =

    -

    [line 296]

    +

    [line 298]



    Tags:

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

    $opencell =  true

    -

    [line 1112]

    +

    [line 1114]



    Tags:

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

    $openMarkedContent =  false

    -

    [line 1034]

    +

    [line 1036]

    True if marked-content sequence is open



    Tags:

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

    $original_lMargin =

    -

    [line 572]

    +

    [line 574]



    Tags:

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

    $original_rMargin =

    -

    [line 579]

    +

    [line 581]



    Tags:

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

    $OutlineRoot =

    -

    [line 801]

    +

    [line 803]

    Outline root for bookmark



    Tags:

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

    $outlines = array()

    -

    [line 794]

    +

    [line 796]

    Outlines for bookmark



    Tags:

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

    $overline =

    -

    [line 400]

    +

    [line 402]



    Tags:

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

    $page =

    -

    [line 169]

    +

    [line 171]



    Tags:

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

    $PageAnnots = array()

    -

    [line 356]

    +

    [line 358]



    Tags:

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

    $PageBreakTrigger =

    -

    [line 454]

    +

    [line 456]



    Tags:

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

    $pagedim = array()

    -

    [line 217]

    +

    [line 219]



    Tags:

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

    $pagegroups =

    -

    [line 884]

    +

    [line 886]

    Contains the number of pages of the groups



    Tags:

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

    $pagelen = array()

    -

    [line 1162]

    +

    [line 1164]

    Array containing page lengths in bytes.



    Tags:

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

    $PageMode =

    -

    [line 947]

    +

    [line 949]

    A name object specifying how the document should be displayed when opened.



    Tags:

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

    $pageopen = array()

    -

    [line 1218]

    +

    [line 1220]

    Store the fage status (true when opened, false when closed).



    Tags:

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

    $pages = array()

    -

    [line 193]

    +

    [line 195]



    Tags:

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

    $page_obj_id = array()

    -

    [line 1330]

    +

    [line 1332]

    ID of page objects



    Tags:

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

    $pdfunit =  'mm'

    -

    [line 1533]

    +

    [line 1535]



    Tags:

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

    $PDFVersion =  '1.7'

    -

    [line 553]

    +

    [line 555]



    Tags:

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

    $premode =  false

    -

    [line 1126]

    +

    [line 1128]



    Tags:

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

    $print_footer =  true

    -

    [line 615]

    +

    [line 617]



    Tags:

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

    $print_header =  true

    -

    [line 609]

    +

    [line 611]



    Tags:

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

    $radiobutton_groups = array()

    -

    [line 1442]

    +

    [line 1444]

    List of radio buttons parent objects.



    Tags:

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

    $radio_groups = array()

    -

    [line 1449]

    +

    [line 1451]

    List of radio group objects IDs



    Tags:

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

    $rasterize_vector_images =  false

    -

    [line 1546]

    +

    [line 1548]



    Tags:

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

    $re_spaces =  '/[\s]/'

    -

    [line 1302]

    +

    [line 1304]

    Regular expression used to find blank characters used for word-wrapping.



    Tags:

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

    $rMargin =

    -

    [line 277]

    +

    [line 279]



    Tags:

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

    $rtl =  false

    -

    [line 735]

    +

    [line 737]



    Tags:

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

    $sign =  false

    -

    [line 1281]

    +

    [line 1283]

    If true enables document signing



    Tags:

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

    $signature_data = array()

    -

    [line 1288]

    +

    [line 1290]

    Signature data



    Tags:

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

    $signature_max_length =  11742

    -

    [line 1295]

    +

    [line 1297]

    Signature max length



    Tags:

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

    $sig_annot_ref =  '***SIGANNREF*** 0 R'

    -

    [line 1323]

    +

    [line 1325]

    Placemark used during signature process.



    Tags:

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

    $sig_obj_id =  0

    -

    [line 1309]

    +

    [line 1311]

    Signature object ID



    Tags:

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

    $spot_colors = array()

    -

    [line 1048]

    +

    [line 1050]

    Array of Spot colors



    Tags:

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

    $start_transaction_page =  0

    -

    [line 1463]

    +

    [line 1465]

    Store page number when startTransaction() is called.



    Tags:

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

    $start_transaction_y =  0

    -

    [line 1470]

    +

    [line 1472]

    Store Y position when startTransaction() is called.



    Tags:

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

    $state =

    -

    [line 199]

    +

    [line 201]



    Tags:

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

    $strokecolor =

    -

    [line 1526]

    +

    [line 1528]



    Tags:

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

    $subject =  ''

    -

    [line 484]

    +

    [line 486]



    Tags:

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

    $svgclipid =  0

    -

    [line 1609]

    +

    [line 1611]



    Tags:

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

    $svgclipmode =  false

    -

    [line 1595]

    +

    [line 1597]



    Tags:

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

    $svgclippaths = array()

    -

    [line 1602]

    +

    [line 1604]



    Tags:

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

    $svgdefs = array()

    -

    [line 1588]

    +

    [line 1590]



    Tags:

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

    $svgdefsmode =  false

    -

    [line 1581]

    +

    [line 1583]



    Tags:

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

    $svgdir =  ''

    -

    [line 1553]

    +

    [line 1555]



    Tags:

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

    $svggradientid =  0

    -

    [line 1574]

    +

    [line 1576]



    Tags:

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

    $svggradients = array()

    -

    [line 1567]

    +

    [line 1569]



    Tags:

    @@ -5840,7 +5846,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 1623]

    +

    [line 1625]



    Tags:

    @@ -5933,7 +5939,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 1630]

    +

    [line 1632]



    Tags:

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

    $svgtext =  ''

    -

    [line 1616]

    +

    [line 1618]



    Tags:

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

    $svgunit =  'px'

    -

    [line 1560]

    +

    [line 1562]



    Tags:

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

    $tagvspaces = array()

    -

    [line 1097]

    +

    [line 1099]

    Array used for custom vertical spaces for HTML tags



    Tags:

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

    $tempfontsize =  10

    -

    [line 708]

    +

    [line 710]



    Tags:

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

    $TextColor =

    -

    [line 436]

    +

    [line 438]



    Tags:

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

    $textindent =  0

    -

    [line 1456]

    +

    [line 1458]

    Text indentation value (used for text-indent CSS attribute)



    Tags:

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

    $textrendermode =  0

    -

    [line 1512]

    +

    [line 1514]

    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.



    Tags:

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

    $textstrokewidth =  0

    -

    [line 1519]

    +

    [line 1521]

    Text stroke width in doc units



    Tags:

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

    $thead =  ''

    -

    [line 1246]

    +

    [line 1248]

    Table header content to be repeated on each new page



    Tags:

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

    $theadMargins = array()

    -

    [line 1253]

    +

    [line 1255]

    Margins used for table header.



    Tags:

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

    $title =  ''

    -

    [line 478]

    +

    [line 480]



    Tags:

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

    $tMargin =

    -

    [line 271]

    +

    [line 273]



    Tags:

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

    $tmprtl =  false

    -

    [line 742]

    +

    [line 744]



    Tags:

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

    $tocpage =  false

    -

    [line 1539]

    +

    [line 1541]



    Tags:

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

    $transfmatrix = array()

    -

    [line 1069]

    +

    [line 1071]

    Array of transformation matrix



    Tags:

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

    $transfmatrix_key =  0

    -

    [line 1076]

    +

    [line 1078]

    Current key for transformation matrix



    Tags:

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

    $transfmrk = array()

    -

    [line 1134]

    +

    [line 1136]

    Array used to store positions of graphics transformation blocks inside the page buffer.

    keys are the page numbers




    Tags:

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

    $underline =

    -

    [line 394]

    +

    [line 396]



    Tags:

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

    $ur =

    -

    [line 835]

    +

    [line 837]

    If true enables user's rights on PDF reader



    Tags:

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

    $ur_annots =

    -

    [line 849]

    +

    [line 851]

    Names specifying additional annotation-related usage rights for the document.



    Tags:

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

    $ur_document =

    -

    [line 842]

    +

    [line 844]

    Names specifying additional document-wide usage rights for the document.



    Tags:

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

    $ur_form =

    -

    [line 856]

    +

    [line 858]

    Names specifying additional form-field-related usage rights for the document.



    Tags:

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

    $ur_signature =

    -

    [line 863]

    +

    [line 865]

    Names specifying additional signature-related usage rights for the document.



    Tags:

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

    $viewer_preferences =

    -

    [line 940]

    +

    [line 942]

    PDF viewer preferences.



    Tags:

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

    $visibility =  'all'

    -

    [line 898]

    +

    [line 900]

    Restrict the rendering of some elements to screen or printout.



    Tags:

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

    $w =

    -

    [line 253]

    +

    [line 255]



    Tags:

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

    $wPt =

    -

    [line 241]

    +

    [line 243]



    Tags:

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

    $x =

    -

    [line 302]

    +

    [line 304]



    Tags:

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

    $y =

    -

    [line 308]

    +

    [line 310]



    Tags:

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

    $ZoomMode =

    -

    [line 466]

    +

    [line 468]



    Tags:

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

    constructor __construct [line 1713]

    +

    constructor __construct [line 1715]

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

    destructor __destruct [line 1842]

    +

    destructor __destruct [line 1844]

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

    method AcceptPageBreak [line 4173]

    +

    method AcceptPageBreak [line 4188]

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

    method addExtGState [line 12913]

    +

    method addExtGState [line 13381]

    + + + + +
    @@ -6961,7 +6967,7 @@ $params)
    -

    method AddFont [line 3673]

    +

    method AddFont [line 3676]

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

    @@ -7011,6 +7018,11 @@ $fontfile = ''])
    string   $fontfile   The font definition file. By default, the name is built from the family and style, in lower case with no spaces.
    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.

    @@ -7018,7 +7030,7 @@ $fontfile = ''])
    -

    method addHtmlLink [line 8990]

    +

    method addHtmlLink [line 9455]

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

    method addHTMLTOC [line 18843]

    +

    method addHTMLTOC [line 19312]

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

    method addHTMLVertSpace [line 17595]

    +

    method addHTMLVertSpace [line 18064]

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

    method addJavascriptObject [line 11541]

    +

    method addJavascriptObject [line 12009]

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

    method AddLink [line 3975]

    +

    method AddLink [line 3990]

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

    method AddPage [line 2848]

    +

    method AddPage [line 2850]

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

    method AddSpotColor [line 3292]

    +

    method AddSpotColor [line 3294]

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

    method addTOC [line 18693]

    +

    method addTOC [line 19162]

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

    method addTOCPage [line 2823]

    +

    method addTOCPage [line 2825]

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

    method AliasNbPages [line 12725]

    +

    method AliasNbPages [line 13193]

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

    method AliasNumPage [line 12752]

    +

    method AliasNumPage [line 13220]

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

    method Annotation [line 4031]

    +

    method Annotation [line 4046]

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

    method Arrow [line 10754]

    +

    method Arrow [line 11219]

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

    method arrUTF8ToUTF16BE [line 8887]

    +

    method arrUTF8ToUTF16BE [line 9352]

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

    method Bookmark [line 11419]

    +

    method Bookmark [line 11887]

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

    method Button [line 12428]

    +

    method Button [line 12896]

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

    method Cell [line 4257]

    +

    method Cell [line 4296]

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

    method CheckBox [line 12358]

    +

    method CheckBox [line 12826]

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

    method checkPageBreak [line 4200]

    +

    method checkPageBreak [line 4215]

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

    method Circle [line 10442]

    +

    method Circle [line 10907]

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

    method Clip [line 13374]

    +

    method Clip [line 13842]

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

    method Close [line 2702]

    +

    method Close [line 2704]

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

    method closeHTMLTagHandler [line 17205]

    +

    method closeHTMLTagHandler [line 17674]

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

    method colorRegistrationBar [line 13049]

    +

    method colorRegistrationBar [line 13517]

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

    method ComboBox [line 12297]

    +

    method ComboBox [line 12765]

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

    method commitTransaction [line 18955]

    +

    method commitTransaction [line 19424]

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

    method convertHexStringToString [line 9612]

    +

    method convertHexStringToString [line 10077]

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

    method convertHTMLColorToDec [line 9023]

    +

    method convertHTMLColorToDec [line 9488]

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

    method convertStringToHexString [line 9633]

    +

    method convertStringToHexString [line 10098]

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

    method convertSVGtMatrix [line 19890]

    +

    method convertSVGtMatrix [line 20359]

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

    method CoonsPatchMesh [line 13289]

    +

    method CoonsPatchMesh [line 13757]

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

    method copyPage [line 18625]

    +

    method copyPage [line 19094]

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

    method cropMark [line 13147]

    +

    method cropMark [line 13615]

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

    method Curve [line 10247]

    +

    method Curve [line 10712]

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

    method deletePage [line 18488]

    +

    method deletePage [line 18957]

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

    method Ellipse [line 10311]

    +

    method Ellipse [line 10776]

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

    method empty_string [line 19009]

    +

    method empty_string [line 19478]

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

    method endPage [line 2868]

    +

    method endPage [line 2870]

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

    method endSVGElementHandler [line 20917]

    +

    method endSVGElementHandler [line 21386]

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

    method endTOCPage [line 2833]

    +

    method endTOCPage [line 2835]

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

    method Error [line 2674]

    +

    method Error [line 2676]

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

    method extractCSSproperties [line 14534]

    +

    method extractCSSproperties [line 15002]

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

    method Footer [line 3115]

    +

    method Footer [line 3117]

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

    method formatPageNumber [line 12829]

    +

    method formatPageNumber [line 13297]

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

    method formatTOCPageNumber [line 12841]

    +

    method formatTOCPageNumber [line 13309]

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

    method GetAbsX [line 6249]

    +

    method GetAbsX [line 6263]

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

    method getAliasNbPages [line 12737]

    +

    method getAliasNbPages [line 13205]

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

    method getAliasNumPage [line 12765]

    +

    method getAliasNumPage [line 13233]

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

    method getAnnotOptFromJSProp [line 11665]

    +

    method getAnnotOptFromJSProp [line 12133]

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

    method GetArrStringWidth [line 3576]

    +

    method GetArrStringWidth [line 3578]

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

    method getBarcode [line 14028]

    +

    method getBarcode [line 14496]

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

    method getBorderMode [line 4905]

    +

    method getBorderMode [line 4919]

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

    method getBreakMargin [line 2399]

    +

    method getBreakMargin [line 2401]

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

    method getBuffer [line 18174]

    +

    method getBuffer [line 18643]

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

    method getCellCode [line 4312]

    +

    method getCellCode [line 4326]

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

    method getCellHeightRatio [line 13009]

    +

    method getCellHeightRatio [line 13477]

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

    method GetCharWidth [line 3612]

    +

    method GetCharWidth [line 3614]

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

    method getEncPermissionsString [line 9650]

    +

    method getEncPermissionsString [line 10115]

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

    method getFontAscent [line 3946]

    +

    method getFontAscent [line 3961]

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

    method getFontBuffer [line 18334]

    +

    method getFontBuffer [line 18803]

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

    method getFontDescent [line 3925]

    +

    method getFontDescent [line 3940]

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

    method getFontFamily [line 14512]

    +

    method getFontFamily [line 14980]

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

    method getFontSize [line 14492]

    +

    method getFontSize [line 14960]

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

    method getFontSizePt [line 14502]

    +

    method getFontSizePt [line 14970]

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

    method getFontsList [line 3651]

    +

    method getFontsList [line 3653]

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

    method getFontStyle [line 14522]

    +

    method getFontStyle [line 14990]

    @@ -10595,7 +10607,7 @@ $size = 0])
    -

    method getFooterFont [line 8948]

    +

    method getFooterFont [line 9413]

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

    method getFooterMargin [line 3029]

    +

    method getFooterMargin [line 3031]

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

    method getFormDefaultProp [line 12040]

    +

    method getFormDefaultProp [line 12508]

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

    method getGDgamma [line 6189]

    +

    method getGDgamma [line 6203]

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

    method getGraphicVars [line 18026]

    +

    method getGraphicVars [line 18495]

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

    method getGroupPageNo [line 12778]

    +

    method getGroupPageNo [line 13246]

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

    method getGroupPageNoFormatted [line 12788]

    +

    method getGroupPageNoFormatted [line 13256]

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

    method getHeaderData [line 2984]

    +

    method getHeaderData [line 2986]

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

    method getHeaderFont [line 8928]

    +

    method getHeaderFont [line 9393]

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

    method getHeaderMargin [line 3009]

    +

    method getHeaderMargin [line 3011]

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

    method getHtmlDomArray [line 14810]

    +

    method getHtmlDomArray [line 15278]

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

    method getHTMLUnitToUnits [line 17741]

    +

    method getHTMLUnitToUnits [line 18210]

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

    method getHyphenPatternsFromTEX [line 19281]

    +

    method getHyphenPatternsFromTEX [line 19750]

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

    method getImageBuffer [line 18276]

    +

    method getImageBuffer [line 18745]

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

    method getImageFileType [line 5565]

    +

    method getImageFileType [line 5579]

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

    method getImageRBX [line 3055]

    +

    method getImageRBX [line 3057]

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

    method getImageRBY [line 3064]

    +

    method getImageRBY [line 3066]

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

    method getImageScale [line 2338]

    +

    method getImageScale [line 2340]

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

    method getLastH [line 2316]

    +

    method getLastH [line 2318]

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

    method GetLineWidth [line 9993]

    +

    method GetLineWidth [line 10458]

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

    method getMargins [line 14455]

    +

    method getMargins [line 14923]

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

    method GetNumChars [line 3639]

    +

    method GetNumChars [line 3641]

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

    method getNumLines [line 4989]

    +

    method getNumLines [line 5003]

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

    method getNumPages [line 2811]

    +

    method getNumPages [line 2813]

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

    method getObjFilename [line 18106]

    +

    method getObjFilename [line 18575]

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

    method getOriginalMargins [line 14478]

    +

    method getOriginalMargins [line 14946]

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

    method getPage [line 2799]

    +

    method getPage [line 2801]

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

    method getPageBuffer [line 18217]

    +

    method getPageBuffer [line 18686]

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

    method getPageDimensions [line 2351]

    +

    method getPageDimensions [line 2353]

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

    method getPageGroupAlias [line 12800]

    +

    method getPageGroupAlias [line 13268]

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

    method getPageHeight [line 2383]

    +

    method getPageHeight [line 2385]

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

    method getPageNumGroupAlias [line 12815]

    +

    method getPageNumGroupAlias [line 13283]

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

    method getPageSizeFromFormat [line 1901]

    +

    method getPageSizeFromFormat [line 1903]

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

    method getPageWidth [line 2367]

    +

    method getPageWidth [line 2369]

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

    method getPathPaintOperator [line 19393]

    +

    method getPathPaintOperator [line 19862]

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

    method getPDFData [line 8971]

    +

    method getPDFData [line 9436]

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

    method getRemainingWidth [line 5466]

    +

    method getRemainingWidth [line 5480]

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

    method getRTL [line 2251]

    +

    method getRTL [line 2253]

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

    method getScaleFactor [line 2413]

    +

    method getScaleFactor [line 2415]

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

    method getSpaceString [line 15414]

    +

    method getSpaceString [line 15883]

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

    method getStringHeight [line 5088]

    +

    method getStringHeight [line 5102]

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

    method GetStringWidth [line 3560]

    +

    method GetStringWidth [line 3562]

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

    method getSVGTransformMatrix [line 19768]

    +

    method getSVGTransformMatrix [line 20237]

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

    method getTagStyleFromCSS [line 14781]

    +

    method getTagStyleFromCSS [line 15249]

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

    method getTransformationMatrixProduct [line 19872]

    +

    method getTransformationMatrixProduct [line 20341]

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

    method getUserPermissionCode [line 9491]

    +

    method getUserPermissionCode [line 9956]

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

    method getVectorsAngle [line 20503]

    +

    method getVectorsAngle [line 20972]

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

    method GetX [line 6233]

    +

    method GetX [line 6247]

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

    method GetY [line 6260]

    +

    method GetY [line 6274]

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

    method get_mqr [line 5905]

    +

    method get_mqr [line 5919]

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

    method Gradient [line 13398]

    +

    method Gradient [line 13866]

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

    method Header [line 3073]

    +

    method Header [line 3075]

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

    method hyphenateText [line 19320]

    +

    method hyphenateText [line 19789]

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

    method hyphenateWord [line 19211]

    +

    method hyphenateWord [line 19680]

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

    method Image [line 5615]

    +

    method Image [line 5629]

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

    method ImageEps [line 13742]

    +

    method ImageEps [line 14210]

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

    method ImagePngAlpha [line 6143]

    +

    method ImagePngAlpha [line 6157]

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

    method ImageSVG [line 19484]

    +

    method ImageSVG [line 19953]

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

    method IncludeJS [line 11528]

    +

    method IncludeJS [line 11996]

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

    method intToRoman [line 17820]

    +

    method intToRoman [line 18289]

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

    method isRTLTextDir [line 2295]

    +

    method isRTLTextDir [line 2297]

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

    method isValidCSSSelectorForTag [line 14622]

    +

    method isValidCSSSelectorForTag [line 15090]

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

    method lastPage [line 2788]

    +

    method lastPage [line 2790]

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

    method Line [line 10163]

    +

    method Line [line 10628]

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

    method LinearGradient [line 13248]

    +

    method LinearGradient [line 13716]

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

    method Link [line 4014]

    +

    method Link [line 4029]

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

    method ListBox [line 12237]

    +

    method ListBox [line 12705]

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

    method Ln [line 6202]

    +

    method Ln [line 6216]

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

    method MirrorH [line 9775]

    +

    method MirrorH [line 10240]

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

    method MirrorL [line 9811]

    +

    method MirrorL [line 10276]

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

    method MirrorP [line 9798]

    +

    method MirrorP [line 10263]

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

    method MirrorV [line 9786]

    +

    method MirrorV [line 10251]

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

    method movePage [line 18351]

    +

    method movePage [line 18820]

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

    method MultiCell [line 4722]

    +

    method MultiCell [line 4736]

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

    method objclone [line 18998]

    +

    method objclone [line 19467]

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

    method Open [line 2689]

    +

    method Open [line 2691]

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

    method openHTMLTagHandler [line 16620]

    +

    method openHTMLTagHandler [line 17089]

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

    method Output [line 6352]

    +

    method Output [line 6366]

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

    method PageNo [line 3276]

    +

    method PageNo [line 3278]

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

    method PageNoFormatted [line 12851]

    +

    method PageNoFormatted [line 13319]

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

    method PieSector [line 13681]

    +

    method PieSector [line 14149]

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

    method PieSectorXY [line 13702]

    +

    method PieSectorXY [line 14170]

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

    method pixelsToUnits [line 9090]

    +

    method pixelsToUnits [line 9555]

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

    method Polycurve [line 10274]

    +

    method Polycurve [line 10739]

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

    method Polygon [line 10480]

    +

    method Polygon [line 10945]

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

    method PolyLine [line 10461]

    +

    method PolyLine [line 10926]

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

    method putHtmlListBullet [line 17885]

    +

    method putHtmlListBullet [line 18354]

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

    method RadialGradient [line 13266]

    +

    method RadialGradient [line 13734]

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

    method RadioButton [line 12149]

    +

    method RadioButton [line 12617]

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

    method readDiskCache [line 18146]

    +

    method readDiskCache [line 18615]

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

    method Rect [line 10191]

    +

    method Rect [line 10656]

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

    method registrationMark [line 13217]

    +

    method registrationMark [line 13685]

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

    method RegularPolygon [line 10578]

    +

    method RegularPolygon [line 11043]

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

    method removeSHY [line 4275]

    +

    method removeSHY [line 4268]

    @@ -15430,7 +15442,7 @@ $txt = ''])

    - Removes SHY characters from text.



    + Removes SHY characters from text.

    Unicode Data:

    • Name : SOFT HYPHEN, commonly abbreviated as SHY
    • HTML Entity (decimal): ­
    • HTML Entity (hex): ­
    • HTML Entity (named): ­
    • How to type in Microsoft Windows: [Alt +00AD] or [Alt 0173]
    • UTF-8 (hex): 0xC2 0xAD (c2ad)
    • UTF-8 character: chr(194).chr(173)




    Tags:

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

    method revstrpos [line 19022]

    +

    method revstrpos [line 19491]

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

    method rfread [line 6113]

    +

    method rfread [line 6127]

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

    method rollbackTransaction [line 18969]

    +

    method rollbackTransaction [line 19438]

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

    method Rotate [line 9867]

    +

    method Rotate [line 10332]

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

    method RoundedRect [line 10668]

    +

    method RoundedRect [line 11133]

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

    method RoundedRectXY [line 10687]

    +

    method RoundedRectXY [line 11152]

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

    method Scale [line 9743]

    +

    method Scale [line 10208]

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

    method ScaleX [line 9703]

    +

    method ScaleX [line 10168]

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

    method ScaleXY [line 9729]

    +

    method ScaleXY [line 10194]

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

    method ScaleY [line 9716]

    +

    method ScaleY [line 10181]

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

    method segSVGContentHandler [line 20955]

    +

    method segSVGContentHandler [line 21424]

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

    method selectColumn [line 19085]

    +

    method selectColumn [line 19554]

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

    method serializeTCPDFtagParameters [line 19136]

    +

    method serializeTCPDFtagParameters [line 19605]

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

    method setAlpha [line 12966]

    +

    method setAlpha [line 13434]

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

    method SetAuthor [line 2638]

    +

    method SetAuthor [line 2640]

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

    method SetAutoPageBreak [line 2505]

    +

    method SetAutoPageBreak [line 2507]

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

    method setBarcode [line 14018]

    +

    method setBarcode [line 14486]

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

    method SetBooklet [line 17655]

    +

    method SetBooklet [line 18124]

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

    method setBuffer [line 18156]

    +

    method setBuffer [line 18625]

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

    method setCellHeightRatio [line 13000]

    +

    method setCellHeightRatio [line 13468]

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

    method SetCellPadding [line 2493]

    +

    method SetCellPadding [line 2495]

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

    method setColumnsArray [line 19072]

    +

    method setColumnsArray [line 19541]

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

    method SetCompression [line 2598]

    +

    method SetCompression [line 2600]

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

    method setContentMark [line 2951]

    +

    method setContentMark [line 2953]

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

    method SetCreator [line 2662]

    +

    method SetCreator [line 2664]

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

    method SetDefaultMonospacedFont [line 3964]

    +

    method SetDefaultMonospacedFont [line 3979]

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

    method setDefaultTableColumns [line 12990]

    +

    method setDefaultTableColumns [line 13458]

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

    method SetDisplayMode [line 2520]

    +

    method SetDisplayMode [line 2522]

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

    method SetDrawColor [line 3331]

    +

    method SetDrawColor [line 3333]

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

    method SetDrawColorArray [line 3308]

    +

    method SetDrawColorArray [line 3310]

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

    method SetDrawSpotColor [line 3372]

    +

    method SetDrawSpotColor [line 3374]

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

    method setEqualColumns [line 19039]

    +

    method setEqualColumns [line 19508]

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

    method setExtGState [line 12932]

    +

    method setExtGState [line 13400]

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

    method SetFillColor [line 3414]

    +

    method SetFillColor [line 3416]

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

    method SetFillColorArray [line 3391]

    +

    method SetFillColorArray [line 3393]

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

    method SetFillSpotColor [line 3456]

    +

    method SetFillSpotColor [line 3458]

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

    method SetFont [line 3877]

    +

    method SetFont [line 3892]

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

    @@ -17231,6 +17244,9 @@ $fontfile = ''])

    Tags:

    + + + @@ -17267,6 +17283,11 @@ $fontfile = '']) + + + + +
    author:  Nicola Asuni
    see:  TCPDF::AddFont(), TCPDF::SetFontSize()
    string   $fontfile   The font definition file. By default, the name is built from the family and style, in lower case with no spaces.
    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.

    @@ -17274,7 +17295,7 @@ $fontfile = ''])

    -

    method setFontBuffer [line 18292]

    +

    method setFontBuffer [line 18761]

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

    method SetFontSize [line 3897]

    +

    method SetFontSize [line 3912]

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

    method setFontSubBuffer [line 18314]

    +

    method setFontSubBuffer [line 18783]

    @@ -17412,7 +17433,7 @@ $data)
    -

    method setFooter [line 3186]

    +

    method setFooter [line 3188]

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

    method setFooterFont [line 8938]

    +

    method setFooterFont [line 9403]

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

    method setFooterMargin [line 3019]

    +

    method setFooterMargin [line 3021]

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

    method setFormDefaultProp [line 12029]

    +

    method setFormDefaultProp [line 12497]

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

    method setGraphicVars [line 18065]

    +

    method setGraphicVars [line 18534]

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

    method setHeader [line 3150]

    +

    method setHeader [line 3152]

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

    method setHeaderData [line 2970]

    +

    method setHeaderData [line 2972]

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

    method setHeaderFont [line 8918]

    +

    method setHeaderFont [line 9383]

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

    method setHeaderMargin [line 2999]

    +

    method setHeaderMargin [line 3001]

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

    method setHtmlLinksStyle [line 17726]

    +

    method setHtmlLinksStyle [line 18195]

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

    method setHtmlVSpace [line 17695]

    +

    method setHtmlVSpace [line 18164]

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

    method setImageBuffer [line 18233]

    +

    method setImageBuffer [line 18702]

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

    method setImageScale [line 2327]

    +

    method setImageScale [line 2329]

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

    method setImageSubBuffer [line 18256]

    +

    method setImageSubBuffer [line 18725]

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

    method setJPEGQuality [line 12977]

    +

    method setJPEGQuality [line 13445]

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

    method SetKeywords [line 2650]

    +

    method SetKeywords [line 2652]

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

    method setLanguageArray [line 8958]

    +

    method setLanguageArray [line 9423]

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

    method setLastH [line 2306]

    +

    method setLastH [line 2308]

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

    method SetLeftMargin [line 2449]

    +

    method SetLeftMargin [line 2451]

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

    method SetLineStyle [line 10018]

    +

    method SetLineStyle [line 10483]

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

    method SetLineWidth [line 9977]

    +

    method SetLineWidth [line 10442]

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

    method SetLink [line 3991]

    +

    method SetLink [line 4006]

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

    method setListIndentWidth [line 17705]

    +

    method setListIndentWidth [line 18174]

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

    method setLIsymbol [line 17616]

    +

    method setLIsymbol [line 18085]

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

    method SetMargins [line 2427]

    +

    method SetMargins [line 2429]

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

    method setOpenCell [line 17715]

    +

    method setOpenCell [line 18184]

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

    method setPage [line 2741]

    +

    method setPage [line 2743]

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

    method setPageBoxes [line 2082]

    +

    method setPageBoxes [line 2084]

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

    method setPageBuffer [line 18190]

    +

    method setPageBuffer [line 18659]

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

    method setPageFormat [line 1965]

    +

    method setPageFormat [line 1967]

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

    method setPageMark [line 2939]

    +

    method setPageMark [line 2941]

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

    method setPageOrientation [line 2126]

    +

    method setPageOrientation [line 2128]

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

    method setPageUnit [line 1857]

    +

    method setPageUnit [line 1859]

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

    method setPDFVersion [line 13019]

    +

    method setPDFVersion [line 13487]

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

    method setPrintFooter [line 3046]

    +

    method setPrintFooter [line 3048]

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

    method setPrintHeader [line 3037]

    +

    method setPrintHeader [line 3039]

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

    method SetProtection [line 9535]

    +

    method SetProtection [line 10000]

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

    method setRasterizeVectorImages [line 19367]

    +

    method setRasterizeVectorImages [line 19836]

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

    method SetRightMargin [line 2479]

    +

    method SetRightMargin [line 2481]

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

    method setRTL [line 2235]

    +

    method setRTL [line 2237]

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

    method setSignature [line 12681]

    +

    method setSignature [line 13149]

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

    method setSpacesRE [line 2220]

    +

    method setSpacesRE [line 2222]

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

    method SetSubject [line 2626]

    +

    method SetSubject [line 2628]

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

    method setSVGStyles [line 19929]

    +

    method setSVGStyles [line 20398]

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

    method setTableHeader [line 3232]

    +

    method setTableHeader [line 3234]

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

    method setTempRTL [line 2261]

    +

    method setTempRTL [line 2263]

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

    method SetTextColor [line 3498]

    +

    method SetTextColor [line 3500]

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

    method SetTextColorArray [line 3475]

    +

    method SetTextColorArray [line 3477]

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

    method setTextRenderingMode [line 19148]

    +

    method setTextRenderingMode [line 19617]

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

    method SetTextSpotColor [line 3537]

    +

    method SetTextSpotColor [line 3539]

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

    method SetTitle [line 2614]

    +

    method SetTitle [line 2616]

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

    method SetTopMargin [line 2464]

    +

    method SetTopMargin [line 2466]

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

    method setUserRights [line 12648]

    +

    method setUserRights [line 13116]

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

    method setViewerPreferences [line 13032]

    +

    method setViewerPreferences [line 13500]

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

    method setVisibility [line 12877]

    +

    method setVisibility [line 13345]

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

    method SetX [line 6273]

    +

    method SetX [line 6287]

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

    method SetXY [line 6337]

    +

    method SetXY [line 6351]

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

    method SetY [line 6305]

    +

    method SetY [line 6319]

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

    method set_mqr [line 5890]

    +

    method set_mqr [line 5904]

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

    method Skew [line 9923]

    +

    method Skew [line 10388]

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

    method SkewX [line 9896]

    +

    method SkewX [line 10361]

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

    method SkewY [line 9909]

    +

    method SkewY [line 10374]

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

    method StarPolygon [line 10626]

    +

    method StarPolygon [line 11091]

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

    method startPage [line 2895]

    +

    method startPage [line 2897]

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

    method startPageGroup [line 12710]

    +

    method startPageGroup [line 13178]

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

    method startSVGElementHandler [line 20526]

    +

    method startSVGElementHandler [line 20995]

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

    method startTransaction [line 18938]

    +

    method startTransaction [line 19407]

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

    method StartTransform [line 9671]

    +

    method StartTransform [line 10136]

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

    method StopTransform [line 9686]

    +

    method StopTransform [line 10151]

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

    method SVGPath [line 20185]

    +

    method SVGPath [line 20654]

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

    method SVGTransform [line 19910]

    +

    method SVGTransform [line 20379]

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

    method swapMargins [line 17671]

    +

    method swapMargins [line 18140]

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

    method swapPageBoxCoordinates [line 2103]

    +

    method swapPageBoxCoordinates [line 2105]

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

    method Text [line 4153]

    +

    method Text [line 4168]

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

    method TextField [line 12058]

    +

    method TextField [line 12526]

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

    method Transform [line 9953]

    +

    method Transform [line 10418]

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

    method Translate [line 9846]

    +

    method Translate [line 10311]

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

    method TranslateX [line 9823]

    +

    method TranslateX [line 10288]

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

    method TranslateY [line 9834]

    +

    method TranslateY [line 10299]

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

    method unhtmlentities [line 9101]

    +

    method unhtmlentities [line 9566]

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

    method UniArrSubString [line 5505]

    +

    method UniArrSubString [line 5519]

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

    method unichr [line 5538]

    +

    method unichr [line 5552]

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

    method UTF8ArrayToUniArray [line 5526]

    +

    method UTF8ArrayToUniArray [line 5540]

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

    method UTF8ArrSubString [line 5482]

    +

    method UTF8ArrSubString [line 5496]

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

    method UTF8ArrToLatin1 [line 8828]

    +

    method UTF8ArrToLatin1 [line 9293]

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

    method utf8Bidi [line 10848]

    +

    method utf8Bidi [line 11313]

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

    method utf8StrArrRev [line 10834]

    +

    method utf8StrArrRev [line 11299]

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

    method UTF8StringToArray [line 8691]

    +

    method UTF8StringToArray [line 9146]

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

    method utf8StrRev [line 10819]

    +

    method utf8StrRev [line 11284]

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

    method UTF8ToLatin1 [line 8798]

    +

    method UTF8ToLatin1 [line 9263]

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

    method UTF8ToUTF16BE [line 8782]

    +

    method UTF8ToUTF16BE [line 9247]

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

    method Write [line 5128]

    +

    method Write [line 5142]

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

    method write1DBarcode [line 14047]

    +

    method write1DBarcode [line 14515]

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

    method write2DBarcode [line 14289]

    +

    method write2DBarcode [line 14757]

    @@ -22029,7 +22050,7 @@ $align = ''])
    -

    method writeBarcode [line 14239]

    +

    method writeBarcode [line 14707]

    @@ -22119,7 +22140,7 @@ $code)
    -

    method writeDiskCache [line 18118]

    +

    method writeDiskCache [line 18587]

    @@ -22176,7 +22197,7 @@ $file)
    -

    method writeHTML [line 15458]

    +

    method writeHTML [line 15927]

    @@ -22242,7 +22263,7 @@ $align = ''])
    -

    method writeHTMLCell [line 15442]

    +

    method writeHTMLCell [line 15911]

    @@ -22344,7 +22365,7 @@ $autopadding = true])
    -

    method _addfield [line 11630]

    +

    method _addfield [line 12098]

    @@ -22422,7 +22443,7 @@ $prop)
    -

    method _AES [line 9323]

    +

    method _AES [line 9788]

    @@ -22473,7 +22494,7 @@ $text)
    -

    method _beginpage [line 8370]

    +

    method _beginpage [line 8825]

    @@ -22515,7 +22536,7 @@ $format = ''])
    -

    method _dataannobjstring [line 8547]

    +

    method _dataannobjstring [line 9002]

    @@ -22554,7 +22575,7 @@ $s)
    -

    method _datastring [line 8536]

    +

    method _datastring [line 8991]

    @@ -22593,7 +22614,7 @@ $s)
    -

    method _datestring [line 8558]

    +

    method _datestring [line 9013]

    @@ -22624,7 +22645,7 @@ $s)
    -

    method _destroy [line 6546]

    +

    method _destroy [line 6560]

    @@ -22669,7 +22690,7 @@ $preserve_objcopy = false])
    -

    method _dochecks [line 6574]

    +

    method _dochecks [line 6588]

    @@ -22694,7 +22715,7 @@ $preserve_objcopy = false])
    -

    method _dolinethrough [line 8463]

    +

    method _dolinethrough [line 8918]

    @@ -22742,7 +22763,7 @@ $txt)
    -

    method _dolinethroughw [line 8476]

    +

    method _dolinethroughw [line 8931]

    @@ -22799,7 +22820,7 @@ $txt)
    -

    method _dooverline [line 8489]

    +

    method _dooverline [line 8944]

    @@ -22850,7 +22871,7 @@ $txt)
    -

    method _dooverlinew [line 8502]

    +

    method _dooverlinew [line 8957]

    @@ -22901,7 +22922,7 @@ $w)
    -

    method _dounderline [line 8438]

    +

    method _dounderline [line 8893]

    @@ -22949,7 +22970,7 @@ $txt)
    -

    method _dounderlinew [line 8451]

    +

    method _dounderlinew [line 8906]

    @@ -23000,7 +23021,7 @@ $w)
    -

    method _encrypt_data [line 9134]

    +

    method _encrypt_data [line 9599]

    @@ -23048,7 +23069,7 @@ $s)
    -

    method _enddoc [line 8269]

    +

    method _enddoc [line 8724]

    @@ -23073,7 +23094,7 @@ $s)
    -

    method _endpage [line 8414]

    +

    method _endpage [line 8869]

    @@ -23098,7 +23119,7 @@ $s)
    -

    method _escape [line 8525]

    +

    method _escape [line 8980]

    @@ -23137,7 +23158,7 @@ $s)
    -

    method _escapetext [line 8597]

    +

    method _escapetext [line 9052]

    @@ -23176,7 +23197,7 @@ $s)
    -

    method _freadint [line 8514]

    +

    method _freadint [line 8969]

    @@ -23186,7 +23207,7 @@ $f)

    - Read a 4-byte integer from file.



    + Read a 4-byte (32 bit) integer from file.



    Tags:

    @@ -23215,7 +23236,7 @@ $f)
    -

    method _generateencryptionkey [line 9410]

    +

    method _generateencryptionkey [line 9875]

    @@ -23269,7 +23290,7 @@ $protection)
    -

    method _getannotsrefs [line 6819]

    +

    method _getannotsrefs [line 6833]

    @@ -23309,9 +23330,72 @@ $n)
    [ Top ]
    +
    + +

    method _getBYTE [line 7556]

    +
    +
    +
    + int _getBYTE( + +&$str, +&$offset, string +$str, int +$offset) +
    +

    + + Get BYTE from string (8-bit unsigned integer).



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    return:  8 bit value
    author:  Nicola Asuni
    since:  5.2.000 (2010-06-02)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + + + + + + + + + + + +
    string  $str  string from where to extract value
    int  $offset  point from where to read the data
      &$str  
      &$offset  
    +

    +
    [ Top ]
    +

    -

    method _getfontpath [line 6590]

    +

    method _getfontpath [line 6604]

    @@ -23334,9 +23418,72 @@ $n)
    [ Top ]
    +
    + +

    method _getSHORT [line 7541]

    +
    +
    +
    + int _getSHORT( + +&$str, +&$offset, string +$str, int +$offset) +
    +

    + + Get SHORT from string (Big Endian 16-bit signed integer).



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    return:  16 bit value
    author:  Nicola Asuni
    since:  5.2.000 (2010-06-02)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + + + + + + + + + + + +
    string  $str  string from where to extract value
    int  $offset  point from where to read the data
      &$str  
      &$offset  
    +

    +
    [ Top ]
    +

    -

    method _getstream [line 8615]

    +

    method _getstream [line 9070]

    @@ -23376,9 +23523,237 @@ $n = 0])
    [ Top ]
    +
    + +

    method _getTrueTypeFontSubset [line 7571]

    +
    +
    +
    + string _getTrueTypeFontSubset( +string +$font, array +$subsetchars) +
    +

    + + Returns a subset of the TrueType font data without the unused glyphs.



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    return:  a subset of TrueType font data without the unused glyphs
    author:  Nicola Asuni
    since:  5.2.000 (2010-06-02)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + +
    string  $font  TrueType font data
    array  $subsetchars  array of used characters (the glyphs to keep)
    +

    +
    [ Top ]
    +
    +
    + +

    method _getTTFtableChecksum [line 7900]

    +
    +
    +
    + int _getTTFtableChecksum( +string +$table, int +$length) +
    +

    + + Returs the checksum of a TTF table.



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    return:  checksum
    author:  Nicola Asuni
    since:  5.2.000 (2010-06-02)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + +
    string  $table  table to check
    int  $length  lenght of table in bytes
    +

    +
    [ Top ]
    +
    +
    + +

    method _getULONG [line 7511]

    +
    +
    +
    + int _getULONG( + +&$str, +&$offset, string +$str, int +$offset) +
    +

    + + Get ULONG from string (Big Endian 32-bit unsigned integer).



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    return:  32 bit value
    author:  Nicola Asuni
    since:  5.2.000 (2010-06-02)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + + + + + + + + + + + +
    string  $str  string from where to extract value
    int  $offset  point from where to read the data
      &$str  
      &$offset  
    +

    +
    [ Top ]
    +
    +
    + +

    method _getUSHORT [line 7526]

    +
    +
    +
    + int _getUSHORT( + +&$str, +&$offset, string +$str, int +$offset) +
    +

    + + Get USHORT from string (Big Endian 16-bit unsigned integer).



    +

    Tags:

    +
    + + + + + + + + + + + + + +
    return:  16 bit value
    author:  Nicola Asuni
    since:  5.2.000 (2010-06-02)
    access:  protected
    +
    +

    + + +

    Parameters:

    +
    + + + + + + + + + + + + + + + + + + + + + +
    string  $str  string from where to extract value
    int  $offset  point from where to read the data
      &$str  
      &$offset  
    +

    +
    [ Top ]
    +

    -

    method _JScolor [line 11606]

    +

    method _JScolor [line 12074]

    @@ -23420,7 +23795,7 @@ $color)
    -

    method _md5_16 [line 9341]

    +

    method _md5_16 [line 9806]

    @@ -23465,7 +23840,7 @@ $str)
    -

    method _newobj [line 8424]

    +

    method _newobj [line 8879]

    @@ -23493,7 +23868,7 @@ $str)
    -

    method _objectkey [line 9115]

    +

    method _objectkey [line 9580]

    @@ -23535,7 +23910,7 @@ $n)
    -

    method _out [line 8639]

    +

    method _out [line 9094]

    @@ -23571,7 +23946,7 @@ $s)
    -

    method _outCurve [line 10118]

    +

    method _outCurve [line 10583]

    @@ -23640,7 +24015,7 @@ $y3)
    -

    method _outCurveV [line 10132]

    +

    method _outCurveV [line 10597]

    @@ -23697,7 +24072,7 @@ $y3)
    -

    method _outCurveY [line 10148]

    +

    method _outCurveY [line 10613]

    @@ -23766,7 +24141,7 @@ $y2)
    -

    method _outellipticalarc [line 10345]

    +

    method _outellipticalarc [line 10810]

    @@ -23874,7 +24249,7 @@ $angf:)
    -

    method _outLine [line 10088]

    +

    method _outLine [line 10553]

    @@ -23919,7 +24294,7 @@ $y)
    -

    method _outPoint [line 10076]

    +

    method _outPoint [line 10541]

    @@ -23964,7 +24339,7 @@ $y)
    -

    method _outRect [line 10102]

    +

    method _outRect [line 10567]

    @@ -24027,7 +24402,7 @@ $op)
    -

    method _Ovalue [line 9354]

    +

    method _Ovalue [line 9819]

    @@ -24078,7 +24453,7 @@ $owner_pass)
    -

    method _parsejpeg [line 5982]

    +

    method _parsejpeg [line 5996]

    @@ -24117,7 +24492,7 @@ $file)
    -

    method _parsepng [line 6008]

    +

    method _parsepng [line 6022]

    @@ -24156,7 +24531,7 @@ $file)
    -

    method _putannotsobjs [line 6851]

    +

    method _putannotsobjs [line 6865]

    @@ -24187,7 +24562,7 @@ $file)
    -

    method _putannotsrefs [line 6807]

    +

    method _putannotsrefs [line 6821]

    @@ -24232,7 +24607,7 @@ $n)
    -

    method _putAPXObject [line 7463]

    +

    method _putAPXObject [line 7477]

    @@ -24286,7 +24661,7 @@ $stream = ''])
    -

    method _putbookmarks [line 11447]

    +

    method _putbookmarks [line 11915]

    @@ -24317,7 +24692,7 @@ $stream = ''])
    -

    method _putcatalog [line 8087]

    +

    method _putcatalog [line 8542]

    @@ -24342,7 +24717,7 @@ $stream = ''])
    -

    method _putcidfont0 [line 7821]

    +

    method _putcidfont0 [line 8276]

    @@ -24387,7 +24762,7 @@ $font)
    -

    method _putEmbeddedFiles [line 4111]

    +

    method _putEmbeddedFiles [line 4126]

    @@ -24418,7 +24793,7 @@ $font)
    -

    method _putencryption [line 9158]

    +

    method _putencryption [line 9623]

    @@ -24449,7 +24824,7 @@ $font)
    -

    method _putextgstates [line 12942]

    +

    method _putextgstates [line 13410]

    @@ -24488,7 +24863,7 @@ $gs)
    -

    method _putfonts [line 7492]

    +

    method _putfonts [line 8021]

    @@ -24501,6 +24876,9 @@ $gs)

    Tags:

    + + + @@ -24513,7 +24891,7 @@ $gs)
    -

    method _putfontwidths [line 7629]

    +

    method _putfontwidths [line 7922]

    author:  Nicola Asuni
    access:  protected
    @@ -24564,7 +24942,7 @@ $cidoffset = 0])
    -

    method _putheader [line 8261]

    +

    method _putheader [line 8716]

    @@ -24589,7 +24967,7 @@ $cidoffset = 0])
    -

    method _putimages [line 7888]

    +

    method _putimages [line 8343]

    @@ -24614,7 +24992,7 @@ $cidoffset = 0])
    -

    method _putinfo [line 8043]

    +

    method _putinfo [line 8498]

    @@ -24639,7 +25017,7 @@ $cidoffset = 0])
    -

    method _putjavascript [line 11553]

    +

    method _putjavascript [line 12021]

    @@ -24670,7 +25048,7 @@ $cidoffset = 0])
    -

    method _putocg [line 12860]

    +

    method _putocg [line 13328]

    @@ -24698,7 +25076,7 @@ $cidoffset = 0])
    -

    method _putpages [line 6601]

    +

    method _putpages [line 6615]

    @@ -24723,7 +25101,7 @@ $cidoffset = 0])
    -

    method _putresourcedict [line 7960]

    +

    method _putresourcedict [line 8415]

    @@ -24748,7 +25126,7 @@ $cidoffset = 0])
    -

    method _putresources [line 8020]

    +

    method _putresources [line 8475]

    @@ -24773,7 +25151,7 @@ $cidoffset = 0])
    -

    method _putshaders [line 13496]

    +

    method _putshaders [line 13964]

    @@ -24804,7 +25182,7 @@ $cidoffset = 0])
    -

    method _putsignature [line 12578]

    +

    method _putsignature [line 13046]

    @@ -24835,7 +25213,7 @@ $cidoffset = 0])
    -

    method _putspotcolors [line 7942]

    +

    method _putspotcolors [line 8397]

    @@ -24863,7 +25241,7 @@ $cidoffset = 0])
    -

    method _putstream [line 8630]

    +

    method _putstream [line 9085]

    @@ -24905,7 +25283,7 @@ $n = 0])
    -

    method _puttrailer [line 8244]

    +

    method _puttrailer [line 8699]

    @@ -24930,7 +25308,7 @@ $n = 0])
    -

    method _puttruetypeunicode [line 7728]

    +

    method _puttruetypeunicode [line 8174]

    diff --git a/examples/example_001.php b/examples/example_001.php index ff6d2aa..2a7a223 100755 --- a/examples/example_001.php +++ b/examples/example_001.php @@ -69,11 +69,11 @@ $pdf->setLanguageArray($l); // --------------------------------------------------------- -// Set font +// 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); +$pdf->SetFont('dejavusans', '', 14, true); // Add a page // This method has several options, check the source code documentation for more information. @@ -98,6 +98,6 @@ $pdf->writeHTMLCell($w=0, $h=0, $x='', $y='', $html, $border=0, $ln=1, $fill=0, $pdf->Output('example_001.pdf', 'I'); //============================================================+ -// END OF FILE +// END OF FILE //============================================================+ ?> diff --git a/examples/example_014.php b/examples/example_014.php index 7297787..f3641f2 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-05-20 +// Last Update : 2010-06-02 // // Description : Example 014 for TCPDF class // Javascript Form and user rights (only works on Adobe Acrobat) @@ -70,7 +70,8 @@ $pdf->setLanguageArray($l); // --------------------------------------------------------- // set font -$pdf->SetFont('helvetica', '', 10); +// IMPORTANT: disable font subsetting to allow users editing the document +$pdf->SetFont('helvetica', '', 10, false); // add a page $pdf->AddPage(); @@ -186,6 +187,6 @@ $pdf->IncludeJS($js); $pdf->Output('example_014.pdf', 'I'); //============================================================+ -// END OF FILE +// END OF FILE //============================================================+ ?> diff --git a/examples/example_054.php b/examples/example_054.php index 0c95c2e..1943df5 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-05-20 +// Last Update : 2010-06-02 // // Description : Example 054 for TCPDF class // XHTML Forms @@ -70,7 +70,8 @@ $pdf->setLanguageArray($l); // --------------------------------------------------------- // set font -$pdf->SetFont('dejavusans', '', 10); +// IMPORTANT: disable font subsetting to allow users editing the document +$pdf->SetFont('helvetica', '', 10, false); // add a page $pdf->AddPage(); @@ -124,6 +125,6 @@ $pdf->lastPage(); $pdf->Output('example_054.pdf', 'I'); //============================================================+ -// END OF FILE +// END OF FILE //============================================================+ ?> diff --git a/fonts/utils/README.TXT b/fonts/utils/README.TXT index 4b1f553..103ac31 100755 --- a/fonts/utils/README.TXT +++ b/fonts/utils/README.TXT @@ -2,7 +2,12 @@ TCPDF Fonts TCPDF supports TrueTypeUnicode (UTF-8 Unicode), OpenTypeUnicode, TrueType, OpenType, Type1, CID-0 and Core (standard) fonts. -There are two ways to use a new font: embedding it in the PDF or not. When a font is not embedded, it is searched in the system. The advantage is that the PDF file is lighter; on the other hand, if it is not available, a substitution font is used. So it is preferable to ensure that the needed font is installed on the client systems. If the file is to be viewed by a large audience, it is recommended to embed. +There are two ways to use a new font: embedding it in the PDF (with or without subsetting) or not. When a font is not embedded, it is searched in the system. The advantage is that the PDF file is lighter; on the other hand, if it is not available, a substitution font is used. So it is preferable to ensure that the needed font is installed on the client systems. If the file is to be viewed by a large audience, it is recommended to embed. + +TCPDF support font subsetting 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. +The option for enabling/disabling the font subsetting are explained on the source code documentation for methods SetFont() and AddFont(). The fonts that could be not embedded are only the standard core fonts and CID-0 fonts. diff --git a/tcpdf.php b/tcpdf.php index b85bfc2..408794b 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -2,9 +2,9 @@ //============================================================+ // File name : tcpdf.php // Begin : 2002-08-03 -// Last Update : 2010-05-27 +// Last Update : 2010-06-02 // Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org -// Version : 5.1.002 +// Version : 5.2.000 // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // ---------------------------------------------------------------------------- // Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l. @@ -38,6 +38,7 @@ // * all ISO page formats, custom page formats, custom margins and units of measure; // * UTF-8 Unicode and Right-To-Left languages; // * TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts; +// * Font subsetting; // * methods to publish some XHTML + CSS code, Javascript and Forms; // * images, graphic (geometric figures) and transformation methods; // * supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html) @@ -97,6 +98,7 @@ *
  • all ISO page formats, custom page formats, custom margins and units of measure;
  • *
  • UTF-8 Unicode and Right-To-Left languages;
  • *
  • TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
  • + *
  • Font subsetting;
  • *
  • methods to publish some XHTML + CSS code, Javascript and Forms;
  • *
  • images, graphic (geometric figures) and transformation methods; *
  • supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)
  • @@ -122,7 +124,7 @@ * @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 * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version 5.1.002 + * @version 5.2.000 */ /** @@ -146,14 +148,14 @@ if (!class_exists('TCPDF', false)) { /** * define default PDF document producer */ - define('PDF_PRODUCER', 'TCPDF 5.1.002 (http://www.tcpdf.org)'); + define('PDF_PRODUCER', 'TCPDF 5.2.000 (http://www.tcpdf.org)'); /** * This is a PHP class for generating PDF documents without requiring external extensions.
    * 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.1.002 + * @version 5.2.000 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -3666,11 +3668,12 @@ 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. * @access public * @since 1.5 * @see SetFont() */ - public function AddFont($family, $style='', $fontfile='') { + public function AddFont($family, $style='', $fontfile='', $subset=true) { if ($this->empty_string($family)) { if (!$this->empty_string($this->FontFamily)) { $family = $this->FontFamily; @@ -3833,7 +3836,9 @@ if (!class_exists('TCPDF', false)) { } else { $this->Error('Unknow font type: '.$type.''); } - $this->setFontBuffer($fontkey, array('i' => $this->numfonts, 'type' => $type, 'name' => $name, 'desc' => $desc, 'up' => $up, 'ut' => $ut, 'cw' => $cw, 'dw' => $dw, 'enc' => $enc, 'cidinfo' => $cidinfo, 'file' => $file, 'ctg' => $ctg)); + // initialize subsetchars to contain default ASCII values (0-255) + $subsetchars = array_fill(0, 256, true); + $this->setFontBuffer($fontkey, array('fontkey' => $fontkey, 'i' => $this->numfonts, 'type' => $type, 'name' => $name, 'desc' => $desc, 'up' => $up, 'ut' => $ut, 'cw' => $cw, 'dw' => $dw, 'enc' => $enc, 'cidinfo' => $cidinfo, 'file' => $file, 'ctg' => $ctg, 'subset' => $subset, 'subsetchars' => $subsetchars)); if (isset($diff) AND (!empty($diff))) { //Search existing encodings $d = 0; @@ -3851,10 +3856,18 @@ if (!class_exists('TCPDF', false)) { $this->setFontSubBuffer($fontkey, 'diff', $d); } if (!$this->empty_string($file)) { - if ((strcasecmp($type,'TrueType') == 0) OR (strcasecmp($type, 'TrueTypeUnicode') == 0)) { - $this->FontFiles[$file] = array('length1' => $originalsize, 'fontdir' => $fontdir); - } elseif ($type != 'core') { - $this->FontFiles[$file] = array('length1' => $size1, 'length2' => $size2, 'fontdir' => $fontdir); + if (!isset($this->FontFiles[$file])) { + if ((strcasecmp($type,'TrueType') == 0) OR (strcasecmp($type, 'TrueTypeUnicode') == 0)) { + $this->FontFiles[$file] = array('length1' => $originalsize, 'fontdir' => $fontdir, 'subset' => $subset, 'fontkeys' => array($fontkey)); + } elseif ($type != 'core') { + $this->FontFiles[$file] = array('length1' => $size1, 'length2' => $size2, 'fontdir' => $fontdir, 'subset' => $subset, 'fontkeys' => array($fontkey)); + } + } else { + // update fontkeys that are sharing this font file + $this->FontFiles[$file]['subset'] = ($this->FontFiles[$file]['subset'] AND $subset); + if (!in_array($fontkey, $this->FontFiles[$file]['fontkeys'])) { + $this->FontFiles[$file]['fontkeys'][] = $fontkey; + } } } return $fontdata; @@ -3870,17 +3883,19 @@ 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. + * @author Nicola Asuni * @access public * @since 1.0 * @see AddFont(), SetFontSize() */ - public function SetFont($family, $style='', $size=0, $fontfile='') { + public function SetFont($family, $style='', $size=0, $fontfile='', $subset=true) { //Select a font; size given in points if ($size == 0) { $size = $this->FontSizePt; } // try to add font (if not already added) - $fontdata = $this->AddFont($family, $style, $fontfile); + $fontdata = $this->AddFont($family, $style, $fontfile, $subset); $this->FontFamily = $fontdata['family']; $this->FontStyle = $fontdata['style']; $this->CurrentFont = $this->getFontBuffer($fontdata['fontkey']); @@ -4234,6 +4249,30 @@ if (!class_exists('TCPDF', false)) { return false; } + /** + * Removes SHY characters from text. + * Unicode Data:
      + *
    • Name : SOFT HYPHEN, commonly abbreviated as SHY
    • + *
    • HTML Entity (decimal): ­
    • + *
    • HTML Entity (hex): ­
    • + *
    • HTML Entity (named): ­
    • + *
    • How to type in Microsoft Windows: [Alt +00AD] or [Alt 0173]
    • + *
    • UTF-8 (hex): 0xC2 0xAD (c2ad)
    • + *
    • UTF-8 character: chr(194).chr(173)
    • + *
    + * @param string $txt input string + * @return string without SHY characters. + * @access public + * @since (4.5.019) 2009-02-28 + */ + public function removeSHY($txt='') { + $txt = preg_replace('/([\\xc2]{1}[\\xad]{1})/', '', $txt); + if (!$this->isunicode) { + $txt = preg_replace('/([\\xad]{1})/', '', $txt); + } + return $txt; + } + /** * Prints a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.
    * If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting. @@ -4265,31 +4304,6 @@ if (!class_exists('TCPDF', false)) { $this->_out($this->getCellCode($w, $h, $txt, $border, $ln, $align, $fill, $link, $stretch, $ignore_min_height, $calign, $valign)); } - /** - * Removes SHY characters from text. - * @param string $txt input string - * @return string without SHY characters. - * @access public - * @since (4.5.019) 2009-02-28 - */ - public function removeSHY($txt='') { - /* - * Unicode Data - * Name : SOFT HYPHEN, commonly abbreviated as SHY - * HTML Entity (decimal): ­ - * HTML Entity (hex): ­ - * HTML Entity (named): ­ - * How to type in Microsoft Windows: [Alt +00AD] or [Alt 0173] - * UTF-8 (hex): 0xC2 0xAD (c2ad) - * UTF-8 character: chr(194).chr(173) - */ - $txt = preg_replace('/([\\xc2]{1}[\\xad]{1})/', '', $txt); - if (!$this->isunicode) { - $txt = preg_replace('/([\\xad]{1})/', '', $txt); - } - return $txt; - } - /** * Returns the PDF string code to print a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.
    * If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting. @@ -7486,135 +7500,414 @@ if (!class_exists('TCPDF', false)) { } /** - * Output fonts. + * Get ULONG from string (Big Endian 32-bit unsigned integer). + * @parameter string $str string from where to extract value + * @parameter int $offset point from where to read the data + * @return int 32 bit value + * @author Nicola Asuni * @access protected + * @since 5.2.000 (2010-06-02) */ - protected function _putfonts() { - $nf = $this->n; - foreach ($this->diffs as $diff) { - //Encodings - $this->_newobj(); - $this->_out('<> endobj'); + protected function _getULONG(&$str, &$offset) { + $v = unpack('Ni', substr($str, $offset, 4)); + $offset += 4; + return $v['i']; + } + + /** + * Get USHORT from string (Big Endian 16-bit unsigned integer). + * @parameter string $str string from where to extract value + * @parameter int $offset point from where to read the data + * @return int 16 bit value + * @author Nicola Asuni + * @access protected + * @since 5.2.000 (2010-06-02) + */ + protected function _getUSHORT(&$str, &$offset) { + $v = unpack('ni', substr($str, $offset, 2)); + $offset += 2; + return $v['i']; + } + + /** + * Get SHORT from string (Big Endian 16-bit signed integer). + * @parameter string $str string from where to extract value + * @parameter int $offset point from where to read the data + * @return int 16 bit value + * @author Nicola Asuni + * @access protected + * @since 5.2.000 (2010-06-02) + */ + protected function _getSHORT(&$str, &$offset) { + $v = unpack('si', substr($str, $offset, 2)); + $offset += 2; + return $v['i']; + } + + /** + * Get BYTE from string (8-bit unsigned integer). + * @parameter string $str string from where to extract value + * @parameter int $offset point from where to read the data + * @return int 8 bit value + * @author Nicola Asuni + * @access protected + * @since 5.2.000 (2010-06-02) + */ + protected function _getBYTE(&$str, &$offset) { + $v = unpack('Ci', substr($str, $offset, 1)); + ++$offset; + return $v['i']; + } + + /** + * Returns a subset of the TrueType font data without the unused glyphs. + * @parameter string $font TrueType font data + * @parameter array $subsetchars array of used characters (the glyphs to keep) + * @return string a subset of TrueType font data without the unused glyphs + * @author Nicola Asuni + * @access protected + * @since 5.2.000 (2010-06-02) + */ + protected function _getTrueTypeFontSubset($font, $subsetchars) { + ksort($subsetchars); + $offset = 0; // offset position of the font data + if ($this->_getULONG($font, $offset) != 0x10000) { + // sfnt version must be 0x00010000 for TrueType version 1.0. + return $font; } - $mqr = $this->get_mqr(); - $this->set_mqr(false); - foreach ($this->FontFiles as $file => $info) { - // search and get font file to embedd - $fontdir = $info['fontdir']; - $file = strtolower($file); - $fontfile = ''; - // search files on various directories - if (($fontdir !== false) AND file_exists($fontdir.$file)) { - $fontfile = $fontdir.$file; - } elseif (file_exists($this->_getfontpath().$file)) { - $fontfile = $this->_getfontpath().$file; - } elseif (file_exists($file)) { - $fontfile = $file; + // get number of tables + $numTables = $this->_getUSHORT($font, $offset); + // skip searchRange, entrySelector and rangeShift + $offset += 6; + // tables array + $table = array(); + // for each table + for ($i = 0; $i < $numTables; ++$i) { + // get table info + $tag = substr($font, $offset, 4); + $offset += 4; + $table[$tag] = array(); + $table[$tag]['checkSum'] = $this->_getULONG($font, $offset); + $table[$tag]['offset'] = $this->_getULONG($font, $offset); + $table[$tag]['length'] = $this->_getULONG($font, $offset); + } + // check magicNumber + $offset = $table['head']['offset'] + 12; + if ($this->_getULONG($font, $offset) != 0x5F0F3CF5) { + // magicNumber must be 0x5F0F3CF5 + return $font; + } + // get offset mode (indexToLocFormat : 0 = short, 1 = long) + $offset = $table['head']['offset'] + 50; + $short_offset = ($this->_getSHORT($font, $offset) == 0); + // get the offsets to the locations of the glyphs in the font, relative to the beginning of the glyphData table + $indexToLoc = array(); + $offset = $table['loca']['offset']; + if ($short_offset) { + // short version + $n = $table['loca']['length'] / 2; // numGlyphs + 1 + for ($i = 0; $i < $n; ++$i) { + $indexToLoc[$i] = $this->_getUSHORT($font, $offset) * 2; } - if (!$this->empty_string($fontfile)) { - $font = file_get_contents($fontfile); - $compressed = (substr($file, -2) == '.z'); - if ((!$compressed) AND (isset($info['length2']))) { - $header = (ord($font{0}) == 128); - if ($header) { - //Strip first binary header - $font = substr($font, 6); - } - if ($header AND (ord($font{$info['length1']}) == 128)) { - //Strip second binary header - $font = substr($font, 0, $info['length1']).substr($font, ($info['length1'] + 6)); - } - } - $this->_newobj(); - $this->FontFiles[$file]['n'] = $this->n; - $out = '<_getstream($font); - $out .= ' endobj'; - $this->_out($out); + } else { + // long version + $n = $table['loca']['length'] / 4; // numGlyphs + 1 + for ($i = 0; $i < $n; ++$i) { + $indexToLoc[$i] = $this->_getULONG($font, $offset); } } - $this->set_mqr($mqr); - foreach ($this->fontkeys as $k) { - //Font objects - $this->setFontSubBuffer($k, 'n', $this->n + 1); - $font = $this->getFontBuffer($k); - $type = $font['type']; - $name = $font['name']; - if ($type == 'core') { - //Standard font - $obj_id = $this->_newobj(); - $out = '<annotation_fonts['helvetica'] = $k; - } - $out .= ' >> endobj'; - $this->_out($out); - } elseif (($type == 'Type1') OR ($type == 'TrueType')) { - //Additional Type1 or TrueType font - $obj_id = $this->_newobj(); - $out = '<n + 1).' 0 R'; - $out .= ' /FontDescriptor '.($this->n + 2).' 0 R'; - if ($font['enc']) { - if (isset($font['diff'])) { - $out .= ' /Encoding '.($nf + $font['diff']).' 0 R'; - } else { - $out .= ' /Encoding /WinAnsiEncoding'; - } - } - $out .= ' >> endobj'; - $this->_out($out); - // Widths - $this->_newobj(); - $cw = &$font['cw']; - $s = '['; - for ($i = 32; $i < 256; ++$i) { - $s .= $cw[$i].' '; - } - $this->_out($s.'] endobj'); - //Descriptor - $this->_newobj(); - $s = '< $fdv) { - if(is_float($fdv)) { - $fdv = sprintf('%.3F', $fdv); - } - $s .= ' /'.$fdk.' '.$fdv.''; - } - if (!$this->empty_string($font['file'])) { - $s .= ' /FontFile'.($type == 'Type1' ? '' : '2').' '.$this->FontFiles[$font['file']]['n'].' 0 R'; - } - $this->_out($s.'>> endobj'); + // get glyphs indexes of chars from cmap table + $subsetglyphs = array(); // glyph IDs on key + $subsetglyphs[0] = true; // character codes that do not correspond to any glyph in the font should be mapped to glyph index 0 + $offset = $table['cmap']['offset'] + 2; + $numEncodingTables = $this->_getUSHORT($font, $offset); + $encodingTables = array(); + for ($i = 0; $i < $numEncodingTables; ++$i) { + $encodingTables[$i]['platformID'] = $this->_getUSHORT($font, $offset); + $encodingTables[$i]['encodingID'] = $this->_getUSHORT($font, $offset); + $encodingTables[$i]['offset'] = $this->_getULONG($font, $offset); + } + foreach ($encodingTables as $enctable) { + if (($enctable['platformID'] == 3) AND ($enctable['encodingID'] == 0)) { + $modesymbol = true; } else { - //Allow for additional types - $mtd = '_put'.strtolower($type); - if (!method_exists($this, $mtd)) { - $this->Error('Unsupported font type: '.$type); - } - $obj_id = $this->$mtd($font); + $modesymbol = false; + } + $offset = $table['cmap']['offset'] + $enctable['offset']; + $format = $this->_getUSHORT($font, $offset); + switch ($format) { + case 0: { // Format 0: Byte encoding table + $offset += 4; // skip length and version/language + for ($k = 0; $k < 256; ++$k) { + if (isset($subsetchars[$k])) { + $g = $this->_getBYTE($font, $offset); + $subsetglyphs[$g] = $k; + } else { + ++$offset; + } + } + break; + } + case 2: { // Format 2: High-byte mapping through table + $offset += 4; // skip length and version + // to be implemented ... + break; + } + case 4: { // Format 4: Segment mapping to delta values + $length = $this->_getUSHORT($font, $offset); + $offset += 2; // skip version/language + $segCount = ($this->_getUSHORT($font, $offset) / 2); + $offset += 6; // skip searchRange, entrySelector, rangeShift + $endCount = array(); // array of end character codes for each segment + for ($k = 0; $k < $segCount; ++$k) { + $endCount[$k] = $this->_getUSHORT($font, $offset); + } + $offset += 2; // skip reservedPad + $startCount = array(); // array of start character codes for each segment + for ($k = 0; $k < $segCount; ++$k) { + $startCount[$k] = $this->_getUSHORT($font, $offset); + } + $idDelta = array(); // delta for all character codes in segment + for ($k = 0; $k < $segCount; ++$k) { + $idDelta[$k] = $this->_getUSHORT($font, $offset); + } + $idRangeOffset = array(); // Offsets into glyphIdArray or 0 + for ($k = 0; $k < $segCount; ++$k) { + $idRangeOffset[$k] = $this->_getUSHORT($font, $offset); + } + $gidlen = ($length / 2) - 8 - (4 * $segCount); + $glyphIdArray = array(); // glyph index array + for ($k = 0; $k < $gidlen; ++$k) { + $glyphIdArray[$k] = $this->_getUSHORT($font, $offset); + } + for ($k = 0; $k < $segCount; ++$k) { + for ($c = $startCount[$k]; $c <= $endCount[$k]; ++$c) { + if (isset($subsetchars[$c])) { + if ($idRangeOffset[$k] == 0) { + $g = $c; + } else { + $gid = (($idRangeOffset[$k] / 2) + ($c - $startCount[$k]) - ($segCount - $k)); + $g = $glyphIdArray[$gid]; + } + $g += ($idDelta[$k] - 65536); + if ($g < 0) { + $g = 0; + } + $subsetglyphs[$g] = $c; + } + } + } + break; + } + case 6: { // Format 6: Trimmed table mapping + $offset += 4; // skip length and version/language + $firstCode = $this->_getUSHORT($font, $offset); + $entryCount = $this->_getUSHORT($font, $offset); + for ($k = 0; $k < $entryCount; ++$k) { + $c = ($k + $firstCode); + if (isset($subsetchars[$c])) { + $g = $this->_getUSHORT($font, $offset); + $subsetglyphs[$g] = $c; + } else { + $offset += 2; + } + } + break; + } + case 8: { // Format 8: Mixed 16-bit and 32-bit coverage + $offset += 10; // skip length and version + // to be implemented ... + break; + } + case 10: { // Format 10: Trimmed array + $offset += 10; // skip length and version/language + $startCharCode = $this->_getULONG($font, $offset); + $numChars = $this->_getULONG($font, $offset); + for ($k = 0; $k < $numChars; ++$k) { + $c = ($k + $startCharCode); + if (isset($subsetchars[$c])) { + $g = $this->_getUSHORT($font, $offset); + $subsetglyphs[$g] = $c; + } else { + $offset += 2; + } + } + break; + } + case 12: { // Format 12: Segmented coverage + $offset += 10; // skip length and version/language + $nGroups = $this->_getULONG($font, $offset); + for ($k = 0; $k < $nGroups; ++$k) { + $startCharCode = $this->_getULONG($font, $offset); + $endCharCode = $this->_getULONG($font, $offset); + $startGlyphCode = $this->_getULONG($font, $offset); + for ($c = $startCharCode; $c <= $endCharCode; ++$c) { + if (isset($subsetchars[$c])) { + $subsetglyphs[$startGlyphCode] = $c; + } + ++$startGlyphCode; + } + } + break; + } } - // store object ID for current font - $this->font_obj_ids[$k] = $obj_id; } + // sort glyphs by key + ksort($subsetglyphs); + // add composite glyps to $subsetglyphs and remove missing glyphs + foreach ($subsetglyphs as $key => $val) { + if (isset($indexToLoc[$key])) { + $offset = $table['glyf']['offset'] + $indexToLoc[$key]; + $numberOfContours = $this->_getSHORT($font, $offset); + if ($numberOfContours < 0) { // composite glyph + $offset += 8; // skip xMin, yMin, xMax, yMax + do { + $flags = $this->_getUSHORT($font, $offset); + $glyphIndex = $this->_getUSHORT($font, $offset); + if (!isset($subsetglyphs[$glyphIndex]) AND isset($indexToLoc[$glyphIndex])) { + // add missing glyphs + $subsetglyphs[$glyphIndex] = true; + } + // skip some bytes by case + if ($flags & 1) { + $offset += 4; + } else { + $offset += 2; + } + if ($flags & 8) { + $offset += 2; + } elseif ($flags & 64) { + $offset += 4; + } elseif ($flags & 128) { + $offset += 8; + } + } while ($flags & 32); + } + } else { + unset($subsetglyphs[$key]); + } + } + // build new glyf table with only used glyphs + $glyf = ''; + $glyfSize = 0; + // create new empty indexToLoc table + $newIndexToLoc = array_fill(0, count($indexToLoc), 0); + $goffset = 0; + foreach ($subsetglyphs as $glyphID => $char) { + if (isset($indexToLoc[$glyphID]) AND isset($indexToLoc[($glyphID + 1)])) { + $start = $indexToLoc[$glyphID]; + $length = ($indexToLoc[($glyphID + 1)] - $start); + $glyf .= substr($font, ($table['glyf']['offset'] + $start), $length); + $newIndexToLoc[$glyphID] = $goffset; + $goffset += $length; + } + } + // build new loca table + $loca = ''; + if ($short_offset) { + foreach ($newIndexToLoc as $glyphID => $offset) { + $loca .= pack('n', ($offset / 2)); + } + } else { + foreach ($newIndexToLoc as $glyphID => $offset) { + $loca .= pack('N', $offset); + } + } + // 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'); + // get the tables to preserve + $offset = 12; + foreach ($table as $tag => $val) { + if (in_array($tag, $table_names)) { + $table[$tag]['data'] = substr($font, $table[$tag]['offset'], $table[$tag]['length']); + if ($tag == 'head') { + // set the checkSumAdjustment to 0 + $table[$tag]['data'] = substr($table[$tag]['data'], 0, 8)."\x0\x0\x0\x0".substr($table[$tag]['data'], 12); + } + $pad = 4 - ($table[$tag]['length'] % 4); + if ($pad != 4) { + // the length of a table must be a multiple of four bytes + $table[$tag]['length'] += $pad; + $table[$tag]['data'] .= str_repeat("\x0", $pad); + } + $table[$tag]['offset'] = $offset; + $offset += $table[$tag]['length']; + //$table[$tag]['checkSum'] = $this->_getTTFtableChecksum($table[$tag]['data'], $table[$tag]['length']); + } else { + unset($table[$tag]); + } + } + // add loca + $table['loca']['data'] = $loca; + $table['loca']['length'] = strlen($loca); + $pad = 4 - ($table['loca']['length'] % 4); + if ($pad != 4) { + // the length of a table must be a multiple of four bytes + $table['loca']['length'] += $pad; + $table['loca']['data'] .= str_repeat("\x0", $pad); + } + $table['loca']['offset'] = $offset; + $table['loca']['checkSum'] = $this->_getTTFtableChecksum($table['loca']['data'], $table['loca']['length']); + $offset += $table['loca']['length']; + // add glyf + $table['glyf']['data'] = $glyf; + $table['glyf']['length'] = strlen($glyf); + $pad = 4 - ($table['glyf']['length'] % 4); + if ($pad != 4) { + // the length of a table must be a multiple of four bytes + $table['glyf']['length'] += $pad; + $table['glyf']['data'] .= str_repeat("\x0", $pad); + } + $table['glyf']['offset'] = $offset; + $table['glyf']['checkSum'] = $this->_getTTFtableChecksum($table['glyf']['data'], $table['glyf']['length']); + // rebuild font + $font = ''; + $font .= pack('N', 0x10000); // sfnt version + $numTables = count($table); + $font .= pack('n', $numTables); // numTables + $entrySelector = floor(log($numTables, 2)); + $searchRange = pow(2, $entrySelector) * 16; + $rangeShift = ($numTables * 16) - $searchRange; + $font .= pack('n', $searchRange); // searchRange + $font .= pack('n', $entrySelector); // entrySelector + $font .= pack('n', $rangeShift); // rangeShift + $offset = ($numTables * 16); + foreach ($table as $tag => $data) { + $font .= $tag; // tag + $font .= pack('N', $data['checkSum']); // checkSum + $font .= pack('N', ($data['offset'] + $offset)); // offset + $font .= pack('N', $data['length']); // length + } + foreach ($table as $data) { + $font .= $data['data']; + } + // set checkSumAdjustment on head table + $checkSumAdjustment = 0xB1B0AFBA - $this->_getTTFtableChecksum($font, strlen($font)); + $font = substr($font, 0, $table['head']['offset'] + 8).pack('N', $checkSumAdjustment).substr($font, $table['head']['offset'] + 12); + return $font; + } + + /** + * Returs the checksum of a TTF table. + * @parameter string $table table to check + * @parameter int $length lenght of table in bytes + * @return int checksum + * @author Nicola Asuni + * @access protected + * @since 5.2.000 (2010-06-02) + */ + protected function _getTTFtableChecksum($table, $length) { + $sum = 0; + $tlen = ($length / 4); + $offset = 0; + for ($i = 0; $i < $tlen; ++$i) { + $v = unpack('Ni', substr($table, $offset, 4)); + $sum += $v['i']; + $offset += 4; + } + $sum = unpack('Ni', pack('N', $sum)); + return $sum['i']; } /** @@ -7636,6 +7929,10 @@ if (!class_exists('TCPDF', false)) { // for each character foreach ($font['cw'] as $cid => $width) { $cid -= $cidoffset; + if ($font['subset'] AND ($cid > 255) AND (!isset($font['subsetchars'][$cid]))) { + // ignore the unused characters (font subsetting) + continue; + } if ($width != $font['dw']) { if ($cid == ($prevcid + 1)) { // consecutive CID @@ -7716,6 +8013,155 @@ if (!class_exists('TCPDF', false)) { return '/W ['.$w.' ]'; } + /** + * Output fonts. + * @author Nicola Asuni + * @access protected + */ + protected function _putfonts() { + $nf = $this->n; + foreach ($this->diffs as $diff) { + //Encodings + $this->_newobj(); + $this->_out('<< /Type /Encoding /BaseEncoding /WinAnsiEncoding /Differences ['.$diff.'] >> endobj'); + } + $mqr = $this->get_mqr(); + $this->set_mqr(false); + foreach ($this->FontFiles as $file => $info) { + // search and get font file to embedd + $fontdir = $info['fontdir']; + $file = strtolower($file); + $fontfile = ''; + // search files on various directories + if (($fontdir !== false) AND file_exists($fontdir.$file)) { + $fontfile = $fontdir.$file; + } elseif (file_exists($this->_getfontpath().$file)) { + $fontfile = $this->_getfontpath().$file; + } elseif (file_exists($file)) { + $fontfile = $file; + } + if (!$this->empty_string($fontfile)) { + $font = file_get_contents($fontfile); + $compressed = (substr($file, -2) == '.z'); + if ((!$compressed) AND (isset($info['length2']))) { + $header = (ord($font{0}) == 128); + if ($header) { + //Strip first binary header + $font = substr($font, 6); + } + if ($header AND (ord($font{$info['length1']}) == 128)) { + //Strip second binary header + $font = substr($font, 0, $info['length1']).substr($font, ($info['length1'] + 6)); + } + } elseif ($info['subset'] AND (!$compressed) OR ($compressed AND function_exists('gzcompress'))) { + if ($compressed) { + // uncompress font + $font = gzuncompress($font); + } + // merge subset characters + $subsetchars = array(); // used chars + foreach ($info['fontkeys'] as $fontkey) { + $fontinfo = $this->getFontBuffer($fontkey); + $subsetchars += $fontinfo['subsetchars']; + } + $font = $this->_getTrueTypeFontSubset($font, $subsetchars); + if ($compressed) { + // recompress font + $font = gzcompress($font); + } + } + $this->_newobj(); + $this->FontFiles[$file]['n'] = $this->n; + $out = '<_getstream($font); + $out .= ' endobj'; + $this->_out($out); + } + } + $this->set_mqr($mqr); + foreach ($this->fontkeys as $k) { + //Font objects + $this->setFontSubBuffer($k, 'n', $this->n + 1); + $font = $this->getFontBuffer($k); + $type = $font['type']; + $name = $font['name']; + if ($type == 'core') { + // standard core font + $obj_id = $this->_newobj(); + $out = '<annotation_fonts['helvetica'] = $k; + } + $out .= ' >> endobj'; + $this->_out($out); + } elseif (($type == 'Type1') OR ($type == 'TrueType')) { + // additional Type1 or TrueType font + $obj_id = $this->_newobj(); + $out = '<n + 1).' 0 R'; + $out .= ' /FontDescriptor '.($this->n + 2).' 0 R'; + if ($font['enc']) { + if (isset($font['diff'])) { + $out .= ' /Encoding '.($nf + $font['diff']).' 0 R'; + } else { + $out .= ' /Encoding /WinAnsiEncoding'; + } + } + $out .= ' >> endobj'; + $this->_out($out); + // Widths + $this->_newobj(); + $cw = &$font['cw']; + $s = '['; + for ($i = 32; $i < 256; ++$i) { + $s .= $cw[$i].' '; + } + $this->_out($s.'] endobj'); + //Descriptor + $this->_newobj(); + $s = '< $fdv) { + if(is_float($fdv)) { + $fdv = sprintf('%.3F', $fdv); + } + $s .= ' /'.$fdk.' '.$fdv.''; + } + if (!$this->empty_string($font['file'])) { + $s .= ' /FontFile'.($type == 'Type1' ? '' : '2').' '.$this->FontFiles[$font['file']]['n'].' 0 R'; + } + $this->_out($s.'>> endobj'); + } else { + // additional types + $mtd = '_put'.strtolower($type); + if (!method_exists($this, $mtd)) { + $this->Error('Unsupported font type: '.$type); + } + $obj_id = $this->$mtd($font); + } + // store object ID for current font + $this->font_obj_ids[$k] = $obj_id; + } + } + /** * Adds unicode fonts.
    * Based on PDF Reference 1.3 (section 5) @@ -7726,12 +8172,20 @@ if (!class_exists('TCPDF', false)) { * @since 1.52.0.TC005 (2005-01-05) */ protected function _puttruetypeunicode($font) { + $fontname = ''; + if ($font['subset']) { + // change name for font subsetting + $subtag = sprintf('%06u', $font['i']); + $subtag = strtr($subtag, '0123456789', 'ABCDEFGHIJ'); + $fontname .= $subtag.'+'; + } + $fontname .= $font['name']; // Type0 Font // A composite font composed of other fonts, organized hierarchically $obj_id = $this->_newobj(); $out = '<_newobj(); $out = '<_datastring($font['cidinfo']['Registry']); $cidinfo .= ' /Ordering '.$this->_datastring($font['cidinfo']['Ordering']); @@ -7753,13 +8207,14 @@ if (!class_exists('TCPDF', false)) { $out .= ' /FontDescriptor '.($this->n + 1).' 0 R'; $out .= ' /DW '.$font['dw']; // default width $out .= "\n".$this->_putfontwidths($font, 0); - $out .= ' /CIDToGIDMap '.($this->n + 2).' 0 R >> endobj'; + $out .= ' /CIDToGIDMap '.($this->n + 2).' 0 R'; + $out .= ' >> endobj'; $this->_out($out); // Font descriptor // A font descriptor describing the CIDFont default metrics other than its glyph widths $this->_newobj(); $out = '< $value) { if(is_float($value)) { $value = sprintf('%.3F', $value); @@ -8506,7 +8961,7 @@ if (!class_exists('TCPDF', false)) { } /** - * Read a 4-byte integer from file. + * Read a 4-byte (32 bit) integer from file. * @param string $f file name. * @return 4-byte integer * @access protected @@ -8710,6 +9165,7 @@ if (!class_exists('TCPDF', false)) { $this->cache_UTF8StringToArray['_'.$str] = $strarr; return $strarr; } + $unichar = -1; // last unicode char $unicode = array(); // array containing unicode values $bytes = array(); // array containing single character byte sequences $numbytes = 1; // number of octetc needed to represent the UTF-8 character @@ -8719,7 +9175,7 @@ if (!class_exists('TCPDF', false)) { $char = ord($str{$i}); // get one string character at time if (count($bytes) == 0) { // get starting octect if ($char <= 0x7F) { - $unicode[] = $char; // use the character "as is" because is ASCII + $unichar = $char; // use the character "as is" because is ASCII $numbytes = 1; } elseif (($char >> 0x05) == 0x06) { // 2 bytes character (0x06 = 110 BIN) $bytes[] = ($char - 0xC0) << 0x06; @@ -8732,7 +9188,7 @@ if (!class_exists('TCPDF', false)) { $numbytes = 4; } else { // use replacement character for other invalid sequences - $unicode[] = 0xFFFD; + $unichar = 0xFFFD; $bytes = array(); $numbytes = 1; } @@ -8749,9 +9205,9 @@ if (!class_exists('TCPDF', false)) { U+D800 and U+DFFF, which are reserved for use with the UTF-16 encoding form (as surrogate pairs) and do not directly represent characters. */ - $unicode[] = 0xFFFD; // use replacement character + $unichar = 0xFFFD; // use replacement character } else { - $unicode[] = $char; // add char to array + $unichar = $char; // add char to array } // reset data for next char $bytes = array(); @@ -8759,11 +9215,20 @@ if (!class_exists('TCPDF', false)) { } } else { // use replacement character for other invalid sequences - $unicode[] = 0xFFFD; + $unichar = 0xFFFD; $bytes = array(); $numbytes = 1; } + if ($unichar >= 0) { + // insert unicode value into array + $unicode[] = $unichar; + // store this char for font subsetting + $this->CurrentFont['subsetchars'][$unichar] = true; + $unichar = -1; + } } + // update font subsetchars + $this->setFontSubBuffer($this->CurrentFont['fontkey'], 'subsetchars', $this->CurrentFont['subsetchars']); // insert new value on cache $this->cache_UTF8StringToArray['_'.$str] = $unicode; return $unicode; @@ -11399,8 +11864,11 @@ if (!class_exists('TCPDF', false)) { $ordarray = array(); for ($i=0; $i < $numchars; ++$i) { $ordarray[] = $chardata[$i]['char']; + // store char values for subsetting + $this->CurrentFont['subsetchars'][$chardata[$i]['char']] = true; } - + // update font subsetchars + $this->setFontSubBuffer($this->CurrentFont['fontkey'], 'subsetchars', $this->CurrentFont['subsetchars']); return $ordarray; } @@ -14924,7 +15392,8 @@ if (!class_exists('TCPDF', false)) { // create an array of elements $dom = array(); $dom[$key] = array(); - // set first void element + // set inheritable properties fot the first void element + // possible inheritable properties are: azimuth, border-collapse, border-spacing, caption-side, color, cursor, direction, empty-cells, font, font-family, font-stretch, font-size, font-size-adjust, font-style, font-variant, font-weight, letter-spacing, line-height, list-style, list-style-image, list-style-position, list-style-type, orphans, page, page-break-inside, quotes, speak, speak-header, text-align, text-indent, text-transform, volume, white-space, widows, word-spacing $dom[$key]['tag'] = false; $dom[$key]['block'] = false; $dom[$key]['value'] = ''; @@ -14937,7 +15406,7 @@ if (!class_exists('TCPDF', false)) { $dom[$key]['clip'] = ($this->textrendermode > 3); $dom[$key]['line-height'] = $this->cell_height_ratio; $dom[$key]['bgcolor'] = false; - $dom[$key]['fgcolor'] = $this->fgcolor; + $dom[$key]['fgcolor'] = $this->fgcolor; // color $dom[$key]['strokecolor'] = $this->strokecolor; $dom[$key]['align'] = ''; $dom[$key]['listtype'] = '';
    @@ -24975,7 +25353,7 @@ $font)
    -

    method _putviewerpreferences [line 8173]

    +

    method _putviewerpreferences [line 8628]

    diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index 2fbc578..fe9b6c8 100644 --- a/doc/li_com-tecnick-tcpdf.html +++ b/doc/li_com-tecnick-tcpdf.html @@ -64,7 +64,7 @@ This documentation was generated by phpDocumentor v1.4.3

    - Documentation generated on Thu, 27 May 2010 11:33:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/index.html b/doc/index.html index 2fbc578..fe9b6c8 100644 --- a/doc/index.html +++ b/doc/index.html @@ -64,7 +64,7 @@ This documentation was generated by phpDocumentor v1.4.3

    - Documentation generated on Thu, 27 May 2010 11:33:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by phpDocumentor 1.4.3
    @@ -25009,7 +25387,7 @@ $font)
    -

    method _RC4 [line 9277]

    +

    method _RC4 [line 9742]

    diff --git a/doc/errors.html b/doc/errors.html index 4175a41..c7a3219 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

    - Documentation generated on Thu, 27 May 2010 11:33:47 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:55 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index b72ece0..cd4bfb0 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -133,15 +133,27 @@
    _escapetext
    in file tcpdf.php, method TCPDF::_escapetext()
        Format a text string
    _freadint
    -
    in file tcpdf.php, method TCPDF::_freadint()
        Read a 4-byte integer from file.
    +
    in file tcpdf.php, method TCPDF::_freadint()
        Read a 4-byte (32 bit) integer from file.
    _generateencryptionkey
    in file tcpdf.php, method TCPDF::_generateencryptionkey()
        Compute encryption key
    _getannotsrefs
    in file tcpdf.php, method TCPDF::_getannotsrefs()
        Get references to page annotations.
    +
    _getBYTE
    +
    in file tcpdf.php, method TCPDF::_getBYTE()
        Get BYTE from string (8-bit unsigned integer).
    _getfontpath
    in file tcpdf.php, method TCPDF::_getfontpath()
        Return fonts path
    +
    _getSHORT
    +
    in file tcpdf.php, method TCPDF::_getSHORT()
        Get SHORT from string (Big Endian 16-bit signed integer).
    _getstream
    in file tcpdf.php, method TCPDF::_getstream()
        Format output stream.
    +
    _getTrueTypeFontSubset
    +
    in file tcpdf.php, method TCPDF::_getTrueTypeFontSubset()
        Returns a subset of the TrueType font data without the unused glyphs.
    +
    _getTTFtableChecksum
    +
    in file tcpdf.php, method TCPDF::_getTTFtableChecksum()
        Returs the checksum of a TTF table.
    +
    _getULONG
    +
    in file tcpdf.php, method TCPDF::_getULONG()
        Get ULONG from string (Big Endian 32-bit unsigned integer).
    +
    _getUSHORT
    +
    in file tcpdf.php, method TCPDF::_getUSHORT()
        Get USHORT from string (Big Endian 16-bit unsigned integer).
    _JScolor
    in file tcpdf.php, method TCPDF::_JScolor()
        Convert color to javascript color.
    _md5_16
    @@ -1993,7 +2005,7 @@ top

    - Documentation generated on Thu, 27 May 2010 11:33:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by phpDocumentor 1.4.3
    @@ -25060,7 +25438,7 @@ $text)
    -

    method _setGDImageTransparency [line 5961]

    +

    method _setGDImageTransparency [line 5975]

    diff --git a/doc/elementindex.html b/doc/elementindex.html index 4433264..884450d 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -1844,15 +1844,27 @@
    _escapetext
    in file tcpdf.php, method TCPDF::_escapetext()
        Format a text string
    _freadint
    -
    in file tcpdf.php, method TCPDF::_freadint()
        Read a 4-byte integer from file.
    +
    in file tcpdf.php, method TCPDF::_freadint()
        Read a 4-byte (32 bit) integer from file.
    _generateencryptionkey
    in file tcpdf.php, method TCPDF::_generateencryptionkey()
        Compute encryption key
    _getannotsrefs
    in file tcpdf.php, method TCPDF::_getannotsrefs()
        Get references to page annotations.
    +
    _getBYTE
    +
    in file tcpdf.php, method TCPDF::_getBYTE()
        Get BYTE from string (8-bit unsigned integer).
    _getfontpath
    in file tcpdf.php, method TCPDF::_getfontpath()
        Return fonts path
    +
    _getSHORT
    +
    in file tcpdf.php, method TCPDF::_getSHORT()
        Get SHORT from string (Big Endian 16-bit signed integer).
    _getstream
    in file tcpdf.php, method TCPDF::_getstream()
        Format output stream.
    +
    _getTrueTypeFontSubset
    +
    in file tcpdf.php, method TCPDF::_getTrueTypeFontSubset()
        Returns a subset of the TrueType font data without the unused glyphs.
    +
    _getTTFtableChecksum
    +
    in file tcpdf.php, method TCPDF::_getTTFtableChecksum()
        Returs the checksum of a TTF table.
    +
    _getULONG
    +
    in file tcpdf.php, method TCPDF::_getULONG()
        Get ULONG from string (Big Endian 32-bit unsigned integer).
    +
    _getUSHORT
    +
    in file tcpdf.php, method TCPDF::_getUSHORT()
        Get USHORT from string (Big Endian 16-bit unsigned integer).
    _JScolor
    in file tcpdf.php, method TCPDF::_JScolor()
        Convert color to javascript color.
    _md5_16
    @@ -1964,7 +1976,7 @@ top

    - Documentation generated on Thu, 27 May 2010 11:33:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +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 44139ec..c487824 100644 --- a/doc/com-tecnick-tcpdf/_unicode_data.php.html +++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html @@ -243,7 +243,7 @@ Unicode Include file for TCPDF.




    - Documentation generated on Thu, 27 May 2010 11:33:47 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:55 +0200 by phpDocumentor 1.4.3
    @@ -25105,7 +25483,7 @@ $image)
    -

    method _textannobjstring [line 8583]

    +

    method _textannobjstring [line 9038]

    diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index aee3ece..47ab941 100644 --- a/doc/com-tecnick-tcpdf/_tcpdf.php.html +++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html @@ -71,7 +71,7 @@ Source Location: /tcpdf.php



    Page Details:

    -This is a PHP class for generating PDF documents without requiring external extensions.


    TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
    <h3>TCPDF main features are:</h3>

    • no external libraries are required for the basic functions;
    • all ISO page formats, custom page formats, custom margins and units of measure;
    • UTF-8 Unicode and Right-To-Left languages;
    • TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
    • methods to publish some XHTML + CSS code, Javascript and Forms;
    • images, graphic (geometric figures) and transformation methods;
    • supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)
    • 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code;
    • Grayscale, RGB, CMYK, Spot Colors and Transparencies;
    • automatic page header and footer management;
    • document encryption and digital signature certifications;
    • transactions to UNDO commands;
    • PDF annotations, including links, text and file attachments;
    • text rendering modes (fill, stroke and clipping);
    • multiple columns mode;
    • bookmarks and table of content;
    • text hyphenation;
    • automatic page break, line break and text alignments including justification;
    • automatic page numbering and page groups;
    • move and delete pages;
    • page compression (requires php-zlib extension);
    Tools to encode your unicode fonts are on fonts/utils directory.</p>




    +This is a PHP class for generating PDF documents without requiring external extensions.


    TCPDF project (http://www.tcpdf.org) was originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
    <h3>TCPDF main features are:</h3>

    • no external libraries are required for the basic functions;
    • all ISO page formats, custom page formats, custom margins and units of measure;
    • UTF-8 Unicode and Right-To-Left languages;
    • TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts;
    • Font subsetting;
    • methods to publish some XHTML + CSS code, Javascript and Forms;
    • images, graphic (geometric figures) and transformation methods;
    • supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html)
    • 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code;
    • Grayscale, RGB, CMYK, Spot Colors and Transparencies;
    • automatic page header and footer management;
    • document encryption and digital signature certifications;
    • transactions to UNDO commands;
    • PDF annotations, including links, text and file attachments;
    • text rendering modes (fill, stroke and clipping);
    • multiple columns mode;
    • bookmarks and table of content;
    • text hyphenation;
    • automatic page break, line break and text alignments including justification;
    • automatic page numbering and page groups;
    • move and delete pages;
    • page compression (requires php-zlib extension);
    Tools to encode your unicode fonts are on fonts/utils directory.</p>




    Tags:

    @@ -25144,7 +25522,7 @@ $s)
    -

    method _textstring [line 8569]

    +

    method _textstring [line 9024]

    diff --git a/doc/com-tecnick-tcpdf/_qrcode.php.html b/doc/com-tecnick-tcpdf/_qrcode.php.html index 3d7c063..b69593d 100644 --- a/doc/com-tecnick-tcpdf/_qrcode.php.html +++ b/doc/com-tecnick-tcpdf/_qrcode.php.html @@ -477,7 +477,7 @@ string $string, [int $split_length = 1])

    - Documentation generated on Thu, 27 May 2010 11:33:42 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:50 +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 141f72e..8e51c0d 100644 --- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html +++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html @@ -94,7 +94,7 @@ Array of WEB safe colors.




    - Documentation generated on Thu, 27 May 2010 11:33:42 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:50 +0200 by phpDocumentor 1.4.3
    @@ -25183,7 +25561,7 @@ $s)
    -

    method _toJPEG [line 5924]

    +

    method _toJPEG [line 5938]

    diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index c625b2c..a97c37f 100644 --- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html +++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html @@ -539,7 +539,7 @@ Configuration file for TCPDF.




    - Documentation generated on Thu, 27 May 2010 11:33:47 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:55 +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 b8a5da2..a2f9709 100644 --- a/doc/com-tecnick-tcpdf/_barcodes.php.html +++ b/doc/com-tecnick-tcpdf/_barcodes.php.html @@ -102,7 +102,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit

    - Documentation generated on Thu, 27 May 2010 11:33:42 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by phpDocumentor 1.4.3
    @@ -25225,7 +25603,7 @@ $file)
    -

    method _toPNG [line 5943]

    +

    method _toPNG [line 5957]

    diff --git a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html index 0c18db1..949420e 100644 --- a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html +++ b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html @@ -102,7 +102,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF

    - Documentation generated on Thu, 27 May 2010 11:33:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by phpDocumentor 1.4.3
    diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index 9a3ba22..75d4db4 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1374,7 +1374,7 @@ $type)

    - Documentation generated on Thu, 27 May 2010 11:33:42 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by phpDocumentor 1.4.3
    @@ -25270,7 +25648,7 @@ $file)
    -

    method _Uvalue [line 9383]

    +

    method _Uvalue [line 9848]

    diff --git a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html index e9c4259..6a42778 100644 --- a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html @@ -296,7 +296,7 @@ $type)

    - Documentation generated on Thu, 27 May 2010 11:33:41 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:49 +0200 by phpDocumentor 1.4.3
    @@ -25307,7 +25685,7 @@ $file)

    - Documentation generated on Thu, 27 May 2010 11:33:43 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:51 +0200 by phpDocumentor 1.4.3
    @@ -79,7 +79,7 @@ This is a PHP class for generating PDF documents without requiring external exte - + @@ -98,19 +98,19 @@ This is a PHP class for generating PDF documents without requiring external exte

    Includes:

    -require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 131]
    -main configuration file

    require_once(dirname(__FILE__).'/htmlcolors.php') [line 143]
    -html colors table

    require_once(dirname(__FILE__).'/unicode_data.php') [line 138]
    +require_once(dirname(__FILE__).'/config/tcpdf_config.php') [line 133]
    +main configuration file

    require_once(dirname(__FILE__).'/htmlcolors.php') [line 145]
    +html colors table

    require_once(dirname(__FILE__).'/unicode_data.php') [line 140]
    unicode data






    -

    PDF_PRODUCER [line 149]

    +

    PDF_PRODUCER [line 151]

    author:  Nicola Asuni
    version:  5.1.002version:  5.2.000
    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.1.002 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 5.2.000 (http://www.tcpdf.org)'
    @@ -121,7 +121,7 @@ unicode data


    - Documentation generated on Thu, 27 May 2010 11:33:43 +0200 by phpDocumentor 1.4.3 + Documentation generated on Wed, 02 Jun 2010 12:33:51 +0200 by phpDocumentor 1.4.3