-
-
Notifications
You must be signed in to change notification settings - Fork 755
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
SVG导入时不规则路径剪切问题 #325
Comments
@louiesun 我尝试使用项目里的SVG图片,并没有发生变黑的情况,你可以用下边的这个SVG图片试下 |
更新:不是透明黑的问题,我去拆解了这张svg图片,实际上他是由一张原来将桥之外的地方涂成黑色的png,和一个路径剪切组成的。 所以现在不规则路径剪切考虑支持吗? |
@louiesun 暂时还没计划哈 |
Describe the bug
SVG导入时透明图片背景变为黑色。
最小化svg出错样例:
link
可以看到,预览是正常的
有趣的是,该svg是由MuPDF将pdf页面转成的svg。
To Reproduce
Steps to reproduce the behavior:
Expected behavior
正如Chromium核自带的预览。
Screenshots
Desktop (please complete the following information):
Additional Text
八成是透明黑?
即RGBA色值中,透明一般采用
(255,255,255,0)
我正在构思使用MuPDF+Fabricjs写一个PDF编辑器。
The text was updated successfully, but these errors were encountered: