Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering of SVG -> PDF issue #767

Open
BilboTav opened this issue Nov 29, 2024 · 2 comments
Open

Rendering of SVG -> PDF issue #767

BilboTav opened this issue Nov 29, 2024 · 2 comments

Comments

@BilboTav
Copy link

I use tcpdf to render SVG template into PDF for my CV and certain snippet is badly rendered on newest version:

6.7.5 (looks fine)
image

vs

6.7.7 (edge point is ugly rendered)
image

SVG part is this:

<path fill="{$color}"
              d="m 49.854628,14.022875 c 14.402622,0 26.928265,8.131049 33.359621,20.109374 l 6.74e-4,-3.41e-4 c
              0,0 0.717926,1.310865 1.503538,1.396184 0.785608,0.08532 1.081936,-1.855893 1.081936,-1.855893 l 0.002,6.83e-4 C
              87.752132,14.926248 104.28866,14.852189 104.28866,14.852189 h 14.50128 91.2102 V 0.00504815 H 0.00158345 V 84.119175
              H 6.9319861 c 5.2194399,0 4.9918029,-6.812334 4.9918029,-6.812334 v -23.359404 0 c -0.01751,-0.482916 -0.02694,-0.967535
              -0.02694,-1.454546 0,-21.246185 16.994158,-38.470016 37.957778,-38.470016 z" />

I am just giving heads up - maybe this fluke of mine is a sign of some other issues with regards of rendering SVG with Your library ?

Thanks.

@williamdes
Copy link
Contributor

Can you try to revert some of the changes in 6.7.5...6.7.7 to find the one that is wrong ?

@BilboTav
Copy link
Author

Can you try to revert some of the changes in 6.7.5...6.7.7 to find the one that is wrong ?

Hello, sorry for late response - issue starts with 6.7.7, 6.7.6 is fine. Thanks You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants