svg-native-viewer icon indicating copy to clipboard operation
svg-native-viewer copied to clipboard

Gradients referencing other gradients that are defined later

Open moazin opened this issue 3 years ago • 0 comments

At the moment, SNV does support one gradient using another one by the xlink:href attribute, however, it doesn't support it if the referenced element comes later on. This needs to be fixed as it's very common in fonts like Trajan. I'm thinking perhaps we could iterate and keep unresolved references and at the end of the traversal we can throw an error if unresolved references still exist.

moazin avatar May 25 '21 11:05 moazin