amitdivya / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Unicode character display corruption #532

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,
I see this issue is solved in dompdf_0.6.0_beta_2: 
http://eclecticgeek.com/dompdf/debug.php?identifier=9aa13b1da0927434028b0a49e619
d74e

But when i use the dompdf_0.6.0_beta_3

http://eclecticgeek.com/dompdf/debug.php?identifier=7fe36ebe424b2a8e02e64e371189
5764
What steps will reproduce the problem?

I really like to use dompdf_0.6.0_beta_3 could you please help me to fix this 
problem?

Thanks,
Hungvt

Original issue reported on code.google.com by hungvt...@gmail.com on 12 Sep 2012 at 12:01

GoogleCodeExporter commented 9 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Can you attach a sample HTML document and the PDF output you get?

Original comment by eclecticgeek on 13 Sep 2012 at 2:09

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00