From 0e91c75dc28696be932dad42dba1448ea3041d05 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 31 Jan 2024 17:07:15 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B07175=20Replace=20combodo/tcpdf=206.4.4?= =?UTF-8?q?=20by=20tecnickcom/tcpdf=206.4.4=20The=20only=20difference=20wa?= =?UTF-8?q?s=20the=20presence=20of=20the=20DroidSansFallback=20font=20adde?= =?UTF-8?q?d=20in=20#49=20/=20N=C2=B01947=20We=20are=20keeping=20this=20fo?= =?UTF-8?q?nt=20thanks=20to=20a=20custom=20Composer=20script=20to=20copy?= =?UTF-8?q?=20the=20corresponding=20files=20in=20the=20fonts=20dir=20(/lib?= =?UTF-8?q?/tecnickcom/tcpdf/fonts)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../composer/tcpdf}/droidsansfallback.ctg.z | Bin .../composer/tcpdf}/droidsansfallback.php | 0 .../composer/tcpdf}/droidsansfallback.z | Bin .make/composer/tcpdf/tcpdfCustomFonts.php | 38 + composer.json | 9 +- composer.lock | 154 +- lib/combodo/tcpdf/composer.json | 54 - lib/composer/autoload_classmap.php | 28 +- lib/composer/autoload_static.php | 28 +- lib/composer/installed.json | 156 +- lib/composer/installed.php | 22 +- .../tcpdf/CHANGELOG.TXT | 0 lib/{combodo => tecnickcom}/tcpdf/LICENSE.TXT | 0 lib/{combodo => tecnickcom}/tcpdf/README.md | 0 lib/{combodo => tecnickcom}/tcpdf/VERSION | 0 lib/tecnickcom/tcpdf/composer.json | 47 + .../tcpdf/config/tcpdf_config.php | 0 .../examples/barcodes/example_1d_html.php | 53 + .../examples/barcodes/example_1d_png.php | 53 + .../examples/barcodes/example_1d_svg.php | 53 + .../examples/barcodes/example_1d_svgi.php | 53 + .../barcodes/example_2d_datamatrix_html.php | 53 + .../barcodes/example_2d_datamatrix_png.php | 53 + .../barcodes/example_2d_datamatrix_svg.php | 53 + .../barcodes/example_2d_datamatrix_svgi.php | 53 + .../barcodes/example_2d_pdf417_html.php | 53 + .../barcodes/example_2d_pdf417_png.php | 53 + .../barcodes/example_2d_pdf417_svg.php | 53 + .../barcodes/example_2d_pdf417_svgi.php | 53 + .../barcodes/example_2d_qrcode_html.php | 53 + .../barcodes/example_2d_qrcode_png.php | 53 + .../barcodes/example_2d_qrcode_svg.php | 53 + .../barcodes/example_2d_qrcode_svgi.php | 53 + .../barcodes/tcpdf_barcodes_1d_include.php | 46 + .../barcodes/tcpdf_barcodes_2d_include.php | 46 + .../examples/config/tcpdf_config_alt.php | 222 + .../tcpdf/examples/data/cert/tcpdf.crt | 40 + .../tcpdf/examples/data/cert/tcpdf.fdf | Bin 0 -> 1286 bytes .../tcpdf/examples/data/cert/tcpdf.p12 | Bin 0 -> 1749 bytes .../tcpdf/examples/data/chapter_demo_1.txt | 19 + .../tcpdf/examples/data/chapter_demo_2.txt | 23 + .../tcpdf/examples/data/table_data_demo.txt | 15 + .../tcpdf/examples/data/utf8test.txt | 128 + lib/tecnickcom/tcpdf/examples/example_001.php | 106 + lib/tecnickcom/tcpdf/examples/example_002.php | 87 + lib/tecnickcom/tcpdf/examples/example_003.php | 118 + lib/tecnickcom/tcpdf/examples/example_004.php | 121 + lib/tecnickcom/tcpdf/examples/example_005.php | 158 + lib/tecnickcom/tcpdf/examples/example_006.php | 330 + lib/tecnickcom/tcpdf/examples/example_007.php | 113 + lib/tecnickcom/tcpdf/examples/example_008.php | 97 + lib/tecnickcom/tcpdf/examples/example_009.php | 146 + lib/tecnickcom/tcpdf/examples/example_010.php | 150 + lib/tecnickcom/tcpdf/examples/example_011.php | 138 + lib/tecnickcom/tcpdf/examples/example_012.pdf | Bin 0 -> 13214 bytes lib/tecnickcom/tcpdf/examples/example_012.php | 205 + lib/tecnickcom/tcpdf/examples/example_013.php | 229 + lib/tecnickcom/tcpdf/examples/example_014.php | 194 + lib/tecnickcom/tcpdf/examples/example_015.php | 161 + lib/tecnickcom/tcpdf/examples/example_016.php | 134 + lib/tecnickcom/tcpdf/examples/example_017.php | 117 + lib/tecnickcom/tcpdf/examples/example_018.php | 128 + lib/tecnickcom/tcpdf/examples/example_019.php | 98 + lib/tecnickcom/tcpdf/examples/example_020.php | 146 + lib/tecnickcom/tcpdf/examples/example_021.php | 91 + lib/tecnickcom/tcpdf/examples/example_022.php | 146 + lib/tecnickcom/tcpdf/examples/example_023.php | 113 + lib/tecnickcom/tcpdf/examples/example_024.php | 140 + lib/tecnickcom/tcpdf/examples/example_025.php | 118 + lib/tecnickcom/tcpdf/examples/example_026.php | 145 + lib/tecnickcom/tcpdf/examples/example_027.php | 418 + lib/tecnickcom/tcpdf/examples/example_028.php | 138 + lib/tecnickcom/tcpdf/examples/example_029.php | 124 + lib/tecnickcom/tcpdf/examples/example_030.php | 188 + lib/tecnickcom/tcpdf/examples/example_031.php | 103 + lib/tecnickcom/tcpdf/examples/example_032.php | 91 + lib/tecnickcom/tcpdf/examples/example_033.php | 105 + lib/tecnickcom/tcpdf/examples/example_034.php | 96 + lib/tecnickcom/tcpdf/examples/example_035.php | 111 + lib/tecnickcom/tcpdf/examples/example_036.php | 89 + lib/tecnickcom/tcpdf/examples/example_037.php | 147 + lib/tecnickcom/tcpdf/examples/example_038.php | 92 + lib/tecnickcom/tcpdf/examples/example_039.php | 104 + lib/tecnickcom/tcpdf/examples/example_040.php | 116 + lib/tecnickcom/tcpdf/examples/example_041.php | 90 + lib/tecnickcom/tcpdf/examples/example_042.php | 102 + lib/tecnickcom/tcpdf/examples/example_043.php | 85 + lib/tecnickcom/tcpdf/examples/example_044.php | 128 + lib/tecnickcom/tcpdf/examples/example_045.php | 140 + lib/tecnickcom/tcpdf/examples/example_046.php | 123 + lib/tecnickcom/tcpdf/examples/example_047.php | 117 + lib/tecnickcom/tcpdf/examples/example_048.php | 313 + lib/tecnickcom/tcpdf/examples/example_049.php | 126 + lib/tecnickcom/tcpdf/examples/example_050.php | 210 + lib/tecnickcom/tcpdf/examples/example_051.php | 145 + lib/tecnickcom/tcpdf/examples/example_052.php | 121 + lib/tecnickcom/tcpdf/examples/example_053.php | 108 + lib/tecnickcom/tcpdf/examples/example_054.php | 128 + lib/tecnickcom/tcpdf/examples/example_055.php | 115 + lib/tecnickcom/tcpdf/examples/example_056.php | 133 + lib/tecnickcom/tcpdf/examples/example_057.php | 268 + lib/tecnickcom/tcpdf/examples/example_058.php | 94 + lib/tecnickcom/tcpdf/examples/example_059.php | 190 + lib/tecnickcom/tcpdf/examples/example_060.php | 108 + lib/tecnickcom/tcpdf/examples/example_061.php | 264 + lib/tecnickcom/tcpdf/examples/example_062.php | 140 + lib/tecnickcom/tcpdf/examples/example_063.php | 131 + lib/tecnickcom/tcpdf/examples/example_064.php | 176 + lib/tecnickcom/tcpdf/examples/example_065.php | 98 + lib/tecnickcom/tcpdf/examples/example_066.php | 86 + .../tcpdf/examples/images/_blank.png | Bin 0 -> 137 bytes .../tcpdf/examples/images/alpha.png | Bin 0 -> 23886 bytes .../tcpdf/examples/images/image_demo.jpg | Bin 0 -> 573845 bytes .../examples/images/image_with_alpha.png | Bin 0 -> 244218 bytes lib/tecnickcom/tcpdf/examples/images/img.png | Bin 0 -> 195148 bytes .../tcpdf/examples/images/logo_example.gif | Bin 0 -> 21022 bytes .../tcpdf/examples/images/logo_example.jpg | Bin 0 -> 32732 bytes .../tcpdf/examples/images/logo_example.png | Bin 0 -> 19411 bytes .../tcpdf/examples/images/tcpdf_box.ai | 214 + .../tcpdf/examples/images/tcpdf_box.svg | 69 + .../tcpdf/examples/images/tcpdf_cell.png | Bin 0 -> 38415 bytes .../tcpdf/examples/images/tcpdf_logo.jpg | Bin 0 -> 17633 bytes .../tcpdf/examples/images/tcpdf_signature.png | Bin 0 -> 67931 bytes .../tcpdf/examples/images/testsvg.svg | 328 + lib/tecnickcom/tcpdf/examples/images/tux.svg | 1487 ++ lib/tecnickcom/tcpdf/examples/index.php | 115 + lib/tecnickcom/tcpdf/examples/lang/afr.php | 44 + lib/tecnickcom/tcpdf/examples/lang/ara.php | 44 + lib/tecnickcom/tcpdf/examples/lang/aze.php | 44 + lib/tecnickcom/tcpdf/examples/lang/bel.php | 44 + lib/tecnickcom/tcpdf/examples/lang/bra.php | 44 + lib/tecnickcom/tcpdf/examples/lang/bul.php | 44 + lib/tecnickcom/tcpdf/examples/lang/cat.php | 44 + lib/tecnickcom/tcpdf/examples/lang/ces.php | 44 + lib/tecnickcom/tcpdf/examples/lang/chi.php | 44 + lib/tecnickcom/tcpdf/examples/lang/cym.php | 44 + lib/tecnickcom/tcpdf/examples/lang/dan.php | 44 + lib/tecnickcom/tcpdf/examples/lang/eng.php | 44 + lib/tecnickcom/tcpdf/examples/lang/est.php | 44 + lib/tecnickcom/tcpdf/examples/lang/eus.php | 44 + lib/tecnickcom/tcpdf/examples/lang/far.php | 44 + lib/tecnickcom/tcpdf/examples/lang/fra.php | 44 + lib/tecnickcom/tcpdf/examples/lang/ger.php | 44 + lib/tecnickcom/tcpdf/examples/lang/gle.php | 44 + lib/tecnickcom/tcpdf/examples/lang/glg.php | 44 + lib/tecnickcom/tcpdf/examples/lang/hat.php | 44 + lib/tecnickcom/tcpdf/examples/lang/heb.php | 44 + lib/tecnickcom/tcpdf/examples/lang/hrv.php | 44 + lib/tecnickcom/tcpdf/examples/lang/hun.php | 44 + lib/tecnickcom/tcpdf/examples/lang/hye.php | 44 + lib/tecnickcom/tcpdf/examples/lang/ind.php | 44 + lib/tecnickcom/tcpdf/examples/lang/ita.php | 44 + lib/tecnickcom/tcpdf/examples/lang/jpn.php | 44 + lib/tecnickcom/tcpdf/examples/lang/kat.php | 44 + lib/tecnickcom/tcpdf/examples/lang/kor.php | 44 + lib/tecnickcom/tcpdf/examples/lang/mkd.php | 44 + lib/tecnickcom/tcpdf/examples/lang/mlt.php | 44 + lib/tecnickcom/tcpdf/examples/lang/msa.php | 44 + lib/tecnickcom/tcpdf/examples/lang/nld.php | 44 + lib/tecnickcom/tcpdf/examples/lang/nob.php | 44 + lib/tecnickcom/tcpdf/examples/lang/pol.php | 44 + lib/tecnickcom/tcpdf/examples/lang/por.php | 44 + lib/tecnickcom/tcpdf/examples/lang/ron.php | 44 + lib/tecnickcom/tcpdf/examples/lang/rus.php | 44 + lib/tecnickcom/tcpdf/examples/lang/slv.php | 44 + lib/tecnickcom/tcpdf/examples/lang/spa.php | 44 + lib/tecnickcom/tcpdf/examples/lang/sqi.php | 44 + lib/tecnickcom/tcpdf/examples/lang/srp.php | 44 + lib/tecnickcom/tcpdf/examples/lang/swa.php | 44 + lib/tecnickcom/tcpdf/examples/lang/swe.php | 44 + lib/tecnickcom/tcpdf/examples/lang/ukr.php | 44 + lib/tecnickcom/tcpdf/examples/lang/urd.php | 44 + lib/tecnickcom/tcpdf/examples/lang/yid.php | 44 + lib/tecnickcom/tcpdf/examples/lang/zho.php | 44 + .../tcpdf/examples/tcpdf_include.php | 49 + .../tcpdf/fonts/ae_fonts_2.0/COPYING | 343 + .../tcpdf/fonts/ae_fonts_2.0/ChangeLog | 863 + .../tcpdf/fonts/ae_fonts_2.0/README | 58 + lib/tecnickcom/tcpdf/fonts/aealarabiya.ctg.z | Bin 0 -> 1849 bytes lib/tecnickcom/tcpdf/fonts/aealarabiya.php | 16 + lib/tecnickcom/tcpdf/fonts/aealarabiya.z | Bin 0 -> 56189 bytes lib/tecnickcom/tcpdf/fonts/aefurat.ctg.z | Bin 0 -> 1843 bytes lib/tecnickcom/tcpdf/fonts/aefurat.php | 16 + lib/tecnickcom/tcpdf/fonts/aefurat.z | Bin 0 -> 74520 bytes lib/tecnickcom/tcpdf/fonts/cid0cs.php | 17 + lib/tecnickcom/tcpdf/fonts/cid0ct.php | 17 + lib/tecnickcom/tcpdf/fonts/cid0jp.php | 17 + lib/tecnickcom/tcpdf/fonts/cid0kr.php | 17 + .../tcpdf/fonts/courier.php | 0 .../tcpdf/fonts/courierb.php | 0 .../tcpdf/fonts/courierbi.php | 0 .../tcpdf/fonts/courieri.php | 0 .../tcpdf/fonts/dejavu-fonts-ttf-2.33/AUTHORS | 53 + .../tcpdf/fonts/dejavu-fonts-ttf-2.33/BUGS | 3 + .../tcpdf/fonts/dejavu-fonts-ttf-2.33/LICENSE | 99 + .../tcpdf/fonts/dejavu-fonts-ttf-2.33/NEWS | 1315 ++ .../tcpdf/fonts/dejavu-fonts-ttf-2.33/README | 59 + .../fonts/dejavu-fonts-ttf-2.33/langcover.txt | 242 + .../fonts/dejavu-fonts-ttf-2.33/unicover.txt | 215 + .../tcpdf/fonts/dejavu-fonts-ttf-2.34/AUTHORS | 54 + .../tcpdf/fonts/dejavu-fonts-ttf-2.34/BUGS | 3 + .../tcpdf/fonts/dejavu-fonts-ttf-2.34/LICENSE | 99 + .../tcpdf/fonts/dejavu-fonts-ttf-2.34/NEWS | 1373 ++ .../tcpdf/fonts/dejavu-fonts-ttf-2.34/README | 59 + .../fonts/dejavu-fonts-ttf-2.34/langcover.txt | 249 + .../fonts/dejavu-fonts-ttf-2.34/unicover.txt | 226 + .../tcpdf/fonts/dejavusans.ctg.z | Bin .../tcpdf/fonts/dejavusans.php | 0 .../tcpdf/fonts/dejavusans.z | Bin .../tcpdf/fonts/dejavusansb.ctg.z | Bin .../tcpdf/fonts/dejavusansb.php | 0 .../tcpdf/fonts/dejavusansb.z | Bin .../tcpdf/fonts/dejavusansbi.ctg.z | Bin .../tcpdf/fonts/dejavusansbi.php | 0 .../tcpdf/fonts/dejavusansbi.z | Bin .../tcpdf/fonts/dejavusanscondensed.ctg.z | Bin .../tcpdf/fonts/dejavusanscondensed.php | 0 .../tcpdf/fonts/dejavusanscondensed.z | Bin .../tcpdf/fonts/dejavusanscondensedb.ctg.z | Bin .../tcpdf/fonts/dejavusanscondensedb.php | 0 .../tcpdf/fonts/dejavusanscondensedb.z | Bin .../tcpdf/fonts/dejavusanscondensedbi.ctg.z | Bin .../tcpdf/fonts/dejavusanscondensedbi.php | 0 .../tcpdf/fonts/dejavusanscondensedbi.z | Bin .../tcpdf/fonts/dejavusanscondensedi.ctg.z | Bin .../tcpdf/fonts/dejavusanscondensedi.php | 0 .../tcpdf/fonts/dejavusanscondensedi.z | Bin .../tcpdf/fonts/dejavusansextralight.ctg.z | Bin .../tcpdf/fonts/dejavusansextralight.php | 0 .../tcpdf/fonts/dejavusansextralight.z | Bin .../tcpdf/fonts/dejavusansi.ctg.z | Bin .../tcpdf/fonts/dejavusansi.php | 0 .../tcpdf/fonts/dejavusansi.z | Bin .../tcpdf/fonts/dejavusansmono.ctg.z | Bin .../tcpdf/fonts/dejavusansmono.php | 0 .../tcpdf/fonts/dejavusansmono.z | Bin .../tcpdf/fonts/dejavusansmonob.ctg.z | Bin .../tcpdf/fonts/dejavusansmonob.php | 0 .../tcpdf/fonts/dejavusansmonob.z | Bin .../tcpdf/fonts/dejavusansmonobi.ctg.z | Bin .../tcpdf/fonts/dejavusansmonobi.php | 0 .../tcpdf/fonts/dejavusansmonobi.z | Bin .../tcpdf/fonts/dejavusansmonoi.ctg.z | Bin .../tcpdf/fonts/dejavusansmonoi.php | 0 .../tcpdf/fonts/dejavusansmonoi.z | Bin lib/tecnickcom/tcpdf/fonts/dejavuserif.ctg.z | Bin 0 -> 6458 bytes lib/tecnickcom/tcpdf/fonts/dejavuserif.php | 16 + lib/tecnickcom/tcpdf/fonts/dejavuserif.z | Bin 0 -> 205777 bytes lib/tecnickcom/tcpdf/fonts/dejavuserifb.ctg.z | Bin 0 -> 6199 bytes lib/tecnickcom/tcpdf/fonts/dejavuserifb.php | 16 + lib/tecnickcom/tcpdf/fonts/dejavuserifb.z | Bin 0 -> 191695 bytes .../tcpdf/fonts/dejavuserifbi.ctg.z | Bin 0 -> 6206 bytes lib/tecnickcom/tcpdf/fonts/dejavuserifbi.php | 16 + lib/tecnickcom/tcpdf/fonts/dejavuserifbi.z | Bin 0 -> 193465 bytes .../tcpdf/fonts/dejavuserifcondensed.ctg.z | Bin 0 -> 6458 bytes .../tcpdf/fonts/dejavuserifcondensed.php | 16 + .../tcpdf/fonts/dejavuserifcondensed.z | Bin 0 -> 184689 bytes .../tcpdf/fonts/dejavuserifcondensedb.ctg.z | Bin 0 -> 6199 bytes .../tcpdf/fonts/dejavuserifcondensedb.php | 16 + .../tcpdf/fonts/dejavuserifcondensedb.z | Bin 0 -> 175232 bytes .../tcpdf/fonts/dejavuserifcondensedbi.ctg.z | Bin 0 -> 6206 bytes .../tcpdf/fonts/dejavuserifcondensedbi.php | 16 + .../tcpdf/fonts/dejavuserifcondensedbi.z | Bin 0 -> 195428 bytes .../tcpdf/fonts/dejavuserifcondensedi.ctg.z | Bin 0 -> 6435 bytes .../tcpdf/fonts/dejavuserifcondensedi.php | 16 + .../tcpdf/fonts/dejavuserifcondensedi.z | Bin 0 -> 197832 bytes lib/tecnickcom/tcpdf/fonts/dejavuserifi.ctg.z | Bin 0 -> 6435 bytes lib/tecnickcom/tcpdf/fonts/dejavuserifi.php | 16 + lib/tecnickcom/tcpdf/fonts/dejavuserifi.z | Bin 0 -> 195509 bytes .../tcpdf/fonts/droidsansfallback.ctg.z | Bin 0 -> 58024 bytes .../tcpdf/fonts/droidsansfallback.php | 2975 ++++ .../tcpdf/fonts/droidsansfallback.z | Bin 0 -> 1500903 bytes .../tcpdf/fonts/freefont-20100919/AUTHORS | 235 + .../tcpdf/fonts/freefont-20100919/COPYING | 674 + .../tcpdf/fonts/freefont-20100919/CREDITS | 581 + .../tcpdf/fonts/freefont-20100919/ChangeLog | 6325 +++++++ .../tcpdf/fonts/freefont-20100919/INSTALL | 86 + .../tcpdf/fonts/freefont-20100919/README | 108 + .../tcpdf/fonts/freefont-20120503/AUTHORS | 242 + .../tcpdf/fonts/freefont-20120503/COPYING | 674 + .../tcpdf/fonts/freefont-20120503/CREDITS | 597 + .../tcpdf/fonts/freefont-20120503/ChangeLog | 14707 ++++++++++++++++ .../tcpdf/fonts/freefont-20120503/INSTALL | 98 + .../tcpdf/fonts/freefont-20120503/README | 127 + .../fonts/freefont-20120503/TROUBLESHOOTING | 115 + .../tcpdf/fonts/freefont-20120503/USAGE | 185 + lib/tecnickcom/tcpdf/fonts/freemono.ctg.z | Bin 0 -> 7904 bytes lib/tecnickcom/tcpdf/fonts/freemono.php | 16 + lib/tecnickcom/tcpdf/fonts/freemono.z | Bin 0 -> 304768 bytes lib/tecnickcom/tcpdf/fonts/freemonob.ctg.z | Bin 0 -> 3968 bytes lib/tecnickcom/tcpdf/fonts/freemonob.php | 16 + lib/tecnickcom/tcpdf/fonts/freemonob.z | Bin 0 -> 161601 bytes lib/tecnickcom/tcpdf/fonts/freemonobi.ctg.z | Bin 0 -> 3528 bytes lib/tecnickcom/tcpdf/fonts/freemonobi.php | 16 + lib/tecnickcom/tcpdf/fonts/freemonobi.z | Bin 0 -> 170654 bytes lib/tecnickcom/tcpdf/fonts/freemonoi.ctg.z | Bin 0 -> 4364 bytes lib/tecnickcom/tcpdf/fonts/freemonoi.php | 16 + lib/tecnickcom/tcpdf/fonts/freemonoi.z | Bin 0 -> 221911 bytes lib/tecnickcom/tcpdf/fonts/freesans.ctg.z | Bin 0 -> 8661 bytes lib/tecnickcom/tcpdf/fonts/freesans.php | 16 + lib/tecnickcom/tcpdf/fonts/freesans.z | Bin 0 -> 807705 bytes lib/tecnickcom/tcpdf/fonts/freesansb.ctg.z | Bin 0 -> 5192 bytes lib/tecnickcom/tcpdf/fonts/freesansb.php | 16 + lib/tecnickcom/tcpdf/fonts/freesansb.z | Bin 0 -> 238874 bytes lib/tecnickcom/tcpdf/fonts/freesansbi.ctg.z | Bin 0 -> 4626 bytes lib/tecnickcom/tcpdf/fonts/freesansbi.php | 16 + lib/tecnickcom/tcpdf/fonts/freesansbi.z | Bin 0 -> 194919 bytes lib/tecnickcom/tcpdf/fonts/freesansi.ctg.z | Bin 0 -> 4927 bytes lib/tecnickcom/tcpdf/fonts/freesansi.php | 16 + lib/tecnickcom/tcpdf/fonts/freesansi.z | Bin 0 -> 424478 bytes lib/tecnickcom/tcpdf/fonts/freeserif.ctg.z | Bin 0 -> 12610 bytes lib/tecnickcom/tcpdf/fonts/freeserif.php | 16 + lib/tecnickcom/tcpdf/fonts/freeserif.z | Bin 0 -> 1835770 bytes lib/tecnickcom/tcpdf/fonts/freeserifb.ctg.z | Bin 0 -> 7834 bytes lib/tecnickcom/tcpdf/fonts/freeserifb.php | 16 + lib/tecnickcom/tcpdf/fonts/freeserifb.z | Bin 0 -> 688505 bytes lib/tecnickcom/tcpdf/fonts/freeserifbi.ctg.z | Bin 0 -> 5104 bytes lib/tecnickcom/tcpdf/fonts/freeserifbi.php | 16 + lib/tecnickcom/tcpdf/fonts/freeserifbi.z | Bin 0 -> 345721 bytes lib/tecnickcom/tcpdf/fonts/freeserifi.ctg.z | Bin 0 -> 5353 bytes lib/tecnickcom/tcpdf/fonts/freeserifi.php | 16 + lib/tecnickcom/tcpdf/fonts/freeserifi.z | Bin 0 -> 536112 bytes .../tcpdf/fonts/helvetica.php | 0 .../tcpdf/fonts/helveticab.php | 0 .../tcpdf/fonts/helveticabi.php | 0 .../tcpdf/fonts/helveticai.php | 0 .../tcpdf/fonts/hysmyeongjostdmedium.php | 48 + lib/tecnickcom/tcpdf/fonts/kozgopromedium.php | 65 + .../tcpdf/fonts/kozminproregular.php | 63 + lib/tecnickcom/tcpdf/fonts/msungstdlight.php | 38 + lib/tecnickcom/tcpdf/fonts/pdfacourier.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfacourier.z | Bin 0 -> 37531 bytes lib/tecnickcom/tcpdf/fonts/pdfacourierb.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfacourierb.z | Bin 0 -> 39588 bytes lib/tecnickcom/tcpdf/fonts/pdfacourierbi.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfacourierbi.z | Bin 0 -> 44697 bytes lib/tecnickcom/tcpdf/fonts/pdfacourieri.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfacourieri.z | Bin 0 -> 35283 bytes lib/tecnickcom/tcpdf/fonts/pdfahelvetica.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfahelvetica.z | Bin 0 -> 25258 bytes lib/tecnickcom/tcpdf/fonts/pdfahelveticab.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfahelveticab.z | Bin 0 -> 25613 bytes .../tcpdf/fonts/pdfahelveticabi.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfahelveticabi.z | Bin 0 -> 32971 bytes lib/tecnickcom/tcpdf/fonts/pdfahelveticai.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfahelveticai.z | Bin 0 -> 29093 bytes lib/tecnickcom/tcpdf/fonts/pdfasymbol.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfasymbol.z | Bin 0 -> 30488 bytes lib/tecnickcom/tcpdf/fonts/pdfatimes.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfatimes.z | Bin 0 -> 39032 bytes lib/tecnickcom/tcpdf/fonts/pdfatimesb.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfatimesb.z | Bin 0 -> 38174 bytes lib/tecnickcom/tcpdf/fonts/pdfatimesbi.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfatimesbi.z | Bin 0 -> 40718 bytes lib/tecnickcom/tcpdf/fonts/pdfatimesi.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfatimesi.z | Bin 0 -> 35922 bytes .../tcpdf/fonts/pdfazapfdingbats.php | 15 + lib/tecnickcom/tcpdf/fonts/pdfazapfdingbats.z | Bin 0 -> 50768 bytes lib/tecnickcom/tcpdf/fonts/stsongstdlight.php | 39 + .../tcpdf/fonts/symbol.php | 0 .../tcpdf/fonts/times.php | 0 .../tcpdf/fonts/timesb.php | 0 .../tcpdf/fonts/timesbi.php | 0 .../tcpdf/fonts/timesi.php | 0 lib/tecnickcom/tcpdf/fonts/uni2cid_ac15.php | 6 + lib/tecnickcom/tcpdf/fonts/uni2cid_ag15.php | 6 + lib/tecnickcom/tcpdf/fonts/uni2cid_aj16.php | 6 + lib/tecnickcom/tcpdf/fonts/uni2cid_ak12.php | 6 + .../tcpdf/fonts/zapfdingbats.php | 0 .../tcpdf/include/barcodes/datamatrix.php | 0 .../tcpdf/include/barcodes/pdf417.php | 0 .../tcpdf/include/barcodes/qrcode.php | 0 .../tcpdf/include/sRGB.icc | Bin .../tcpdf/include/tcpdf_colors.php | 0 .../tcpdf/include/tcpdf_filters.php | 0 .../tcpdf/include/tcpdf_font_data.php | 0 .../tcpdf/include/tcpdf_fonts.php | 0 .../tcpdf/include/tcpdf_images.php | 0 .../tcpdf/include/tcpdf_static.php | 0 lib/{combodo => tecnickcom}/tcpdf/tcpdf.php | 0 .../tcpdf/tcpdf_autoconfig.php | 0 .../tcpdf/tcpdf_barcodes_1d.php | 0 .../tcpdf/tcpdf_barcodes_2d.php | 0 .../tcpdf/tcpdf_import.php | 0 .../tcpdf/tcpdf_parser.php | 0 lib/tecnickcom/tcpdf/tools/.htaccess | 1 + .../tcpdf/tools/convert_fonts_examples.txt | 28 + lib/tecnickcom/tcpdf/tools/tcpdf_addfont.php | 269 + 388 files changed, 49673 insertions(+), 261 deletions(-) rename {lib/combodo/tcpdf/fonts => .make/composer/tcpdf}/droidsansfallback.ctg.z (100%) rename {lib/combodo/tcpdf/fonts => .make/composer/tcpdf}/droidsansfallback.php (100%) rename {lib/combodo/tcpdf/fonts => .make/composer/tcpdf}/droidsansfallback.z (100%) create mode 100644 .make/composer/tcpdf/tcpdfCustomFonts.php delete mode 100644 lib/combodo/tcpdf/composer.json rename lib/{combodo => tecnickcom}/tcpdf/CHANGELOG.TXT (100%) rename lib/{combodo => tecnickcom}/tcpdf/LICENSE.TXT (100%) rename lib/{combodo => tecnickcom}/tcpdf/README.md (100%) rename lib/{combodo => tecnickcom}/tcpdf/VERSION (100%) create mode 100644 lib/tecnickcom/tcpdf/composer.json rename lib/{combodo => tecnickcom}/tcpdf/config/tcpdf_config.php (100%) create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_1d_html.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_1d_png.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_1d_svg.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_1d_svgi.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_html.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_png.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_svg.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_svgi.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_html.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_png.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_svg.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_svgi.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_html.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_png.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_svg.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_svgi.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/tcpdf_barcodes_1d_include.php create mode 100644 lib/tecnickcom/tcpdf/examples/barcodes/tcpdf_barcodes_2d_include.php create mode 100644 lib/tecnickcom/tcpdf/examples/config/tcpdf_config_alt.php create mode 100644 lib/tecnickcom/tcpdf/examples/data/cert/tcpdf.crt create mode 100644 lib/tecnickcom/tcpdf/examples/data/cert/tcpdf.fdf create mode 100644 lib/tecnickcom/tcpdf/examples/data/cert/tcpdf.p12 create mode 100644 lib/tecnickcom/tcpdf/examples/data/chapter_demo_1.txt create mode 100644 lib/tecnickcom/tcpdf/examples/data/chapter_demo_2.txt create mode 100644 lib/tecnickcom/tcpdf/examples/data/table_data_demo.txt create mode 100644 lib/tecnickcom/tcpdf/examples/data/utf8test.txt create mode 100644 lib/tecnickcom/tcpdf/examples/example_001.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_002.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_003.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_004.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_005.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_006.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_007.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_008.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_009.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_010.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_011.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_012.pdf create mode 100644 lib/tecnickcom/tcpdf/examples/example_012.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_013.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_014.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_015.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_016.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_017.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_018.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_019.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_020.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_021.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_022.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_023.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_024.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_025.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_026.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_027.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_028.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_029.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_030.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_031.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_032.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_033.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_034.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_035.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_036.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_037.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_038.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_039.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_040.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_041.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_042.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_043.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_044.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_045.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_046.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_047.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_048.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_049.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_050.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_051.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_052.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_053.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_054.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_055.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_056.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_057.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_058.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_059.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_060.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_061.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_062.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_063.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_064.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_065.php create mode 100644 lib/tecnickcom/tcpdf/examples/example_066.php create mode 100644 lib/tecnickcom/tcpdf/examples/images/_blank.png create mode 100644 lib/tecnickcom/tcpdf/examples/images/alpha.png create mode 100644 lib/tecnickcom/tcpdf/examples/images/image_demo.jpg create mode 100644 lib/tecnickcom/tcpdf/examples/images/image_with_alpha.png create mode 100644 lib/tecnickcom/tcpdf/examples/images/img.png create mode 100644 lib/tecnickcom/tcpdf/examples/images/logo_example.gif create mode 100644 lib/tecnickcom/tcpdf/examples/images/logo_example.jpg create mode 100644 lib/tecnickcom/tcpdf/examples/images/logo_example.png create mode 100644 lib/tecnickcom/tcpdf/examples/images/tcpdf_box.ai create mode 100644 lib/tecnickcom/tcpdf/examples/images/tcpdf_box.svg create mode 100644 lib/tecnickcom/tcpdf/examples/images/tcpdf_cell.png create mode 100644 lib/tecnickcom/tcpdf/examples/images/tcpdf_logo.jpg create mode 100644 lib/tecnickcom/tcpdf/examples/images/tcpdf_signature.png create mode 100644 lib/tecnickcom/tcpdf/examples/images/testsvg.svg create mode 100644 lib/tecnickcom/tcpdf/examples/images/tux.svg create mode 100644 lib/tecnickcom/tcpdf/examples/index.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/afr.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/ara.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/aze.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/bel.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/bra.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/bul.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/cat.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/ces.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/chi.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/cym.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/dan.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/eng.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/est.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/eus.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/far.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/fra.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/ger.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/gle.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/glg.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/hat.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/heb.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/hrv.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/hun.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/hye.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/ind.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/ita.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/jpn.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/kat.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/kor.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/mkd.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/mlt.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/msa.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/nld.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/nob.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/pol.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/por.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/ron.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/rus.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/slv.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/spa.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/sqi.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/srp.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/swa.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/swe.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/ukr.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/urd.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/yid.php create mode 100644 lib/tecnickcom/tcpdf/examples/lang/zho.php create mode 100644 lib/tecnickcom/tcpdf/examples/tcpdf_include.php create mode 100644 lib/tecnickcom/tcpdf/fonts/ae_fonts_2.0/COPYING create mode 100644 lib/tecnickcom/tcpdf/fonts/ae_fonts_2.0/ChangeLog create mode 100644 lib/tecnickcom/tcpdf/fonts/ae_fonts_2.0/README create mode 100644 lib/tecnickcom/tcpdf/fonts/aealarabiya.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/aealarabiya.php create mode 100644 lib/tecnickcom/tcpdf/fonts/aealarabiya.z create mode 100644 lib/tecnickcom/tcpdf/fonts/aefurat.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/aefurat.php create mode 100644 lib/tecnickcom/tcpdf/fonts/aefurat.z create mode 100644 lib/tecnickcom/tcpdf/fonts/cid0cs.php create mode 100644 lib/tecnickcom/tcpdf/fonts/cid0ct.php create mode 100644 lib/tecnickcom/tcpdf/fonts/cid0jp.php create mode 100644 lib/tecnickcom/tcpdf/fonts/cid0kr.php rename lib/{combodo => tecnickcom}/tcpdf/fonts/courier.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/courierb.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/courierbi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/courieri.php (100%) create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.33/AUTHORS create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.33/BUGS create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.33/LICENSE create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.33/NEWS create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.33/README create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.33/langcover.txt create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.33/unicover.txt create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.34/AUTHORS create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.34/BUGS create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.34/LICENSE create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.34/NEWS create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.34/README create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.34/langcover.txt create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-2.34/unicover.txt rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusans.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusans.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusans.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansb.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansb.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansb.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansbi.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansbi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansbi.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensed.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensed.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensed.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedb.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedb.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedb.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedbi.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedbi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedbi.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedi.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusanscondensedi.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansextralight.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansextralight.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansextralight.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansi.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansi.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmono.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmono.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmono.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonob.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonob.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonob.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonobi.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonobi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonobi.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonoi.ctg.z (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonoi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/dejavusansmonoi.z (100%) create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserif.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserif.php create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserif.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifb.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifb.php create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifb.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifbi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifbi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifbi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensed.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensed.php create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensed.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedb.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedb.php create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedb.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedbi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedbi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedbi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifcondensedi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/dejavuserifi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/droidsansfallback.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/droidsansfallback.php create mode 100644 lib/tecnickcom/tcpdf/fonts/droidsansfallback.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20100919/AUTHORS create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20100919/COPYING create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20100919/CREDITS create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20100919/ChangeLog create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20100919/INSTALL create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20100919/README create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20120503/AUTHORS create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20120503/COPYING create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20120503/CREDITS create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20120503/ChangeLog create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20120503/INSTALL create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20120503/README create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20120503/TROUBLESHOOTING create mode 100644 lib/tecnickcom/tcpdf/fonts/freefont-20120503/USAGE create mode 100644 lib/tecnickcom/tcpdf/fonts/freemono.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freemono.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freemono.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonob.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonob.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonob.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonobi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonobi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonobi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonoi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonoi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freemonoi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freesans.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freesans.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freesans.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansb.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansb.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansb.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansbi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansbi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansbi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freesansi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserif.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserif.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserif.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifb.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifb.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifb.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifbi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifbi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifbi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifi.ctg.z create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/freeserifi.z rename lib/{combodo => tecnickcom}/tcpdf/fonts/helvetica.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/helveticab.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/helveticabi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/helveticai.php (100%) create mode 100644 lib/tecnickcom/tcpdf/fonts/hysmyeongjostdmedium.php create mode 100644 lib/tecnickcom/tcpdf/fonts/kozgopromedium.php create mode 100644 lib/tecnickcom/tcpdf/fonts/kozminproregular.php create mode 100644 lib/tecnickcom/tcpdf/fonts/msungstdlight.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfacourier.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfacourier.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfacourierb.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfacourierb.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfacourierbi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfacourierbi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfacourieri.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfacourieri.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfahelvetica.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfahelvetica.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfahelveticab.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfahelveticab.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfahelveticabi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfahelveticabi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfahelveticai.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfahelveticai.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfasymbol.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfasymbol.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfatimes.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfatimes.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfatimesb.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfatimesb.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfatimesbi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfatimesbi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfatimesi.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfatimesi.z create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfazapfdingbats.php create mode 100644 lib/tecnickcom/tcpdf/fonts/pdfazapfdingbats.z create mode 100644 lib/tecnickcom/tcpdf/fonts/stsongstdlight.php rename lib/{combodo => tecnickcom}/tcpdf/fonts/symbol.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/times.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/timesb.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/timesbi.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/fonts/timesi.php (100%) create mode 100644 lib/tecnickcom/tcpdf/fonts/uni2cid_ac15.php create mode 100644 lib/tecnickcom/tcpdf/fonts/uni2cid_ag15.php create mode 100644 lib/tecnickcom/tcpdf/fonts/uni2cid_aj16.php create mode 100644 lib/tecnickcom/tcpdf/fonts/uni2cid_ak12.php rename lib/{combodo => tecnickcom}/tcpdf/fonts/zapfdingbats.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/barcodes/datamatrix.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/barcodes/pdf417.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/barcodes/qrcode.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/sRGB.icc (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/tcpdf_colors.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/tcpdf_filters.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/tcpdf_font_data.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/tcpdf_fonts.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/tcpdf_images.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/include/tcpdf_static.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/tcpdf.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/tcpdf_autoconfig.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/tcpdf_barcodes_1d.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/tcpdf_barcodes_2d.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/tcpdf_import.php (100%) rename lib/{combodo => tecnickcom}/tcpdf/tcpdf_parser.php (100%) create mode 100644 lib/tecnickcom/tcpdf/tools/.htaccess create mode 100644 lib/tecnickcom/tcpdf/tools/convert_fonts_examples.txt create mode 100644 lib/tecnickcom/tcpdf/tools/tcpdf_addfont.php diff --git a/lib/combodo/tcpdf/fonts/droidsansfallback.ctg.z b/.make/composer/tcpdf/droidsansfallback.ctg.z similarity index 100% rename from lib/combodo/tcpdf/fonts/droidsansfallback.ctg.z rename to .make/composer/tcpdf/droidsansfallback.ctg.z diff --git a/lib/combodo/tcpdf/fonts/droidsansfallback.php b/.make/composer/tcpdf/droidsansfallback.php similarity index 100% rename from lib/combodo/tcpdf/fonts/droidsansfallback.php rename to .make/composer/tcpdf/droidsansfallback.php diff --git a/lib/combodo/tcpdf/fonts/droidsansfallback.z b/.make/composer/tcpdf/droidsansfallback.z similarity index 100% rename from lib/combodo/tcpdf/fonts/droidsansfallback.z rename to .make/composer/tcpdf/droidsansfallback.z diff --git a/.make/composer/tcpdf/tcpdfCustomFonts.php b/.make/composer/tcpdf/tcpdfCustomFonts.php new file mode 100644 index 000000000..174c2b7fb --- /dev/null +++ b/.make/composer/tcpdf/tcpdfCustomFonts.php @@ -0,0 +1,38 @@ +=5.3.0" - }, - "replace": { - "tecnickcom/tcpdf": "self.version" - }, - "type": "library", - "autoload": { - "classmap": [ - "config", - "include", - "tcpdf.php", - "tcpdf_parser.php", - "tcpdf_import.php", - "tcpdf_barcodes_1d.php", - "tcpdf_barcodes_2d.php", - "include/tcpdf_colors.php", - "include/tcpdf_filters.php", - "include/tcpdf_font_data.php", - "include/tcpdf_fonts.php", - "include/tcpdf_images.php", - "include/tcpdf_static.php", - "include/barcodes/datamatrix.php", - "include/barcodes/pdf417.php", - "include/barcodes/qrcode.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-only" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" - }, - { - "name": "Combodo", - "email": "contact@combodo.com" - } - ], - "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", - "homepage": "https://github.com/combodo-itop-libs/TCPDF", - "keywords": [ - "PDFD32000-2008", - "TCPDF", - "barcodes", - "datamatrix", - "pdf", - "pdf417", - "qrcode" - ], - "support": { - "source": "https://github.com/combodo-itop-libs/TCPDF/tree/6.4.4" - }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project", - "type": "custom" - } - ], - "time": "2022-03-10T14:36:39+00:00" - }, { "name": "firebase/php-jwt", "version": "v6.10.0", @@ -4865,6 +4787,78 @@ ], "time": "2023-11-06T11:00:25+00:00" }, + { + "name": "tecnickcom/tcpdf", + "version": "6.4.4", + "source": { + "type": "git", + "url": "https://github.com/tecnickcom/TCPDF.git", + "reference": "42cd0f9786af7e5db4fcedaa66f717b0d0032320" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/42cd0f9786af7e5db4fcedaa66f717b0d0032320", + "reference": "42cd0f9786af7e5db4fcedaa66f717b0d0032320", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "config", + "include", + "tcpdf.php", + "tcpdf_parser.php", + "tcpdf_import.php", + "tcpdf_barcodes_1d.php", + "tcpdf_barcodes_2d.php", + "include/tcpdf_colors.php", + "include/tcpdf_filters.php", + "include/tcpdf_font_data.php", + "include/tcpdf_fonts.php", + "include/tcpdf_images.php", + "include/tcpdf_static.php", + "include/barcodes/datamatrix.php", + "include/barcodes/pdf417.php", + "include/barcodes/qrcode.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-only" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "role": "lead" + } + ], + "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", + "homepage": "http://www.tcpdf.org/", + "keywords": [ + "PDFD32000-2008", + "TCPDF", + "barcodes", + "datamatrix", + "pdf", + "pdf417", + "qrcode" + ], + "support": { + "issues": "https://github.com/tecnickcom/TCPDF/issues", + "source": "https://github.com/tecnickcom/TCPDF/tree/6.4.4" + }, + "funding": [ + { + "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project", + "type": "custom" + } + ], + "time": "2021-12-31T08:39:24+00:00" + }, { "name": "thenetworg/oauth2-azure", "version": "v2.2.2", @@ -5282,7 +5276,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.1.0 <8.2.0", + "php": ">=8.1.0 <8.4.0", "ext-ctype": "*", "ext-dom": "*", "ext-gd": "*", diff --git a/lib/combodo/tcpdf/composer.json b/lib/combodo/tcpdf/composer.json deleted file mode 100644 index b53dd6e7f..000000000 --- a/lib/combodo/tcpdf/composer.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "combodo/tcpdf", - "replace": { - "tecnickcom/tcpdf": "self.version" - }, - "type": "library", - "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", - "keywords": [ - "PDF", - "tcpdf", - "PDFD32000-2008", - "qrcode", - "datamatrix", - "pdf417", - "barcodes" - ], - "homepage": "https://github.com/combodo-itop-libs/TCPDF", - "version": "6.4.4", - "license": "LGPL-3.0-only", - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" - }, - { - "name": "Combodo", - "email": "contact@combodo.com" - } - ], - "require": { - "php": ">=5.3.0" - }, - "autoload": { - "classmap": [ - "config", - "include", - "tcpdf.php", - "tcpdf_parser.php", - "tcpdf_import.php", - "tcpdf_barcodes_1d.php", - "tcpdf_barcodes_2d.php", - "include/tcpdf_colors.php", - "include/tcpdf_filters.php", - "include/tcpdf_font_data.php", - "include/tcpdf_fonts.php", - "include/tcpdf_images.php", - "include/tcpdf_static.php", - "include/barcodes/datamatrix.php", - "include/barcodes/pdf417.php", - "include/barcodes/qrcode.php" - ] - } -} diff --git a/lib/composer/autoload_classmap.php b/lib/composer/autoload_classmap.php index 00b1ce927..0566bd64b 100644 --- a/lib/composer/autoload_classmap.php +++ b/lib/composer/autoload_classmap.php @@ -553,7 +553,7 @@ return array( 'DashletProxy' => $baseDir . '/application/dashlet.class.inc.php', 'DashletUnknown' => $baseDir . '/application/dashlet.class.inc.php', 'DataTable' => $baseDir . '/application/datatable.class.inc.php', - 'Datamatrix' => $vendorDir . '/combodo/tcpdf/include/barcodes/datamatrix.php', + 'Datamatrix' => $vendorDir . '/tecnickcom/tcpdf/include/barcodes/datamatrix.php', 'DateError' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateError.php', 'DateException' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateException.php', 'DateInvalidOperationException' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/DateInvalidOperationException.php', @@ -1158,7 +1158,7 @@ return array( 'OqlQuery' => $baseDir . '/core/oql/oqlquery.class.inc.php', 'OqlUnionQuery' => $baseDir . '/core/oql/oqlquery.class.inc.php', 'Override' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/Override.php', - 'PDF417' => $vendorDir . '/combodo/tcpdf/include/barcodes/pdf417.php', + 'PDF417' => $vendorDir . '/tecnickcom/tcpdf/include/barcodes/pdf417.php', 'PDFBulkExport' => $baseDir . '/core/pdfbulkexport.class.inc.php', 'PEAR' => $vendorDir . '/pear/pear-core-minimal/src/PEAR.php', 'PEAR_ErrorStack' => $vendorDir . '/pear/pear-core-minimal/src/PEAR/ErrorStack.php', @@ -1467,7 +1467,7 @@ return array( 'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/src/LoggerInterface.php', 'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/src/LoggerTrait.php', 'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/src/NullLogger.php', - 'QRcode' => $vendorDir . '/combodo/tcpdf/include/barcodes/qrcode.php', + 'QRcode' => $vendorDir . '/tecnickcom/tcpdf/include/barcodes/qrcode.php', 'Query' => $baseDir . '/application/query.class.inc.php', 'QueryBuilderContext' => $baseDir . '/core/querybuildercontext.class.inc.php', 'QueryBuilderExpressions' => $baseDir . '/core/querybuilderexpressions.class.inc.php', @@ -2848,17 +2848,17 @@ return array( 'Symfony\\Runtime\\Symfony\\Component\\HttpKernel\\HttpKernelInterfaceRuntime' => $vendorDir . '/symfony/runtime/Internal/HttpKernel/HttpKernelInterfaceRuntime.php', 'SynchroExceptionNotStarted' => $baseDir . '/application/exceptions/SynchroExceptionNotStarted.php', 'System' => $vendorDir . '/pear/pear-core-minimal/src/System.php', - 'TCPDF' => $vendorDir . '/combodo/tcpdf/tcpdf.php', - 'TCPDF2DBarcode' => $vendorDir . '/combodo/tcpdf/tcpdf_barcodes_2d.php', - 'TCPDFBarcode' => $vendorDir . '/combodo/tcpdf/tcpdf_barcodes_1d.php', - 'TCPDF_COLORS' => $vendorDir . '/combodo/tcpdf/include/tcpdf_colors.php', - 'TCPDF_FILTERS' => $vendorDir . '/combodo/tcpdf/include/tcpdf_filters.php', - 'TCPDF_FONTS' => $vendorDir . '/combodo/tcpdf/include/tcpdf_fonts.php', - 'TCPDF_FONT_DATA' => $vendorDir . '/combodo/tcpdf/include/tcpdf_font_data.php', - 'TCPDF_IMAGES' => $vendorDir . '/combodo/tcpdf/include/tcpdf_images.php', - 'TCPDF_IMPORT' => $vendorDir . '/combodo/tcpdf/tcpdf_import.php', - 'TCPDF_PARSER' => $vendorDir . '/combodo/tcpdf/tcpdf_parser.php', - 'TCPDF_STATIC' => $vendorDir . '/combodo/tcpdf/include/tcpdf_static.php', + 'TCPDF' => $vendorDir . '/tecnickcom/tcpdf/tcpdf.php', + 'TCPDF2DBarcode' => $vendorDir . '/tecnickcom/tcpdf/tcpdf_barcodes_2d.php', + 'TCPDFBarcode' => $vendorDir . '/tecnickcom/tcpdf/tcpdf_barcodes_1d.php', + 'TCPDF_COLORS' => $vendorDir . '/tecnickcom/tcpdf/include/tcpdf_colors.php', + 'TCPDF_FILTERS' => $vendorDir . '/tecnickcom/tcpdf/include/tcpdf_filters.php', + 'TCPDF_FONTS' => $vendorDir . '/tecnickcom/tcpdf/include/tcpdf_fonts.php', + 'TCPDF_FONT_DATA' => $vendorDir . '/tecnickcom/tcpdf/include/tcpdf_font_data.php', + 'TCPDF_IMAGES' => $vendorDir . '/tecnickcom/tcpdf/include/tcpdf_images.php', + 'TCPDF_IMPORT' => $vendorDir . '/tecnickcom/tcpdf/tcpdf_import.php', + 'TCPDF_PARSER' => $vendorDir . '/tecnickcom/tcpdf/tcpdf_parser.php', + 'TCPDF_STATIC' => $vendorDir . '/tecnickcom/tcpdf/include/tcpdf_static.php', 'TabularBulkExport' => $baseDir . '/core/tabularbulkexport.class.inc.php', 'TagSetFieldData' => $baseDir . '/core/tagsetfield.class.inc.php', 'TemplateMenuNode' => $baseDir . '/application/menunode.class.inc.php', diff --git a/lib/composer/autoload_static.php b/lib/composer/autoload_static.php index 7987d341e..029ad0205 100644 --- a/lib/composer/autoload_static.php +++ b/lib/composer/autoload_static.php @@ -928,7 +928,7 @@ class ComposerStaticInit7f81b4a2a468a061c306af5e447a9a9f 'DashletProxy' => __DIR__ . '/../..' . '/application/dashlet.class.inc.php', 'DashletUnknown' => __DIR__ . '/../..' . '/application/dashlet.class.inc.php', 'DataTable' => __DIR__ . '/../..' . '/application/datatable.class.inc.php', - 'Datamatrix' => __DIR__ . '/..' . '/combodo/tcpdf/include/barcodes/datamatrix.php', + 'Datamatrix' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/barcodes/datamatrix.php', 'DateError' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateError.php', 'DateException' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateException.php', 'DateInvalidOperationException' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/DateInvalidOperationException.php', @@ -1533,7 +1533,7 @@ class ComposerStaticInit7f81b4a2a468a061c306af5e447a9a9f 'OqlQuery' => __DIR__ . '/../..' . '/core/oql/oqlquery.class.inc.php', 'OqlUnionQuery' => __DIR__ . '/../..' . '/core/oql/oqlquery.class.inc.php', 'Override' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/Override.php', - 'PDF417' => __DIR__ . '/..' . '/combodo/tcpdf/include/barcodes/pdf417.php', + 'PDF417' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/barcodes/pdf417.php', 'PDFBulkExport' => __DIR__ . '/../..' . '/core/pdfbulkexport.class.inc.php', 'PEAR' => __DIR__ . '/..' . '/pear/pear-core-minimal/src/PEAR.php', 'PEAR_ErrorStack' => __DIR__ . '/..' . '/pear/pear-core-minimal/src/PEAR/ErrorStack.php', @@ -1842,7 +1842,7 @@ class ComposerStaticInit7f81b4a2a468a061c306af5e447a9a9f 'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerInterface.php', 'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerTrait.php', 'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/src/NullLogger.php', - 'QRcode' => __DIR__ . '/..' . '/combodo/tcpdf/include/barcodes/qrcode.php', + 'QRcode' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/barcodes/qrcode.php', 'Query' => __DIR__ . '/../..' . '/application/query.class.inc.php', 'QueryBuilderContext' => __DIR__ . '/../..' . '/core/querybuildercontext.class.inc.php', 'QueryBuilderExpressions' => __DIR__ . '/../..' . '/core/querybuilderexpressions.class.inc.php', @@ -3223,17 +3223,17 @@ class ComposerStaticInit7f81b4a2a468a061c306af5e447a9a9f 'Symfony\\Runtime\\Symfony\\Component\\HttpKernel\\HttpKernelInterfaceRuntime' => __DIR__ . '/..' . '/symfony/runtime/Internal/HttpKernel/HttpKernelInterfaceRuntime.php', 'SynchroExceptionNotStarted' => __DIR__ . '/../..' . '/application/exceptions/SynchroExceptionNotStarted.php', 'System' => __DIR__ . '/..' . '/pear/pear-core-minimal/src/System.php', - 'TCPDF' => __DIR__ . '/..' . '/combodo/tcpdf/tcpdf.php', - 'TCPDF2DBarcode' => __DIR__ . '/..' . '/combodo/tcpdf/tcpdf_barcodes_2d.php', - 'TCPDFBarcode' => __DIR__ . '/..' . '/combodo/tcpdf/tcpdf_barcodes_1d.php', - 'TCPDF_COLORS' => __DIR__ . '/..' . '/combodo/tcpdf/include/tcpdf_colors.php', - 'TCPDF_FILTERS' => __DIR__ . '/..' . '/combodo/tcpdf/include/tcpdf_filters.php', - 'TCPDF_FONTS' => __DIR__ . '/..' . '/combodo/tcpdf/include/tcpdf_fonts.php', - 'TCPDF_FONT_DATA' => __DIR__ . '/..' . '/combodo/tcpdf/include/tcpdf_font_data.php', - 'TCPDF_IMAGES' => __DIR__ . '/..' . '/combodo/tcpdf/include/tcpdf_images.php', - 'TCPDF_IMPORT' => __DIR__ . '/..' . '/combodo/tcpdf/tcpdf_import.php', - 'TCPDF_PARSER' => __DIR__ . '/..' . '/combodo/tcpdf/tcpdf_parser.php', - 'TCPDF_STATIC' => __DIR__ . '/..' . '/combodo/tcpdf/include/tcpdf_static.php', + 'TCPDF' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf.php', + 'TCPDF2DBarcode' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf_barcodes_2d.php', + 'TCPDFBarcode' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf_barcodes_1d.php', + 'TCPDF_COLORS' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_colors.php', + 'TCPDF_FILTERS' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_filters.php', + 'TCPDF_FONTS' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_fonts.php', + 'TCPDF_FONT_DATA' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_font_data.php', + 'TCPDF_IMAGES' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_images.php', + 'TCPDF_IMPORT' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf_import.php', + 'TCPDF_PARSER' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf_parser.php', + 'TCPDF_STATIC' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_static.php', 'TabularBulkExport' => __DIR__ . '/../..' . '/core/tabularbulkexport.class.inc.php', 'TagSetFieldData' => __DIR__ . '/../..' . '/core/tagsetfield.class.inc.php', 'TemplateMenuNode' => __DIR__ . '/../..' . '/application/menunode.class.inc.php', diff --git a/lib/composer/installed.json b/lib/composer/installed.json index e13c89514..500982986 100644 --- a/lib/composer/installed.json +++ b/lib/composer/installed.json @@ -74,87 +74,6 @@ }, "install-path": "../apereo/phpcas" }, - { - "name": "combodo/tcpdf", - "version": "6.4.4", - "version_normalized": "6.4.4.0", - "source": { - "type": "git", - "url": "https://github.com/combodo-itop-libs/TCPDF.git", - "reference": "0e31c013ccd000aa6762e9186778aa6e259ac8e8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/combodo-itop-libs/TCPDF/zipball/0e31c013ccd000aa6762e9186778aa6e259ac8e8", - "reference": "0e31c013ccd000aa6762e9186778aa6e259ac8e8", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "replace": { - "tecnickcom/tcpdf": "self.version" - }, - "time": "2022-03-10T14:36:39+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "classmap": [ - "config", - "include", - "tcpdf.php", - "tcpdf_parser.php", - "tcpdf_import.php", - "tcpdf_barcodes_1d.php", - "tcpdf_barcodes_2d.php", - "include/tcpdf_colors.php", - "include/tcpdf_filters.php", - "include/tcpdf_font_data.php", - "include/tcpdf_fonts.php", - "include/tcpdf_images.php", - "include/tcpdf_static.php", - "include/barcodes/datamatrix.php", - "include/barcodes/pdf417.php", - "include/barcodes/qrcode.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-only" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" - }, - { - "name": "Combodo", - "email": "contact@combodo.com" - } - ], - "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", - "homepage": "https://github.com/combodo-itop-libs/TCPDF", - "keywords": [ - "PDFD32000-2008", - "TCPDF", - "barcodes", - "datamatrix", - "pdf", - "pdf417", - "qrcode" - ], - "support": { - "source": "https://github.com/combodo-itop-libs/TCPDF/tree/6.4.4" - }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project", - "type": "custom" - } - ], - "install-path": "../combodo/tcpdf" - }, { "name": "firebase/php-jwt", "version": "v6.10.0", @@ -5281,6 +5200,81 @@ ], "install-path": "../symfony/yaml" }, + { + "name": "tecnickcom/tcpdf", + "version": "6.4.4", + "version_normalized": "6.4.4.0", + "source": { + "type": "git", + "url": "https://github.com/tecnickcom/TCPDF.git", + "reference": "42cd0f9786af7e5db4fcedaa66f717b0d0032320" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/42cd0f9786af7e5db4fcedaa66f717b0d0032320", + "reference": "42cd0f9786af7e5db4fcedaa66f717b0d0032320", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2021-12-31T08:39:24+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "config", + "include", + "tcpdf.php", + "tcpdf_parser.php", + "tcpdf_import.php", + "tcpdf_barcodes_1d.php", + "tcpdf_barcodes_2d.php", + "include/tcpdf_colors.php", + "include/tcpdf_filters.php", + "include/tcpdf_font_data.php", + "include/tcpdf_fonts.php", + "include/tcpdf_images.php", + "include/tcpdf_static.php", + "include/barcodes/datamatrix.php", + "include/barcodes/pdf417.php", + "include/barcodes/qrcode.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-only" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "role": "lead" + } + ], + "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", + "homepage": "http://www.tcpdf.org/", + "keywords": [ + "PDFD32000-2008", + "TCPDF", + "barcodes", + "datamatrix", + "pdf", + "pdf417", + "qrcode" + ], + "support": { + "issues": "https://github.com/tecnickcom/TCPDF/issues", + "source": "https://github.com/tecnickcom/TCPDF/tree/6.4.4" + }, + "funding": [ + { + "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&business=paypal@tecnick.com&item_name=donation%20for%20tcpdf%20project", + "type": "custom" + } + ], + "install-path": "../tecnickcom/tcpdf" + }, { "name": "thenetworg/oauth2-azure", "version": "v2.2.2", diff --git a/lib/composer/installed.php b/lib/composer/installed.php index e0eaac9a4..093e621e0 100644 --- a/lib/composer/installed.php +++ b/lib/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'combodo/itop', 'pretty_version' => 'dev-develop', 'version' => 'dev-develop', - 'reference' => '25c2e34eed5a10c142c237a61a06b6845bb9031c', + 'reference' => '396356dd204c7704beee3f731ad103fb4d0468c0', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -22,21 +22,12 @@ 'combodo/itop' => array( 'pretty_version' => 'dev-develop', 'version' => 'dev-develop', - 'reference' => '25c2e34eed5a10c142c237a61a06b6845bb9031c', + 'reference' => '396356dd204c7704beee3f731ad103fb4d0468c0', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false, ), - 'combodo/tcpdf' => array( - 'pretty_version' => '6.4.4', - 'version' => '6.4.4.0', - 'reference' => '0e31c013ccd000aa6762e9186778aa6e259ac8e8', - 'type' => 'library', - 'install_path' => __DIR__ . '/../combodo/tcpdf', - 'aliases' => array(), - 'dev_requirement' => false, - ), 'container-interop/container-interop' => array( 'dev_requirement' => false, 'replaced' => array( @@ -711,10 +702,13 @@ 'dev_requirement' => false, ), 'tecnickcom/tcpdf' => array( + 'pretty_version' => '6.4.4', + 'version' => '6.4.4.0', + 'reference' => '42cd0f9786af7e5db4fcedaa66f717b0d0032320', + 'type' => 'library', + 'install_path' => __DIR__ . '/../tecnickcom/tcpdf', + 'aliases' => array(), 'dev_requirement' => false, - 'replaced' => array( - 0 => '6.4.4', - ), ), 'thenetworg/oauth2-azure' => array( 'pretty_version' => 'v2.2.2', diff --git a/lib/combodo/tcpdf/CHANGELOG.TXT b/lib/tecnickcom/tcpdf/CHANGELOG.TXT similarity index 100% rename from lib/combodo/tcpdf/CHANGELOG.TXT rename to lib/tecnickcom/tcpdf/CHANGELOG.TXT diff --git a/lib/combodo/tcpdf/LICENSE.TXT b/lib/tecnickcom/tcpdf/LICENSE.TXT similarity index 100% rename from lib/combodo/tcpdf/LICENSE.TXT rename to lib/tecnickcom/tcpdf/LICENSE.TXT diff --git a/lib/combodo/tcpdf/README.md b/lib/tecnickcom/tcpdf/README.md similarity index 100% rename from lib/combodo/tcpdf/README.md rename to lib/tecnickcom/tcpdf/README.md diff --git a/lib/combodo/tcpdf/VERSION b/lib/tecnickcom/tcpdf/VERSION similarity index 100% rename from lib/combodo/tcpdf/VERSION rename to lib/tecnickcom/tcpdf/VERSION diff --git a/lib/tecnickcom/tcpdf/composer.json b/lib/tecnickcom/tcpdf/composer.json new file mode 100644 index 000000000..c31514bba --- /dev/null +++ b/lib/tecnickcom/tcpdf/composer.json @@ -0,0 +1,47 @@ +{ + "name": "tecnickcom/tcpdf", + "type": "library", + "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", + "keywords": [ + "PDF", + "tcpdf", + "PDFD32000-2008", + "qrcode", + "datamatrix", + "pdf417", + "barcodes" + ], + "homepage": "http://www.tcpdf.org/", + "version": "6.4.4", + "license": "LGPL-3.0-only", + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "role": "lead" + } + ], + "require": { + "php": ">=5.3.0" + }, + "autoload": { + "classmap": [ + "config", + "include", + "tcpdf.php", + "tcpdf_parser.php", + "tcpdf_import.php", + "tcpdf_barcodes_1d.php", + "tcpdf_barcodes_2d.php", + "include/tcpdf_colors.php", + "include/tcpdf_filters.php", + "include/tcpdf_font_data.php", + "include/tcpdf_fonts.php", + "include/tcpdf_images.php", + "include/tcpdf_static.php", + "include/barcodes/datamatrix.php", + "include/barcodes/pdf417.php", + "include/barcodes/qrcode.php" + ] + } +} diff --git a/lib/combodo/tcpdf/config/tcpdf_config.php b/lib/tecnickcom/tcpdf/config/tcpdf_config.php similarity index 100% rename from lib/combodo/tcpdf/config/tcpdf_config.php rename to lib/tecnickcom/tcpdf/config/tcpdf_config.php diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_html.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_html.php new file mode 100644 index 000000000..5a5f9a2aa --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_html.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_1d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_1d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.000 + */ + +// include 1D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128'); + +// output the barcode as HTML object +echo $barcodeobj->getBarcodeHTML(2, 30, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_png.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_png.php new file mode 100644 index 000000000..f7338efce --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_png.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_1d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_1d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.000 + */ + +// include 1D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128'); + +// output the barcode as PNG image +$barcodeobj->getBarcodePNG(2, 30, array(0,0,0)); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_svg.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_svg.php new file mode 100644 index 000000000..557239eaa --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_svg.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_1d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_1d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.000 + */ + +// include 1D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128'); + +// output the barcode as SVG image +$barcodeobj->getBarcodeSVG(2, 30, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_svgi.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_svgi.php new file mode 100644 index 000000000..7f2ca87b6 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_1d_svgi.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_1d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_1d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.000 + */ + +// include 1D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128'); + +// output the barcode as SVG inline code +echo $barcodeobj->getBarcodeSVGcode(2, 40, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_html.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_html.php new file mode 100644 index 000000000..dc7bab324 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_html.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX'); + +// output the barcode as HTML object +echo $barcodeobj->getBarcodeHTML(6, 6, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_png.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_png.php new file mode 100644 index 000000000..87b7a3306 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_png.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX'); + +// output the barcode as PNG image +$barcodeobj->getBarcodePNG(6, 6, array(0,0,0)); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_svg.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_svg.php new file mode 100644 index 000000000..523ebfa3c --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_svg.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX'); + +// output the barcode as SVG image +$barcodeobj->getBarcodeSVG(6, 6, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_svgi.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_svgi.php new file mode 100644 index 000000000..4470981e6 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_datamatrix_svgi.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX'); + +// output the barcode as SVG inline code +echo $barcodeobj->getBarcodeSVGcode(6, 6, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_html.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_html.php new file mode 100644 index 000000000..4c4e9ee74 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_html.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417'); + +// output the barcode as HTML object +echo $barcodeobj->getBarcodeHTML(4, 4, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_png.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_png.php new file mode 100644 index 000000000..df939bb11 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_png.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417'); + +// output the barcode as PNG image +$barcodeobj->getBarcodePNG(4, 4, array(0,0,0)); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_svg.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_svg.php new file mode 100644 index 000000000..fb29ea249 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_svg.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417'); + +// output the barcode as SVG image +$barcodeobj->getBarcodeSVG(4, 4, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_svgi.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_svgi.php new file mode 100644 index 000000000..94e1c71c5 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_pdf417_svgi.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417'); + +// output the barcode as SVG inline code +echo $barcodeobj->getBarcodeSVGcode(4, 4, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_html.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_html.php new file mode 100644 index 000000000..ac828f7d3 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_html.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H'); + +// output the barcode as HTML object +echo $barcodeobj->getBarcodeHTML(6, 6, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_png.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_png.php new file mode 100644 index 000000000..71f871015 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_png.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H'); + +// output the barcode as PNG image +$barcodeobj->getBarcodePNG(6, 6, array(0,0,0)); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_svg.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_svg.php new file mode 100644 index 000000000..1baa43dec --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_svg.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H'); + +// output the barcode as SVG image +$barcodeobj->getBarcodeSVG(6, 6, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_svgi.php b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_svgi.php new file mode 100644 index 000000000..99d65908f --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_svgi.php @@ -0,0 +1,53 @@ +. +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : Example for tcpdf_barcodes_2d.php class +// +//============================================================+ + +/** + * @file + * Example for tcpdf_barcodes_2d.php class + * @package com.tecnick.tcpdf + * @author Nicola Asuni + * @version 1.0.009 + */ + +// include 2D barcode class (search for installation path) +require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php'); + +// set the barcode content and type +$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H'); + +// output the barcode as SVG inline code +echo $barcodeobj->getBarcodeSVGcode(6, 6, 'black'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/barcodes/tcpdf_barcodes_1d_include.php b/lib/tecnickcom/tcpdf/examples/barcodes/tcpdf_barcodes_1d_include.php new file mode 100644 index 000000000..0add5ec6f --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/barcodes/tcpdf_barcodes_1d_include.php @@ -0,0 +1,46 @@ +. +// +// See LICENSE.TXT file for more information. +//============================================================+ + +/** + * Example of alternative configuration file for TCPDF. + * @author Nicola Asuni + * @package com.tecnick.tcpdf + * @version 4.9.005 + * @since 2004-10-27 + */ + +/** + * Define the following constant to ignore the default configuration file. + */ +define ('K_TCPDF_EXTERNAL_CONFIG', true); + +/** + * Installation path (/var/www/tcpdf/). + * By default it is automatically calculated but you can also set it as a fixed string to improve performances. + */ +//define ('K_PATH_MAIN', ''); + +/** + * URL path to tcpdf installation folder (http://localhost/tcpdf/). + * By default it is automatically set but you can also set it as a fixed string to improve performances. + */ +//define ('K_PATH_URL', ''); + +/** + * Path for PDF fonts. + * By default it is automatically set but you can also set it as a fixed string to improve performances. + */ +//define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/'); + +/** + * Default images directory. + * By default it is automatically set but you can also set it as a fixed string to improve performances. + */ +define ('K_PATH_IMAGES', dirname(__FILE__).'/../images/'); + +/** + * Deafult image logo used be the default Header() method. + * Please set here your own logo or an empty string to disable it. + */ +define ('PDF_HEADER_LOGO', 'tcpdf_logo.jpg'); + +/** + * Header logo image width in user units. + */ +define ('PDF_HEADER_LOGO_WIDTH', 30); + +/** + * Cache directory for temporary files (full path). + */ +define ('K_PATH_CACHE', sys_get_temp_dir().'/'); + +/** + * Generic name for a blank image. + */ +define ('K_BLANK_IMAGE', '_blank.png'); + +/** + * Page format. + */ +define ('PDF_PAGE_FORMAT', 'A4'); + +/** + * Page orientation (P=portrait, L=landscape). + */ +define ('PDF_PAGE_ORIENTATION', 'P'); + +/** + * Document creator. + */ +define ('PDF_CREATOR', 'TCPDF'); + +/** + * Document author. + */ +define ('PDF_AUTHOR', 'TCPDF'); + +/** + * Header title. + */ +define ('PDF_HEADER_TITLE', 'TCPDF Example'); + +/** + * Header description string. + */ +define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"); + +/** + * Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]. + */ +define ('PDF_UNIT', 'mm'); + +/** + * Header margin. + */ +define ('PDF_MARGIN_HEADER', 5); + +/** + * Footer margin. + */ +define ('PDF_MARGIN_FOOTER', 10); + +/** + * Top margin. + */ +define ('PDF_MARGIN_TOP', 27); + +/** + * Bottom margin. + */ +define ('PDF_MARGIN_BOTTOM', 25); + +/** + * Left margin. + */ +define ('PDF_MARGIN_LEFT', 15); + +/** + * Right margin. + */ +define ('PDF_MARGIN_RIGHT', 15); + +/** + * Default main font name. + */ +define ('PDF_FONT_NAME_MAIN', 'helvetica'); + +/** + * Default main font size. + */ +define ('PDF_FONT_SIZE_MAIN', 10); + +/** + * Default data font name. + */ +define ('PDF_FONT_NAME_DATA', 'helvetica'); + +/** + * Default data font size. + */ +define ('PDF_FONT_SIZE_DATA', 8); + +/** + * Default monospaced font name. + */ +define ('PDF_FONT_MONOSPACED', 'courier'); + +/** + * Ratio used to adjust the conversion of pixels to user units. + */ +define ('PDF_IMAGE_SCALE_RATIO', 1.25); + +/** + * Magnification factor for titles. + */ +define('HEAD_MAGNIFICATION', 1.1); + +/** + * Height of cell respect font height. + */ +define('K_CELL_HEIGHT_RATIO', 1.25); + +/** + * Title magnification respect main font size. + */ +define('K_TITLE_MAGNIFICATION', 1.3); + +/** + * Reduction factor for small font. + */ +define('K_SMALL_RATIO', 2/3); + +/** + * Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language. + */ +define('K_THAI_TOPCHARS', true); + +/** + * If true allows to call TCPDF methods using HTML syntax + * IMPORTANT: For security reason, disable this feature if you are printing user HTML content. + */ +define('K_TCPDF_CALLS_IN_HTML', true); + +/** + * If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution. + */ +define('K_TCPDF_THROW_EXCEPTION_ERROR', false); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/data/cert/tcpdf.crt b/lib/tecnickcom/tcpdf/examples/data/cert/tcpdf.crt new file mode 100644 index 000000000..f0491391c --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/data/cert/tcpdf.crt @@ -0,0 +1,40 @@ +Bag Attributes + localKeyID: 7B AB 1B 7A BE 4C 85 C0 1A A6 DC 59 3F 79 48 C3 93 38 68 9C +subject=/CN=TCPDF DEMO/O=TCPDF/OU=DEMO/emailAddress=you@example.com/C=IT +issuer=/CN=TCPDF DEMO/O=TCPDF/OU=DEMO/emailAddress=you@example.com/C=IT +-----BEGIN CERTIFICATE----- +MIIC1TCCAj6gAwIBAgIKkehOL/XGkB5cjjANBgkqhkiG9w0BAQUFADBhMRMwEQYD +VQQDEwpUQ1BERiBERU1PMQ4wDAYDVQQKEwVUQ1BERjENMAsGA1UECxMEREVNTzEe +MBwGCSqGSIb3DQEJARYPeW91QGV4YW1wbGUuY29tMQswCQYDVQQGEwJJVDAeFw0w +OTA4MjExMjU0NDhaFw0xNDA4MjExMjU0NDhaMGExEzARBgNVBAMTClRDUERGIERF +TU8xDjAMBgNVBAoTBVRDUERGMQ0wCwYDVQQLEwRERU1PMR4wHAYJKoZIhvcNAQkB +Fg95b3VAZXhhbXBsZS5jb20xCzAJBgNVBAYTAklUMIGfMA0GCSqGSIb3DQEBAQUA +A4GNADCBiQKBgQDAqIL0uGKmTR98Lxx2vEEE1OGKkMXFo0JViitALe7Onhxxqx0H +XMUDKF5mvEVu1rcvh7/oAnAfrCuEpL/up3u1mQCgBE7WXBnFFE/AE3jCksh9OkS0 +Z0Xj9woN5bzxRDsGoPiOu/4xzk5qSEXt8jf2Ep90QuNkqLIRT4swAzpDbwIDAQAB +o4GTMIGQMDcGA1UdEgQwMC6gEQYDVQQDDApUQ1BERiBERU1PoAwGA1UECgwFVENQ +REagCwYDVQQLDARERU1PMDcGA1UdEQQwMC6gEQYDVQQDDApUQ1BERiBERU1PoAwG +A1UECgwFVENQREagCwYDVQQLDARERU1PMA8GCSqGSIb3LwEBCgQCBQAwCwYDVR0P +BAQDAgSQMA0GCSqGSIb3DQEBBQUAA4GBAEhTQfqX3ZNdHmpTLDbIj22RHXii2roE +OavCbu9WsHoWpva0qSd+yIoD594VHvYAd29sfzDfiN+7W0aiZfDhq5jpaSQMVlN8 +RGYMupbHY/+a9Gz1wqxnR84mlTtIkZVRYAhsfPwy6M1BEjdMqfdh9h40JIdkdjtb +8faTCfXPePWQ +-----END CERTIFICATE----- +Bag Attributes + localKeyID: 7B AB 1B 7A BE 4C 85 C0 1A A6 DC 59 3F 79 48 C3 93 38 68 9C +Key Attributes: +-----BEGIN RSA PRIVATE KEY----- +MIICXQIBAAKBgQDAqIL0uGKmTR98Lxx2vEEE1OGKkMXFo0JViitALe7Onhxxqx0H +XMUDKF5mvEVu1rcvh7/oAnAfrCuEpL/up3u1mQCgBE7WXBnFFE/AE3jCksh9OkS0 +Z0Xj9woN5bzxRDsGoPiOu/4xzk5qSEXt8jf2Ep90QuNkqLIRT4swAzpDbwIDAQAB +AoGAXc+wNMmz/5Z+RlIKYia44klmqbplEx+0JULqXI4BQsrqvs67i+I4bJkznoL+ +rEIRYSuQ3sCRKFsFtckjTGpxadnxkB+uwGKc6pZChv99BFX6HFR4hgBlT/BBRAQA +hMDlM2JIRr4S4SMVXR7MHwGMUf9mUeanGLR3ZWtU3aXJrIECQQD7OaYUVYNEEnM9 +uXyjm22CuHyqyEf5gb13sK0uQty67547yJTMUQZd/sQc9KGwhzBbhrob2LO2jAhh +S+f+NSRnAkEAxFHm3fMI5RgXmswxlGm4QW07a/Ueo7ZJG6xjTkFXluJhd+XHswRD +dQIO3zG9nGjNUoeMrPhXhPvKqFc2F9RDuQJAQBEGin74N77gxqfr4ik79y8nE8J5 +oGZ2s/RJZdfFRKLg3mwbjjNHhWb4Ck5UgZkoOt8TzRApXG8/n9hktE5HFwJBALur +M5AueO1Pl5kB489lNJ9OxUQRYUXMxpxuscuoCQwSwmv0O2+0/qtG2WKhUQnI4aYo +L+FV0YwtivBb1jj3T/kCQQDIWOxq8eRowdaMzvJpRUHFgMcf1AVZExKyrugwYOWd +KNsDxC4KaQOsPt8iT/Ulo4g/MJC0HolCOhWibKmR9Ayl +-----END RSA PRIVATE KEY----- diff --git a/lib/tecnickcom/tcpdf/examples/data/cert/tcpdf.fdf b/lib/tecnickcom/tcpdf/examples/data/cert/tcpdf.fdf new file mode 100644 index 0000000000000000000000000000000000000000..a8f7c35d9af83d2579adafbe8d2745daa30dfd3f GIT binary patch literal 1286 zcmY#&b8*u()HC8$ef0SJWnL~r1p|frq%2+=8-1XRf)S7#r0=WYVr67tU}<1sWNK(+ zVqj{ZZD6EsV4$w4A5vM6s_&dwl9-d9ZfD1vnwJ974blcRB_P0C!5Cx;LKeh@%DVa{ zX69&A=9fC8RwU*YU-uEiZ?;rfP&Z2LK)A;_B7r3kke!oRl4_NlT2$g%0n&r%SOWtqBSU91S93#0P5mGRLt{e&OJj)R zfezFUQ!unNGcz$2Stmap^>SHiA5BUZ)k$Vr=CM% zc=0=>aXxA&FtRc*H}*0ZG&u@?wgf?)m6q&9>l2-|l~g=lrrfT;F~&|0XoQ#OZO$icNz4 z-3H87&iPEtj0}v68z&nyPB1VB2BNGGi-CdO0!TdZAji`JXe{wSVrc;=ieh+KxOu>l z1ko%=ie|W0erW9KGcv~Hu`mIX3dn3(eijyHCYA}PK?qDp%)qeo2zLB6{qE#gxvXFv zvlIQf6J;wF-P*-sx%yDv`>+jFV#~g5S*c!kqKo)Yp8S8-mz=MM)}*_iQ=4k-F>z{O0!L2GAEOs%9fiz&R(?FEV{qfsm&adYyzE04L)pyR%D@jZ)LCJsMoDa#P`pJ37QixnsQIwj-%VnTo z3MAk_!OYau*i-=|0R@I;3SgE(9zx6lQ_K*HIwK1Mgx-=OU}=(C#LERNy@E5VQWZ?~ kgYxrB6hMU zY-rcU0s;sCfPw=!#BpZA(3DXgvNT6SMx2c3M^p9_<~*qj&~k|Wio#7(scRd zVB;~P(%~|g!$#H)Uj>}ly*mK-K*NcRU+dxygiF7$BDFu;YqjVO#_{qT;h+#I>a(HG z6~@vJ%56(B0~rm^94uG!F&Q6%9$*+cPTn~18aH}n`p;SwVUc3}cGnJV33D`@$5Df5 zka5G^;jy@bF*5dt7yj?!On2m{6(lU}`+Ngz(u>-st&u3q&_N{T-$B(t9@HplX>tLm z<+%6V-nXIed*8 zvh$I?cs-H$tTFYyLYOK&N@y0$j3(wM=r+RHOFm_l_Ew3J zjZ|cTFZc?kMLbIRq9#Je0!uHg$!6L_|JSTh4SBDC^kz-4Q$rl0exLwuv7)I*(A$u( z4~P;V(@gR1lQvQ9WUL5F(7#Oi)Yh-}TXhqUaHvL^;{PKZ_!c^5TIaYzP~~Y~ol!Ix zIU5LwA?E0d=I<-Og-X;m1K5(@AtP)n6jQ1{Q2ko=_)Bd{1(bAXe>Coeda=}lih)j$ z2>zQNzJ;fmRdBanq`^ZJV5@Ra+72~oPcmiLf=NHQP1lj<)-k#CXYR9X=4kR3k!;Y8h(}v0#D@^oeB!oK*4q{yIW*$U z&LNQUbi3jQQ0AALA`*I zEfwAUX0Q~1Fi>8l{3I2b+YV;2v~q$Ht)BfYyxTJvSQ3SoAxX}JT3QHXqu~l@W;f&? zvySO921ne7{yT!I)^oWbM&abJwv8?L zM@*J>12l+CQ;QV!Y|w=vINzLD8!z3$e&b>m;bngGpZYK)8EI}digPEz z`_pvC6Afky&Q2vvrHY~v?ZeFbT?m+rp=p=tij1id`L#ceB43YATh$S6RuVfPIPHzQGmAuP1O9==9r!_9t z(XXtxXOZ1gWS49JT5NEHFG{7{?SuzHx8kV3=tHXcRlJ=U+G!T)+ z?jrd2IhsLxK1dcI7Bz#699SwDG5!;?5@oG>vkAutIB1uG5% r0vZJX1QaJKFP)8IPAOWT%X#|+d4hgQWoQHlY+QLorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.

+ + + +

Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.

+ +

Integer non sem eget neque mattis accumsan. Maecenas eu nisl mauris, sit amet interdum ipsum. In pharetra erat vel lectus venenatis elementum. Nulla non elit ligula, sit amet mollis urna. Morbi ut gravida est. Mauris tincidunt sem et turpis molestie malesuada. Curabitur vel nulla risus, sed mollis erat. Suspendisse vehicula accumsan purus nec varius. Donec fermentum lorem id felis sodales dictum. Quisque et dolor ipsum. Nam luctus consectetur dui vitae fermentum. Curabitur sodales consequat augue, id ultricies augue tempor ac. Aliquam ac magna id ipsum vehicula bibendum. Sed elementum congue tristique. Phasellus vel lorem eu lectus porta sodales. Etiam neque tortor, sagittis id pharetra quis, laoreet vel arcu.

+ +

Cras quam mi, ornare laoreet laoreet vel, vehicula at lacus. Maecenas a lacus accumsan augue convallis sagittis sed quis odio. Morbi sit amet turpis diam, dictum convallis urna. Cras eget interdum augue. Cras eu nisi sit amet dolor faucibus porttitor. Suspendisse potenti. Nunc vitae dolor risus, at cursus libero. Suspendisse bibendum tellus non nibh hendrerit tristique. Mauris eget orci elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porta libero non ante laoreet semper. Proin volutpat sodales mi, ac fermentum erat sagittis in. Vivamus at viverra felis. Ut pretium facilisis ante et pharetra.

+ +

Nulla facilisi. Cras varius quam eget libero aliquam vitae tincidunt leo rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque a nisl massa, quis pretium urna. Proin vel porttitor tortor. Cras rhoncus congue velit in bibendum. Donec pharetra semper augue id lacinia. Quisque magna quam, hendrerit eu aliquam et, pellentesque ut tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nulla quam, rutrum eu feugiat at, elementum eu libero. Maecenas ullamcorper leo et turpis rutrum ac laoreet eros faucibus. Phasellus condimentum lorem quis neque imperdiet quis molestie enim iaculis. Phasellus risus est, vestibulum ut convallis ultrices, dignissim nec erat. Etiam congue lobortis laoreet. Nulla ut neque sed velit dapibus semper. Quisque nec dolor id nibh eleifend iaculis. Vivamus vitae fermentum odio. Etiam malesuada quam in nulla aliquam sed convallis dui feugiat.

+ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.

+ + + +

Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.

+ +

Integer non sem eget neque mattis accumsan. Maecenas eu nisl mauris, sit amet interdum ipsum. In pharetra erat vel lectus venenatis elementum. Nulla non elit ligula, sit amet mollis urna. Morbi ut gravida est. Mauris tincidunt sem et turpis molestie malesuada. Curabitur vel nulla risus, sed mollis erat. Suspendisse vehicula accumsan purus nec varius. Donec fermentum lorem id felis sodales dictum. Quisque et dolor ipsum. Nam luctus consectetur dui vitae fermentum. Curabitur sodales consequat augue, id ultricies augue tempor ac. Aliquam ac magna id ipsum vehicula bibendum. Sed elementum congue tristique. Phasellus vel lorem eu lectus porta sodales. Etiam neque tortor, sagittis id pharetra quis, laoreet vel arcu.

+ +

Cras quam mi, ornare laoreet laoreet vel, vehicula at lacus. Maecenas a lacus accumsan augue convallis sagittis sed quis odio. Morbi sit amet turpis diam, dictum convallis urna. Cras eget interdum augue. Cras eu nisi sit amet dolor faucibus porttitor. Suspendisse potenti. Nunc vitae dolor risus, at cursus libero. Suspendisse bibendum tellus non nibh hendrerit tristique. Mauris eget orci elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porta libero non ante laoreet semper. Proin volutpat sodales mi, ac fermentum erat sagittis in. Vivamus at viverra felis. Ut pretium facilisis ante et pharetra.

+ +

Nulla facilisi. Cras varius quam eget libero aliquam vitae tincidunt leo rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque a nisl massa, quis pretium urna. Proin vel porttitor tortor. Cras rhoncus congue velit in bibendum. Donec pharetra semper augue id lacinia. Quisque magna quam, hendrerit eu aliquam et, pellentesque ut tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nulla quam, rutrum eu feugiat at, elementum eu libero. Maecenas ullamcorper leo et turpis rutrum ac laoreet eros faucibus. Phasellus condimentum lorem quis neque imperdiet quis molestie enim iaculis. Phasellus risus est, vestibulum ut convallis ultrices, dignissim nec erat. Etiam congue lobortis laoreet. Nulla ut neque sed velit dapibus semper. Quisque nec dolor id nibh eleifend iaculis. Vivamus vitae fermentum odio. Etiam malesuada quam in nulla aliquam sed convallis dui feugiat.

diff --git a/lib/tecnickcom/tcpdf/examples/data/table_data_demo.txt b/lib/tecnickcom/tcpdf/examples/data/table_data_demo.txt new file mode 100644 index 000000000..5a48a42e7 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/data/table_data_demo.txt @@ -0,0 +1,15 @@ +Austria;Vienna;83859;8075 +Belgium;Brussels;30518;10192 +Denmark;Copenhagen;43094;5295 +Finland;Helsinki;304529;5147 +France;Paris;543965;58728 +Germany;Berlin;357022;82057 +Greece;Athens;131625;10511 +Ireland;Dublin;70723;3694 +Italy;Roma;301316;57563 +Luxembourg;Luxembourg;2586;424 +Netherlands;Amsterdam;41526;15654 +Portugal;Lisbon;91906;9957 +Spain;Madrid;504790;39348 +Sweden;Stockholm;410934;8839 +United Kingdom;London;243820;58862 diff --git a/lib/tecnickcom/tcpdf/examples/data/utf8test.txt b/lib/tecnickcom/tcpdf/examples/data/utf8test.txt new file mode 100644 index 000000000..291d4e735 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/data/utf8test.txt @@ -0,0 +1,128 @@ +Sentences that contain all letters commonly used in a language +-------------------------------------------------------------- + +This file is UTF-8 encoded. + +Czech (cz) +--------- + + Příšerně žluťoučký kůň úpěl ďábelské ódy. + Hleď, toť přízračný kůň v mátožné póze šíleně úpí. + Zvlášť zákeřný učeň s ďolíčky běží podél zóny úlů. + Loď čeří kýlem tůň obzvlášť v Grónské úžině. + Ó, náhlý déšť již zvířil prach a čilá laň teď běží s houfcem gazel k úkrytům. + +Danish (da) +--------- + + Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen + Wolther spillede på xylofon. + (= Quiz contestants were eating strawbery with cream while Wolther + the circus clown played on xylophone.) + +German (de) +----------- + + Falsches Üben von Xylophonmusik quält jeden größeren Zwerg + (= Wrongful practicing of xylophone music tortures every larger dwarf) + + Zwölf Boxkämpfer jagten Eva quer über den Sylter Deich + (= Twelve boxing fighters hunted Eva across the dike of Sylt) + + Heizölrückstoßabdämpfung + (= fuel oil recoil absorber) + (jqvwxy missing, but all non-ASCII letters in one word) + +English (en) +------------ + + The quick brown fox jumps over the lazy dog + +Spanish (es) +------------ + + El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y + frío, añoraba a su querido cachorro. + (Contains every letter and every accent, but not every combination + of vowel + acute.) + +French (fr) +----------- + + Portez ce vieux whisky au juge blond qui fume sur son île intérieure, à + côté de l'alcôve ovoïde, où les bûches se consument dans l'âtre, ce + qui lui permet de penser à la cænogenèse de l'être dont il est question + dans la cause ambiguë entendue à Moÿ, dans un capharnaüm qui, + pense-t-il, diminue çà et là la qualité de son œuvre. + + l'île exiguë + Où l'obèse jury mûr + Fête l'haï volapük, + Âne ex aéquo au whist, + Ôtez ce vœu déçu. + + Le cœur déçu mais l'âme plutôt naïve, Louÿs rêva de crapaüter en + canoë au delà des îles, près du mälström où brûlent les novæ. + +Irish Gaelic (ga) +----------------- + + D'fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh + +Hungarian (hu) +-------------- + + Árvíztűrő tükörfúrógép + (= flood-proof mirror-drilling machine, only all non-ASCII letters) + +Icelandic (is) +-------------- + + Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa + + Sævör grét áðan því úlpan var ónýt + (some ASCII letters missing) + +Greek (el) +------------- + + Γαζέες καὶ μυρτιὲς δὲν θὰ βρῶ πιὰ στὸ χρυσαφὶ ξέφωτο + (= No more shall I see acacias or myrtles in the golden clearing) + + Ξεσκεπάζω τὴν ψυχοφθόρα βδελυγμία + (= I uncover the soul-destroying abhorrence) + +Hebrew (iw) +----------- + + ? דג סקרן שט בים מאוכזב ולפתע מצא לו חברה איך הקליטה + +Polish (pl) +----------- + + Pchnąć w tę łódź jeża lub osiem skrzyń fig + (= To push a hedgehog or eight bins of figs in this boat) + + Zażółć gęślą jaźń + +Russian (ru) +------------ + + В чащах юга жил бы цитрус? Да, но фальшивый экземпляр! + (= Would a citrus live in the bushes of south? Yes, but only a fake one!) + +Thai (th) +--------- + + [--------------------------|------------------------] + ๏ เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน + จงฝ่าฟันพัฒนาวิชาการ อย่าล้างผลาญฤๅเข่นฆ่าบีฑาใคร + ไม่ถือโทษโกรธแช่งซัดฮึดฮัดด่า หัดอภัยเหมือนกีฬาอัชฌาสัย + ปฏิบัติประพฤติกฎกำหนดใจ พูดจาให้จ๊ะๆ จ๋าๆ น่าฟังเอย ฯ + + [The copyright for the Thai example is owned by The Computer + Association of Thailand under the Royal Patronage of His Majesty the + King.] + +Please let me know if you find others! Special thanks to the people +from all over the world who contributed these sentences. diff --git a/lib/tecnickcom/tcpdf/examples/example_001.php b/lib/tecnickcom/tcpdf/examples/example_001.php new file mode 100644 index 000000000..a79f2a818 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/example_001.php @@ -0,0 +1,106 @@ +setCreator(PDF_CREATOR); +$pdf->setAuthor('Nicola Asuni'); +$pdf->setTitle('TCPDF Example 001'); +$pdf->setSubject('TCPDF Tutorial'); +$pdf->setKeywords('TCPDF, PDF, example, test, guide'); + +// set default header data +$pdf->setHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 001', PDF_HEADER_STRING, array(0,64,255), array(0,64,128)); +$pdf->setFooterData(array(0,64,0), array(0,64,128)); + +// set header and footer fonts +$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); +$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); + +// set default monospaced font +$pdf->setDefaultMonospacedFont(PDF_FONT_MONOSPACED); + +// set margins +$pdf->setMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); +$pdf->setHeaderMargin(PDF_MARGIN_HEADER); +$pdf->setFooterMargin(PDF_MARGIN_FOOTER); + +// set auto page breaks +$pdf->setAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); + +// set image scale factor +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + +// set some language-dependent strings (optional) +if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { + require_once(dirname(__FILE__).'/lang/eng.php'); + $pdf->setLanguageArray($l); +} + +// --------------------------------------------------------- + +// set default font subsetting mode +$pdf->setFontSubsetting(true); + +// Set font +// dejavusans is a UTF-8 Unicode font, if you only need to +// print standard ASCII chars, you can use core fonts like +// helvetica or times to reduce file size. +$pdf->setFont('dejavusans', '', 14, '', true); + +// Add a page +// This method has several options, check the source code documentation for more information. +$pdf->AddPage(); + +// set text shadow effect +$pdf->setTextShadow(array('enabled'=>true, 'depth_w'=>0.2, 'depth_h'=>0.2, 'color'=>array(196,196,196), 'opacity'=>1, 'blend_mode'=>'Normal')); + +// Set some content to print +$html = <<Welcome to  TCPDF ! +This is the first example of TCPDF library. +

This text is printed using the writeHTMLCell() method but you can also use: Multicell(), writeHTML(), Write(), Cell() and Text().

+

Please check the source code documentation and other examples for further information.

+

TO IMPROVE AND EXPAND TCPDF I NEED YOUR SUPPORT, PLEASE MAKE A DONATION!

+EOD; + +// Print text using writeHTMLCell() +$pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, '', true); + +// --------------------------------------------------------- + +// Close and output PDF document +// This method has several options, check the source code documentation for more information. +$pdf->Output('example_001.pdf', 'I'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/example_002.php b/lib/tecnickcom/tcpdf/examples/example_002.php new file mode 100644 index 000000000..c009eed7c --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/example_002.php @@ -0,0 +1,87 @@ +setCreator(PDF_CREATOR); +$pdf->setAuthor('Nicola Asuni'); +$pdf->setTitle('TCPDF Example 002'); +$pdf->setSubject('TCPDF Tutorial'); +$pdf->setKeywords('TCPDF, PDF, example, test, guide'); + +// remove default header/footer +$pdf->setPrintHeader(false); +$pdf->setPrintFooter(false); + +// set default monospaced font +$pdf->setDefaultMonospacedFont(PDF_FONT_MONOSPACED); + +// set margins +$pdf->setMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); + +// set auto page breaks +$pdf->setAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); + +// set image scale factor +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + +// set some language-dependent strings (optional) +if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { + require_once(dirname(__FILE__).'/lang/eng.php'); + $pdf->setLanguageArray($l); +} + +// --------------------------------------------------------- + +// set font +$pdf->setFont('times', 'BI', 20); + +// add a page +$pdf->AddPage(); + +// set some text to print +$txt = <<Write(0, $txt, '', 0, 'C', true, 0, false, false, 0); + +// --------------------------------------------------------- + +//Close and output PDF document +$pdf->Output('example_002.pdf', 'I'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/example_003.php b/lib/tecnickcom/tcpdf/examples/example_003.php new file mode 100644 index 000000000..51209e65f --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/example_003.php @@ -0,0 +1,118 @@ +Image($image_file, 10, 10, 15, '', 'JPG', '', 'T', false, 300, '', false, false, 0, false, false, false); + // Set font + $this->setFont('helvetica', 'B', 20); + // Title + $this->Cell(0, 15, '<< TCPDF Example 003 >>', 0, false, 'C', 0, '', 0, false, 'M', 'M'); + } + + // Page footer + public function Footer() { + // Position at 15 mm from bottom + $this->setY(-15); + // Set font + $this->setFont('helvetica', 'I', 8); + // Page number + $this->Cell(0, 10, 'Page '.$this->getAliasNumPage().'/'.$this->getAliasNbPages(), 0, false, 'C', 0, '', 0, false, 'T', 'M'); + } +} + +// create new PDF document +$pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); + +// set document information +$pdf->setCreator(PDF_CREATOR); +$pdf->setAuthor('Nicola Asuni'); +$pdf->setTitle('TCPDF Example 003'); +$pdf->setSubject('TCPDF Tutorial'); +$pdf->setKeywords('TCPDF, PDF, example, test, guide'); + +// set default header data +$pdf->setHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); + +// set header and footer fonts +$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); +$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); + +// set default monospaced font +$pdf->setDefaultMonospacedFont(PDF_FONT_MONOSPACED); + +// set margins +$pdf->setMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); +$pdf->setHeaderMargin(PDF_MARGIN_HEADER); +$pdf->setFooterMargin(PDF_MARGIN_FOOTER); + +// set auto page breaks +$pdf->setAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); + +// set image scale factor +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + +// set some language-dependent strings (optional) +if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { + require_once(dirname(__FILE__).'/lang/eng.php'); + $pdf->setLanguageArray($l); +} + +// --------------------------------------------------------- + +// set font +$pdf->setFont('times', 'BI', 12); + +// add a page +$pdf->AddPage(); + +// set some text to print +$txt = <<Write(0, $txt, '', 0, 'C', true, 0, false, false, 0); + +// --------------------------------------------------------- + +//Close and output PDF document +$pdf->Output('example_003.pdf', 'I'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/example_004.php b/lib/tecnickcom/tcpdf/examples/example_004.php new file mode 100644 index 000000000..c5830af25 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/example_004.php @@ -0,0 +1,121 @@ +setCreator(PDF_CREATOR); +$pdf->setAuthor('Nicola Asuni'); +$pdf->setTitle('TCPDF Example 004'); +$pdf->setSubject('TCPDF Tutorial'); +$pdf->setKeywords('TCPDF, PDF, example, test, guide'); + +// set default header data +$pdf->setHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 004', PDF_HEADER_STRING); + +// set header and footer fonts +$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); +$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); + +// set default monospaced font +$pdf->setDefaultMonospacedFont(PDF_FONT_MONOSPACED); + +// set margins +$pdf->setMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); +$pdf->setHeaderMargin(PDF_MARGIN_HEADER); +$pdf->setFooterMargin(PDF_MARGIN_FOOTER); + +// set auto page breaks +$pdf->setAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); + +// set image scale factor +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + +// set some language-dependent strings (optional) +if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { + require_once(dirname(__FILE__).'/lang/eng.php'); + $pdf->setLanguageArray($l); +} + +// --------------------------------------------------------- + +// set font +$pdf->setFont('times', '', 11); + +// add a page +$pdf->AddPage(); + +//Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=0, $link='', $stretch=0, $ignore_min_height=false, $calign='T', $valign='M') + +// test Cell stretching +$pdf->Cell(0, 0, 'TEST CELL STRETCH: no stretch', 1, 1, 'C', 0, '', 0); +$pdf->Cell(0, 0, 'TEST CELL STRETCH: scaling', 1, 1, 'C', 0, '', 1); +$pdf->Cell(0, 0, 'TEST CELL STRETCH: force scaling', 1, 1, 'C', 0, '', 2); +$pdf->Cell(0, 0, 'TEST CELL STRETCH: spacing', 1, 1, 'C', 0, '', 3); +$pdf->Cell(0, 0, 'TEST CELL STRETCH: force spacing', 1, 1, 'C', 0, '', 4); + +$pdf->Ln(5); + +$pdf->Cell(45, 0, 'TEST CELL STRETCH: scaling', 1, 1, 'C', 0, '', 1); +$pdf->Cell(45, 0, 'TEST CELL STRETCH: force scaling', 1, 1, 'C', 0, '', 2); +$pdf->Cell(45, 0, 'TEST CELL STRETCH: spacing', 1, 1, 'C', 0, '', 3); +$pdf->Cell(45, 0, 'TEST CELL STRETCH: force spacing', 1, 1, 'C', 0, '', 4); + +$pdf->AddPage(); + +// example using general stretching and spacing + +for ($stretching = 90; $stretching <= 110; $stretching += 10) { + for ($spacing = -0.254; $spacing <= 0.254; $spacing += 0.254) { + + // set general stretching (scaling) value + $pdf->setFontStretching($stretching); + + // set general spacing value + $pdf->setFontSpacing($spacing); + + $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, no stretch', 1, 1, 'C', 0, '', 0); + $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, scaling', 1, 1, 'C', 0, '', 1); + $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, force scaling', 1, 1, 'C', 0, '', 2); + $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, spacing', 1, 1, 'C', 0, '', 3); + $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, force spacing', 1, 1, 'C', 0, '', 4); + + $pdf->Ln(2); + } +} + +// --------------------------------------------------------- + +//Close and output PDF document +$pdf->Output('example_004.pdf', 'I'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/example_005.php b/lib/tecnickcom/tcpdf/examples/example_005.php new file mode 100644 index 000000000..0924c0389 --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/example_005.php @@ -0,0 +1,158 @@ +setCreator(PDF_CREATOR); +$pdf->setAuthor('Nicola Asuni'); +$pdf->setTitle('TCPDF Example 005'); +$pdf->setSubject('TCPDF Tutorial'); +$pdf->setKeywords('TCPDF, PDF, example, test, guide'); + +// set default header data +$pdf->setHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 005', PDF_HEADER_STRING); + +// set header and footer fonts +$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); +$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); + +// set default monospaced font +$pdf->setDefaultMonospacedFont(PDF_FONT_MONOSPACED); + +// set margins +$pdf->setMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); +$pdf->setHeaderMargin(PDF_MARGIN_HEADER); +$pdf->setFooterMargin(PDF_MARGIN_FOOTER); + +// set auto page breaks +$pdf->setAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); + +// set image scale factor +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + +// set some language-dependent strings (optional) +if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { + require_once(dirname(__FILE__).'/lang/eng.php'); + $pdf->setLanguageArray($l); +} + +// --------------------------------------------------------- + +// set font +$pdf->setFont('times', '', 10); + +// add a page +$pdf->AddPage(); + +// set cell padding +$pdf->setCellPaddings(1, 1, 1, 1); + +// set cell margins +$pdf->setCellMargins(1, 1, 1, 1); + +// set color for background +$pdf->setFillColor(255, 255, 127); + +// MultiCell($w, $h, $txt, $border=0, $align='J', $fill=0, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=true, $maxh=0) + +// set some text for example +$txt = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'; + +// Multicell test +$pdf->MultiCell(55, 5, '[LEFT] '.$txt, 1, 'L', 1, 0, '', '', true); +$pdf->MultiCell(55, 5, '[RIGHT] '.$txt, 1, 'R', 0, 1, '', '', true); +$pdf->MultiCell(55, 5, '[CENTER] '.$txt, 1, 'C', 0, 0, '', '', true); +$pdf->MultiCell(55, 5, '[JUSTIFY] '.$txt."\n", 1, 'J', 1, 2, '' ,'', true); +$pdf->MultiCell(55, 5, '[DEFAULT] '.$txt, 1, '', 0, 1, '', '', true); + +$pdf->Ln(4); + +// set color for background +$pdf->setFillColor(220, 255, 220); + +// Vertical alignment +$pdf->MultiCell(55, 40, '[VERTICAL ALIGNMENT - TOP] '.$txt, 1, 'J', 1, 0, '', '', true, 0, false, true, 40, 'T'); +$pdf->MultiCell(55, 40, '[VERTICAL ALIGNMENT - MIDDLE] '.$txt, 1, 'J', 1, 0, '', '', true, 0, false, true, 40, 'M'); +$pdf->MultiCell(55, 40, '[VERTICAL ALIGNMENT - BOTTOM] '.$txt, 1, 'J', 1, 1, '', '', true, 0, false, true, 40, 'B'); + +$pdf->Ln(4); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +// set color for background +$pdf->setFillColor(215, 235, 255); + +// set some text for example +$txt = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc. + +Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.'; + +// print a blox of text using multicell() +$pdf->MultiCell(80, 5, $txt."\n", 1, 'J', 1, 1, '' ,'', true); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +// AUTO-FITTING + +// set color for background +$pdf->setFillColor(255, 235, 235); + +// Fit text on cell by reducing font size +$pdf->MultiCell(55, 60, '[FIT CELL] '.$txt."\n", 1, 'J', 1, 1, 125, 145, true, 0, false, true, 60, 'M', true); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +// CUSTOM PADDING + +// set color for background +$pdf->setFillColor(255, 255, 215); + +// set font +$pdf->setFont('helvetica', '', 8); + +// set cell padding +$pdf->setCellPaddings(2, 4, 6, 8); + +$txt = "CUSTOM PADDING:\nLeft=2, Top=4, Right=6, Bottom=8\nLorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue.\n"; + +$pdf->MultiCell(55, 5, $txt, 1, 'J', 1, 2, 125, 210, true); + +// move pointer to last page +$pdf->lastPage(); + +// --------------------------------------------------------- + +//Close and output PDF document +$pdf->Output('example_005.pdf', 'I'); + +//============================================================+ +// END OF FILE +//============================================================+ diff --git a/lib/tecnickcom/tcpdf/examples/example_006.php b/lib/tecnickcom/tcpdf/examples/example_006.php new file mode 100644 index 000000000..22f97572a --- /dev/null +++ b/lib/tecnickcom/tcpdf/examples/example_006.php @@ -0,0 +1,330 @@ +setCreator(PDF_CREATOR); +$pdf->setAuthor('Nicola Asuni'); +$pdf->setTitle('TCPDF Example 006'); +$pdf->setSubject('TCPDF Tutorial'); +$pdf->setKeywords('TCPDF, PDF, example, test, guide'); + +// set default header data +$pdf->setHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 006', PDF_HEADER_STRING); + +// set header and footer fonts +$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); +$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); + +// set default monospaced font +$pdf->setDefaultMonospacedFont(PDF_FONT_MONOSPACED); + +// set margins +$pdf->setMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); +$pdf->setHeaderMargin(PDF_MARGIN_HEADER); +$pdf->setFooterMargin(PDF_MARGIN_FOOTER); + +// set auto page breaks +$pdf->setAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); + +// set image scale factor +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + +// set some language-dependent strings (optional) +if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { + require_once(dirname(__FILE__).'/lang/eng.php'); + $pdf->setLanguageArray($l); +} + +// --------------------------------------------------------- + +// set font +$pdf->setFont('dejavusans', '', 10); + +// add a page +$pdf->AddPage(); + +// writeHTML($html, $ln=true, $fill=false, $reseth=false, $cell=false, $align='') +// writeHTMLCell($w, $h, $x, $y, $html='', $border=0, $ln=0, $fill=0, $reseth=true, $align='', $autopadding=true) + +// create some HTML content +$html = '

HTML Example

+Some special characters: < € € € & è è © > \\slash \\\\double-slash \\\\\\triple-slash +

List

+List example: +
    +
  1. test alt attribute test image
  2. +
  3. bold text
  4. +
  5. italic text
  6. +
  7. underlined text
  8. +
  9. bbibiubib
  10. +
  11. link to http://www.tecnick.com
  12. +
  13. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
    Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
  14. +
  15. SUBLIST +
      +
    1. row one +
        +
      • sublist
      • +
      +
    2. +
    3. row two
    4. +
    +
  16. +
  17. TEST line through
  18. +
  19. font + 3
  20. +
  21. small text normal small text normal subscript normal superscript normal
  22. +
+
+
Coffee
+
Black hot drink
+
Milk
+
White cold drink
+
+
IMAGES
+test alt attributetest alt attributetest alt attribute +
'; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + + +// output some RTL HTML content +$html = '
The words “מזל [mazel] טוב [tov]” mean “Congratulations!”
'; +$pdf->writeHTML($html, true, false, true, false, ''); + +// test some inline CSS +$html = '

This is just an example of html code to demonstrate some supported CSS inline styles. +bold text +line-trough +underline and line-trough +color +background color +bold +xx-small +x-small +small +medium +large +x-large +xx-large +

'; + +$pdf->writeHTML($html, true, false, true, false, ''); + +// reset pointer to the last page +$pdf->lastPage(); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// Print a table + +// add a page +$pdf->AddPage(); + +// create some HTML content +$subtable = '
ab
cd
'; + +$html = '

HTML TABLE:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#RIGHT alignLEFT align4A
1A1 example link column span. One two tree four five six seven eight nine ten.
line after br
small text normal subscript normal superscript normal bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
  1. first
    1. sublist
    2. sublist
  2. second
small small small small small small small small small small small small small small small small small small small small
4B
'.$subtable.'A2 € € € & è è
A2 € € € & è è
Red Yellow BG4C
1A2AA
2AB
2AC
4D
1B4E
1C2C3C4F
'; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// Print some HTML Cells + +$html = 'red green blue
red green blue'; + +$pdf->setFillColor(255,255,0); + +$pdf->writeHTMLCell(0, 0, '', '', $html, 'LRTB', 1, 0, true, 'L', true); +$pdf->writeHTMLCell(0, 0, '', '', $html, 'LRTB', 1, 1, true, 'C', true); +$pdf->writeHTMLCell(0, 0, '', '', $html, 'LRTB', 1, 0, true, 'R', true); + +// reset pointer to the last page +$pdf->lastPage(); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// Print a table + +// add a page +$pdf->AddPage(); + +// create some HTML content +$html = '

Image alignments on HTML table

+ + + + + + + + +
'; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// reset pointer to the last page +$pdf->lastPage(); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// Print all HTML colors + +// add a page +$pdf->AddPage(); + +$textcolors = '

HTML Text Colors

'; +$bgcolors = '

HTML Background Colors

'; + +foreach(TCPDF_COLORS::$webcolor as $k => $v) { + $textcolors .= ''.$v.' '; + $bgcolors .= ''.$v.' '; +} + +// output the HTML content +$pdf->writeHTML($textcolors, true, false, true, false, ''); +$pdf->writeHTML($bgcolors, true, false, true, false, ''); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +// Test word-wrap + +// create some HTML content +$html = '
+

Various tests

+link to page 2
+thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword'; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// Test fonts nesting +$html1 = 'Default Courier Helvetica Times dejavusans Times Helvetica Courier Default'; +$html2 = 'small text normal small text normal subscript normal superscript normal'; +$html3 = 'The quick brown fox jumps over the lazy dog.'; + +$html = $html1.'
'.$html2.'
'.$html3.'
'.$html3.'
'.$html2; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// test pre tag + +// add a page +$pdf->AddPage(); + +$html = << +Hello World!
+Hello + +
+int main() {
+    printf("HelloWorld");
+    return 0;
+}
+
+Monospace font, normal font, monospace font, normal font. +
+
DIV LEVEL 1
DIV LEVEL 2
DIV LEVEL 1
+
+SPAN LEVEL 1 SPAN LEVEL 2 SPAN LEVEL 1 +EOF; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +// test custom bullet points for list + +// add a page +$pdf->AddPage(); + +$html = <<Test custom bullet image for list items +