Closed GoogleCodeExporter closed 9 years ago
Seems like a post for the support group:
https://groups.google.com/forum/#!forum/dompdf
Do you get any errors from PHP (check the error log). You mention doubts about
the font. Have you installed a font? If so, modifications would have been made
to dompdf/lib/fonts/dompdf_font_family_cache which would make your install less
portable. Best bet is to install a fresh copy of dompdf on the server and
re-install any fonts there.
Original comment by eclecticgeek
on 25 Sep 2011 at 12:10
Hi, thanks for your comment.
Because, the PDF page is exported is blank, so I have a doubts like that.
http://ezitsol.com/test/process.php =>blank page.
---------------------------------------
My code is here:
$html = "hello";
require_once("dompdf_config.inc.php");
$dompdf = new DOMPDF();
$dompdf->set_paper("a4", "portrait");
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("dompdf_out.pdf");
---------------------------------------------------
When I run load_font.php, show that
#!/usr/bin/php Unable to locate the ttf2afm / ttf2pt1 executable (checked
/usr/bin/ttf2pt1).
Help me. please :)
Original comment by duongphu...@gmail.com
on 26 Sep 2011 at 2:24
Unless you're planning to install a new font I wouldn't worry about the
load_font.php error. You get a PDF, it's just blank. So dompdf is running but
somewhere along the line the text is not parsed correctly.
PHP should be reporting an error somewhere, but your setting may be preventing
it from being viewed. Try adding this to the top of process.php:
ini_set('display_errors',true);
Original comment by eclecticgeek
on 26 Sep 2011 at 10:01
Hix hix
My code is simple:
----------------------------------------------
<?php
require_once("dompdf_config.inc.php");
$html ="hello<br> <input type='text' name='hello' value='Hello'/>";
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream('dompdf_out.pdf');
ini_set('display_errors',true);
?>
-------------------------------------------------------
PDF_out file doesn't have any text, just have border of input tag.
See link: http://ezitsol.com/AMB/demo.php
This run well in Windows server, but have problem when i put in Linux
Can I help me ? hix hix
Original comment by duongphu...@gmail.com
on 27 Sep 2011 at 8:17
I uploaded the dompdf_0-6-0_beta2 on the Linux. But did not run ..
http://ezitsol.com/dompdf_0-6-0_beta2/dompdf/www/examples.php
Please show me the reason make it cannot run. !
Thank you!
Original comment by duongphu...@gmail.com
on 27 Sep 2011 at 10:54
We still don't have enough information to tell what's going on. Some of the
examples appear correct, and others not. We'll need to know what kind of errors
PHP is running into. Have you enable error reporting to the browser? At the top
of your demp.php file add the ini_set() command I mentioned earlier. Then
comment out the $dompdf->stream() line.
Original comment by eclecticgeek
on 27 Sep 2011 at 4:58
When i generating pdf using dompdf it generates blank page at last. How to
remove that.
What are the reasons to generate blank page.
Original comment by prajisha...@gmail.com
on 21 Feb 2013 at 10:54
@prajishakt58 There is probably some content that is causing a new page to
generate. We'd have to see your HTML document to test. But you might try
upgrading to the latest code first if you haven't already done so.
Also, FYI. The appropriate place to open new issues or respond to current ones
is on the github project page.
https://github.com/dompdf/dompdf/issues
Original comment by eclecticgeek
on 21 Feb 2013 at 3:40
Original comment by eclecticgeek
on 30 May 2013 at 5:16
Original issue reported on code.google.com by
duongphu...@gmail.com
on 24 Sep 2011 at 3:56