SVG files show as black matted outlines
I've tried everything but I still can't get these SVG files to show up as anything but the all-black matted version of themselves. Transparency AROUND the image is fine, internally, just black. Everything I've found so far is about SVGs being black inside some other app or misrendering in browsers. I just want the image to show properly in the UI (maybe use it as an icon or wallpaper if it works).
There is no fill on the SVG. There are no camel-cased attr names. The same image shows up fine in Windows & MacOSX. Strangely, all the internal SVGs GNOME uses for icons are working just fine. It also renders fine in any browser.
So what am I missing?
icons gnome-shell svg
|
show 1 more comment
I've tried everything but I still can't get these SVG files to show up as anything but the all-black matted version of themselves. Transparency AROUND the image is fine, internally, just black. Everything I've found so far is about SVGs being black inside some other app or misrendering in browsers. I just want the image to show properly in the UI (maybe use it as an icon or wallpaper if it works).
There is no fill on the SVG. There are no camel-cased attr names. The same image shows up fine in Windows & MacOSX. Strangely, all the internal SVGs GNOME uses for icons are working just fine. It also renders fine in any browser.
So what am I missing?
icons gnome-shell svg
1
What do you mean "shows up fine in WIn and OSX" exactly? What were the SVGs created with? Do they display correctly if you open them with Firefox or Chromium?
– dobey
Mar 13 '18 at 20:48
Same here, with Ubuntu 16.04 no clue why, Chromium shows them properly
– Ælex
Nov 8 '18 at 18:24
@dobey read closer: browsers render fine. we're talking use in the GNOME UI as icons, elements, &c. they just show up with a black BG. and the creation tool is irrelevant; the output has nothing declared for the BG nor is there any BG element to start with.
– WhiteRau
Nov 9 '18 at 5:25
Creation tool is quite relevant. Not all tools output the same SVG, and not all rendering libraries support the same filters. Please attach screenshots and a link to an SVG which renders wrongly in Ubuntu.
– dobey
Nov 9 '18 at 14:07
1
OK. It looks mostly fine here. Please edit your post to include a screenshot of what it is you're seeing. Also, please don't use URL shorteners to post links on here. Thanks.
– dobey
Nov 16 '18 at 21:36
|
show 1 more comment
I've tried everything but I still can't get these SVG files to show up as anything but the all-black matted version of themselves. Transparency AROUND the image is fine, internally, just black. Everything I've found so far is about SVGs being black inside some other app or misrendering in browsers. I just want the image to show properly in the UI (maybe use it as an icon or wallpaper if it works).
There is no fill on the SVG. There are no camel-cased attr names. The same image shows up fine in Windows & MacOSX. Strangely, all the internal SVGs GNOME uses for icons are working just fine. It also renders fine in any browser.
So what am I missing?
icons gnome-shell svg
I've tried everything but I still can't get these SVG files to show up as anything but the all-black matted version of themselves. Transparency AROUND the image is fine, internally, just black. Everything I've found so far is about SVGs being black inside some other app or misrendering in browsers. I just want the image to show properly in the UI (maybe use it as an icon or wallpaper if it works).
There is no fill on the SVG. There are no camel-cased attr names. The same image shows up fine in Windows & MacOSX. Strangely, all the internal SVGs GNOME uses for icons are working just fine. It also renders fine in any browser.
So what am I missing?
icons gnome-shell svg
icons gnome-shell svg
edited Dec 28 '18 at 9:14
Zanna
50k13131239
50k13131239
asked Mar 13 '18 at 20:44
WhiteRau
1154
1154
1
What do you mean "shows up fine in WIn and OSX" exactly? What were the SVGs created with? Do they display correctly if you open them with Firefox or Chromium?
– dobey
Mar 13 '18 at 20:48
Same here, with Ubuntu 16.04 no clue why, Chromium shows them properly
– Ælex
Nov 8 '18 at 18:24
@dobey read closer: browsers render fine. we're talking use in the GNOME UI as icons, elements, &c. they just show up with a black BG. and the creation tool is irrelevant; the output has nothing declared for the BG nor is there any BG element to start with.
– WhiteRau
Nov 9 '18 at 5:25
Creation tool is quite relevant. Not all tools output the same SVG, and not all rendering libraries support the same filters. Please attach screenshots and a link to an SVG which renders wrongly in Ubuntu.
– dobey
Nov 9 '18 at 14:07
1
OK. It looks mostly fine here. Please edit your post to include a screenshot of what it is you're seeing. Also, please don't use URL shorteners to post links on here. Thanks.
– dobey
Nov 16 '18 at 21:36
|
show 1 more comment
1
What do you mean "shows up fine in WIn and OSX" exactly? What were the SVGs created with? Do they display correctly if you open them with Firefox or Chromium?
– dobey
Mar 13 '18 at 20:48
Same here, with Ubuntu 16.04 no clue why, Chromium shows them properly
– Ælex
Nov 8 '18 at 18:24
@dobey read closer: browsers render fine. we're talking use in the GNOME UI as icons, elements, &c. they just show up with a black BG. and the creation tool is irrelevant; the output has nothing declared for the BG nor is there any BG element to start with.
– WhiteRau
Nov 9 '18 at 5:25
Creation tool is quite relevant. Not all tools output the same SVG, and not all rendering libraries support the same filters. Please attach screenshots and a link to an SVG which renders wrongly in Ubuntu.
– dobey
Nov 9 '18 at 14:07
1
OK. It looks mostly fine here. Please edit your post to include a screenshot of what it is you're seeing. Also, please don't use URL shorteners to post links on here. Thanks.
– dobey
Nov 16 '18 at 21:36
1
1
What do you mean "shows up fine in WIn and OSX" exactly? What were the SVGs created with? Do they display correctly if you open them with Firefox or Chromium?
– dobey
Mar 13 '18 at 20:48
What do you mean "shows up fine in WIn and OSX" exactly? What were the SVGs created with? Do they display correctly if you open them with Firefox or Chromium?
– dobey
Mar 13 '18 at 20:48
Same here, with Ubuntu 16.04 no clue why, Chromium shows them properly
– Ælex
Nov 8 '18 at 18:24
Same here, with Ubuntu 16.04 no clue why, Chromium shows them properly
– Ælex
Nov 8 '18 at 18:24
@dobey read closer: browsers render fine. we're talking use in the GNOME UI as icons, elements, &c. they just show up with a black BG. and the creation tool is irrelevant; the output has nothing declared for the BG nor is there any BG element to start with.
– WhiteRau
Nov 9 '18 at 5:25
@dobey read closer: browsers render fine. we're talking use in the GNOME UI as icons, elements, &c. they just show up with a black BG. and the creation tool is irrelevant; the output has nothing declared for the BG nor is there any BG element to start with.
– WhiteRau
Nov 9 '18 at 5:25
Creation tool is quite relevant. Not all tools output the same SVG, and not all rendering libraries support the same filters. Please attach screenshots and a link to an SVG which renders wrongly in Ubuntu.
– dobey
Nov 9 '18 at 14:07
Creation tool is quite relevant. Not all tools output the same SVG, and not all rendering libraries support the same filters. Please attach screenshots and a link to an SVG which renders wrongly in Ubuntu.
– dobey
Nov 9 '18 at 14:07
1
1
OK. It looks mostly fine here. Please edit your post to include a screenshot of what it is you're seeing. Also, please don't use URL shorteners to post links on here. Thanks.
– dobey
Nov 16 '18 at 21:36
OK. It looks mostly fine here. Please edit your post to include a screenshot of what it is you're seeing. Also, please don't use URL shorteners to post links on here. Thanks.
– dobey
Nov 16 '18 at 21:36
|
show 1 more comment
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1014697%2fsvg-files-show-as-black-matted-outlines%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1014697%2fsvg-files-show-as-black-matted-outlines%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What do you mean "shows up fine in WIn and OSX" exactly? What were the SVGs created with? Do they display correctly if you open them with Firefox or Chromium?
– dobey
Mar 13 '18 at 20:48
Same here, with Ubuntu 16.04 no clue why, Chromium shows them properly
– Ælex
Nov 8 '18 at 18:24
@dobey read closer: browsers render fine. we're talking use in the GNOME UI as icons, elements, &c. they just show up with a black BG. and the creation tool is irrelevant; the output has nothing declared for the BG nor is there any BG element to start with.
– WhiteRau
Nov 9 '18 at 5:25
Creation tool is quite relevant. Not all tools output the same SVG, and not all rendering libraries support the same filters. Please attach screenshots and a link to an SVG which renders wrongly in Ubuntu.
– dobey
Nov 9 '18 at 14:07
1
OK. It looks mostly fine here. Please edit your post to include a screenshot of what it is you're seeing. Also, please don't use URL shorteners to post links on here. Thanks.
– dobey
Nov 16 '18 at 21:36