Open GoogleCodeExporter opened 8 years ago
The issue you were encountering appears to have been related to the version of
php-font-lib included with beta 3. The library has since been updated and in
the latest code the problem does not appear.
We don't have a schedule for the next release, but you can always grab a copy
from the subversion repository
(http://code.google.com/p/dompdf/source/checkout) or download a nightly release
(http://eclecticgeek.com/dompdf/).
Original comment by eclecticgeek
on 12 Sep 2012 at 3:17
Hi,
I did update the latest code. but i still get this error.
Any idea?
Best Regards,
Hungvt
Original comment by hungvt...@gmail.com
on 12 Sep 2012 at 5:27
Can you attach a sample HTML document and the PDF output you get?
Original comment by eclecticgeek
on 13 Sep 2012 at 2:09
Also, with the latest release you can check www/setup.php to see if there are
any red flags.
Original comment by eclecticgeek
on 13 Sep 2012 at 2:10
Here are the sample html document and PDF output file.
All flags are Green Only :DOMPDF_LOG_OUTPUT_FILE
Original comment by hungvt...@gmail.com
on 13 Sep 2012 at 3:28
Attachments:
Ok, so this does still appear to be an issue. This is something we've
encountered before I believe (http://stackoverflow.com/q/11291694/264628).
I am, at present, unsure if the issue is related to dompdf, to the font metrics
produced by php-font-lib, the encoding of the source document, or to a
combination of factors. No matter the source, when I set
DOMPDF_ENABLE_FONTSUBSETTING to false the text is correct when I render to PDF.
So initially it appears the issue might be introduced during the subsetting
process. Try disabling font subsetting and see if the document renders
correctly.
Original comment by eclecticgeek
on 13 Sep 2012 at 6:11
Ok it works fine when i disable DOMPDF_ENABLE_FONTSUBSETTING.
Thank you.
Original comment by hungvt...@gmail.com
on 13 Sep 2012 at 6:19
Original comment by eclecticgeek
on 24 May 2013 at 3:00
Original issue reported on code.google.com by
hungvt...@gmail.com
on 12 Sep 2012 at 12:01