Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Custom Sizes #101

Open
dire-alpaca opened this issue Oct 6, 2015 · 0 comments
Open

Custom Sizes #101

dire-alpaca opened this issue Oct 6, 2015 · 0 comments

Comments

@dire-alpaca
Copy link

I searched to see if this has been asked, but didn't find anything.

I noticed that there isn't a method to set custom sizes (In dompdf set_paper()) besides using what is specified in cpdf_adapter.cls.php (https://code.google.com/p/dompdf/source/browse/trunk/dompdf/include/cpdf_adapter.cls.php#33). I see set_paper is referenced in Pdf.php, but is private. How does one use a custom pt size not referenced/existing in config?

In this example, I would be creating a US business card size

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant