pauln / tcpdi_parser

Parser for use with TCPDI, based on TCPDF_PARSER
GNU Lesser General Public License v3.0
27 stars 47 forks source link

copy paste? #14

Open gelinger777 opened 8 years ago

gelinger777 commented 8 years ago

If I just copy paste this instead of the parcer in mpdf , would it work?

sblommers commented 8 years ago

Enlighten, can you be more specific?

gelinger777 commented 8 years ago

i am using MPdf 6.1

https://github.com/mpdf/mpdf/tree/6.1

which apparently uses the standard 1.6 parser https://www.setasign.com/products/fpdi-pdf-parser/details/ the free one. Can i just replace the tcpdi_parser.php inside and it will work, or i need to make some modifications to make your class work????

sblommers commented 8 years ago

It will work but you need to change your code slightly and use https://github.com/kulbakin/tcpdi which supports composer (they are identical), you can change your usages from there.

gelinger777 commented 8 years ago

thank you