/usr/share/doc/php-dompdf/examples/test/image_dimensions.html is in php-dompdf 0.6.2+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
<style>
body {
color: #7d7a7a;
font-family: 'trebuchet ms', verdana, sans-serif;
}
img {
margin-bottom: 2em;
}
</style>
</head>
<body>
<p>All these images should be nearly of the same size</p>
width=150
<br />
<img width="150" src="images/dompdf_simple.png" />
<br />
width: 40mm
<br />
<img style="width: 40mm;" src="images/dompdf_simple.png" />
<br />
width: 4cm
<br />
<img style="width: 4cm;" src="images/dompdf_simple.png" />
<br />
width: 21%
<br />
<img style="width: 21%;" src="images/dompdf_simple.png" />
<br />
width: 150px
<br />
<img style="width: 150px;" src="images/dompdf_simple.png" />
<br />
width: 110pt
<br />
<img style="width: 110pt;" src="images/dompdf_simple.png" />
<br />
</body> </html>
|