Giter Club home page Giter Club logo

dompdfbundle's People

Contributors

afjlambert avatar christianvermeulen avatar lifeforms avatar littooy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dompdfbundle's Issues

A non-numeric value encountered PHP 7.1

In PHP 7.1 there are a number of situations in the code where you'd get this error. This error comes from the Dompdf library and it was already fixed in a recent version.
i think the solution is to upgrade the packed version of Dompdf.

Batch pdf generation with image fails

Hello,

There is a bug in the version of dompdf that this bundle uses that causes broken images if you try to generate multiple pdfs containing the same image. (for example, to include them in a zip file).

You can read here about the issue:
https://code.google.com/p/dompdf/issues/detail?id=17
https://groups.google.com/forum/#!topic/dompdf/7perv5jGKvs

Looks like they have fixed it, as this code shows:
https://github.com/dompdf/dompdf/blob/master/include/image_cache.cls.php#L151

But the code here has not been updated. I suggest either update code or manually apply fix.

DomPDF Version

Is there a reason for us to use and older version of dompdf? Is there a way to update it inside this wrapper?

Need stable tag

Hi, it seems that your package DompdfBundle are stable, but you didn't added any tag.
Could you add it? Because work with branch dev-master not good.
Thank you in advance.

Orientation option for wrapper

To make it possible to generate a dynamic page size and orientation "on the fly", it would be very nice to have the following extra parameters available in the wrapper's "getpdf" function:
$paper_size
$paper_orientation

It is easy to edit this my self, but composer updates erase all the enhancements on new deployments. So it would be very nice to have these options build in inside this repository.
Thanks in advance.

Illegal string offset 'hex' in /style.cls.php line 1419

Using php 5.4 or higher:

ContextErrorException: Warning: Illegal string offset 'hex' in /Applications/MAMP/htdocs/.../vendor/slik/dompdf-bundle/Slik/DompdfBundle/DomPDF/include/style.cls.php line 1419

The issue is in the version of dompdf used in this bundle:

$this->_props["color"] = $col["hex"];

This is fixed in dompdf 6.0. Is there a way to update the dompdf version using the bundle config (not changing the files manually) ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.