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

currentColor in svg is not supported in kendo-pdf-export #4444

Open
deboy opened this issue Oct 30, 2024 · 0 comments
Open

currentColor in svg is not supported in kendo-pdf-export #4444

deboy opened this issue Oct 30, 2024 · 0 comments

Comments

@deboy
Copy link

deboy commented Oct 30, 2024

Description

I try to use kendo-pdf-export to export a html page to a pdf file,
and found that color of the svg is not rendered correctly when using fill="currentColor"

Steps To Reproduce

<kendo-pdf-export>
<span style="color: red;">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-circle-fill" viewBox="0 0 16 16" style="width:1em;height:1em"><circle cx="8" cy="8" r="8"></circle></svg>
</span>
</kendo-pdf-export>

Screenshots or video

No response

Actual Behavior

color of svg in the output pdf is black

Expected Behavior

color of svg in the output pdf is red

Browser

All

Browser version

latest

OS type

No response

OS version

Win 10

Last working version of the Kendo UI for Angular package (if regression).

V16

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

No branches or pull requests

2 participants