We use the TCPDF library since many years and are perfectly satisfied
with your work. But now we have a problem with the drawings of
rectangles:
If we write a text before 2 rectangles, the border of the first one is
thinner than the border of the second. We have attached 2 php- and
pdf-files in this email, please zoom deep inside the pdf documents to
see the difference between the borders of the both rectangles.
We have tested the behavior with this 2 TCPDF-versions:
Our environment:
PHP Version: 5.4.4-14+deb7u10
System: Linux linux-hzi 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1
x86_64
OS: 64bit
Apache Version: Apache/2.2.22 (Debian)
Apache API Version: 20051115
We hope you can help us to solve our problem.
The issue is due to the fact that you are not specifying the style for the rectangle border, so every call is getting the last setting.
Please check the example 12 for further information on how to set graphic styles.
Hello, we have set the border with in our deflected class now and the lines are now equal. Thank you! But we dont specified the settings of the borders in our example, so the border should be equal cause they have both the same default style?!