Jeckky / dompdf

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

Absolutely positionned elements are rendered twice when inside relatively positionned element #447

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
create an absolute positioned div and add text

What is the expected output? What do you see instead?
text is not rendered sharp ( blurred )

What version of dompdf are you using? What version of PHP? On what
DOMPDF 0.6.0 beta 3

normal div:
http://dl.dropbox.com/u/399104/screenshots/2012-03-21_1119.png

position:absolute:
http://dl.dropbox.com/u/399104/screenshots/2012-03-21_1120.png

Original issue reported on code.google.com by joris.wi...@gmail.com on 21 Mar 2012 at 10:21

GoogleCodeExporter commented 9 years ago
Can you supply a sample document? I'm unable to duplicate the same error.

I have also seen this problem surface when an image is present. I'll see if I 
can find a sample of that as your issue may be related.

Original comment by eclecticgeek on 22 Mar 2012 at 3:33

GoogleCodeExporter commented 9 years ago
This *may* be the post I was thinking of regarding images affecting text 
sharpness.
https://groups.google.com/d/msg/dompdf/FfY3HDN8b5E/8kLQLc-Xy5EJ

I'll need to do some testing in different environments, however, because I'm 
not seeing the issue discussed in that post either.

Original comment by eclecticgeek on 22 Mar 2012 at 3:57

GoogleCodeExporter commented 9 years ago
Here is a sample:
Source: http://pdf.willekens.eu/test.txt
Result: http://pdf.willekens.eu/test.php

Original comment by joris.wi...@gmail.com on 22 Mar 2012 at 8:03

GoogleCodeExporter commented 9 years ago
The absolute div must be a child of a 'relative' div to reproduce

Original comment by joris.wi...@gmail.com on 22 Mar 2012 at 8:09

GoogleCodeExporter commented 9 years ago
Ha! I see. Try to copy/paste after selecting all the text :

Absolute
Not absolute
Absolute

The "Absolute" word is rendered twice, I'll fix it.

Original comment by fabien.menager on 22 Mar 2012 at 9:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r489.

Original comment by fabien.menager on 8 Apr 2012 at 4:51

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16