-
Notifications
You must be signed in to change notification settings - Fork 686
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
clipPath svg not supported #1276
Comments
Not sure - I'd have to learn SVG spec first :P |
@marijnkampf I think this is a bit complex for fontforge, and it would be better to 'decompose' this in Inkscape to a single path and then import that for use in a font. |
It doesn't hurt to let this open if you ask me, that's the point of an issue tracker. |
Fair :) Allocating to 'Someday Maybe' milestone |
It would be possible using lib2geom intersection. If I am correct, lib2geom can |
LGPL includes permission to relicense under GPLv3, as the FSF says: |
That's because LGPL is a less restrictive variant of GPL. So you can upgrade to GPL if your project needs it. |
Ah wow, awesome! Then yes, I think including lib2geom is a great idea, as Would the newly described remove overlap code go upstream to lib2geom? |
I don't think that is needed. And the algorithm used in inkscape looks similar to mine. I'd say it's better to use lib2geom now, and work together with the inkscape guys when there are bugs, rather than start all over. |
Okay great! Frank is going to work on lib2geom integration this week
|
Hi, |
Well, SVG parser is aware of this tag - see https://github.com/fontforge/fontforge/blob/master/fontforge/svg.c#L2683, but I couldn't figure right away what it does. Some debugging is probably needed to understand it. If you replace |
It seems that the SVG import doesn't support clipPath's, is this a bug or simply not implemented yet?
The sample below is taken from https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath.
When importing the svg for a glyph it should be imported as two circles, but the clipPath is ignored and the rect is imported.
The text was updated successfully, but these errors were encountered: