-
Notifications
You must be signed in to change notification settings - Fork 37
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
Please support the svg 1.1 specifications: svg images are not displayed correctly #4
Comments
Could you provide some images you'd like to view, and bitmaps of what they are supposed to look like? |
You can download the original svg file from my google drive (click on the download button): |
Have you tried to display the above svg file with SVGgh? Many things are rendered wrong or not displayed. |
I will try to get to it this weekend. --glenn
|
The file you sent makes extensive use of both filters and effects. It'd take a huge effort to incorporate those into the library (I've no clue as to how I'd implement filters in a performant way.) So, I doubt this will be happening anytime soon. Also, the heavily chromed theme your generating just does not fit in with how I use the library, so it wouldn't be of much use to me. Sorry. |
Please reconsider. It would be very helpful for many developers to have the option to display real SVG images in iOS applications. |
For an easier debug, here it is a splitted version of the two main buttons svg files, you can download the zip from here: Here are the screenshots of how each svg file should look: |
I've been thinking about this, and if I were to support special effects, I would likely have to render into an offscreen buffer and blit that buffer into the CGContextRef. I'm loathe to do that as PDF's would lose resolution independence and high resolution printing would go away. I just don't want to do it. I can improve gradients and maybe add the shadow effect, but I'm not inclined to support SVG special effects. --glenn
|
Take a look at the Chrome svg code, it can be useful to you: |
This library would be very useful but please support the svg 1.1 specifications: all svg images I tried are not displayed correctly. In this incomplete state the library is not usable. Please finish the excellent work that you have started.
The text was updated successfully, but these errors were encountered: