![]() This is separate from the _rendering_ issue of existing SVG code: AFAIU Inkscape should _not_ render the pattern fills when loading the file from comment #2: when using the command to convert selected object(s) to pattern), Inkscape interprets the missing attributes 'width' and 'height' as being defined as zero, adds them as explicit attributes with value '0' to the element in the pattern definition, and consequently doesn't render the image when the pattern is applied to an object (a value of zero of either attribute disables rendering of the element). In comment #9, I simply showed some steps which indicate that when _writing_ SVG code (e.g. Thus the pattern with the bitmap image is correctly rendered (visible in Inkscape and in other SVG viewers). The SVG file from comment #5 sets both attributes (width, height) for both bitmap images in the two pattern definition to values > 0. From what you said in (9) they would be empty. (…) These fills draw as expected in Inkscape. Are you saying that happens only when width/height ![]() moved with the select tool).Ģ) rendering SVG (its own, or created by third-party applications, or by uncommitted patches):ĪFAIU the error here is that Inkscape should _not_ render the pattern fill (to conform to the SVG specification, and display the content the same as other SVG viewers). You can intentionally delete the width/height attributes of an embedded or linked bitmap image via 'Edit > XML Editor', and they are added back as soon as the image is edited with normal tools (e.g. ![]() When Inkscape _renders_ an SVG file it's not supposed to _modify_ the SVG source of the content itself (based on the assumption that the original author of the content didn't intentionally omit those attributes to prevent the image from rendering).īitmap images imported in Inkscape (and pattern fills created based on them) always have a width/height attribute. > tag missing width and height it does not add them, and the resulting This might still be considered a bug though. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |