![]() | This talk page is for discussing ways to improve the page Wikipedia:SVG help. For assistance with SVG files, please see that page. |
At Wikipedia:SVG Help#Rendering files,
In an RGB color model, wouldn't FFFFFF be white, rather than black? So should one look for rectangles with color 000000 instead? 85.23.33.52 ( talk) 10:37, 10 August 2008 (UTC)
Indeed, this is true. Still it's what you do! User A1 ( talk) 11:44, 10 August 2008 (UTC)
Commons has two (new?) templates: commons:Template:ValidSVG and commons:Template:InvalidSVG. I just opposed an FPC because of invalid SVG... mostly due to sodipodi / inkspace additions... but, can anyone discuss the importance of validity? Are there certain invalid features which should be accepted? If there are acceptable invalid features then how should those templates be used and are they misleading? (Although Image:Sodipodi-logo squirrel.svg was created with sodipodi and doesn't contain the errors of Image:Caucasus-ethnic en.svg) Thanks -- gren グレン 05:29, 29 August 2008 (UTC)
The Font issues section addresses the availability of fonts at Mediawiki. It speaks to what is only a symptom of a larger issue. The section says nothing about the need for a referenced font file to exist on a visitor's machine. The presence of a font file at Mediawiki does not guarantee that the file will exist on every visitor's machine. A visitor may be clueless as to why the appearance of text on their screen looks nothing like the preview PNG displayed by Mediawiki. "Substituting the font with an available font" is a Wiki-centric solution. The font may be available at Mediawiki, but it may not be "available" on every visitor's machine.
The list in the Available Fonts page says nothing about how likely a visitor is to have that font installed on their machine. One might gain a false sense of security when picking a font from that list, expecting every visitor to see the font as intended. If it shows up as expected in Mediawiki's PNG preview, the creator of the SVG image may have no reason to suspect that their image will appear as anything other than what their machine and Mediawiki's preview PNG have shown them.
In images where the appearance or placement of text is important, there may be significant portability issues if one chooses to use an SVG image instead of a raster image. - Ac44ck ( talk) 19:33, 15 January 2009 (UTC)
IIRC the uploader doesn't include a preview. Although unlikely, the situation could arise where an editor has access to an SVG file, but no means to preview it before uploading, e.g. an outdated browser. Therefore, is it worth including a link to this online SVG to PNG image conversion utility? -- trevj ( talk) 12:44, 11 March 2011 (UTC)
I would like to make you aware of my proposal. -- Leyo 09:37, 18 June 2011 (UTC)
In the font family issues subsection, mention of font-family="Liberation Sans,Arial,Helvetica,sans-serif"
is confusing in context, as it contains Arial and Helvetica which are not part of
acceptable SVG fonts. Is this recitation a mistake, or does it require more explanation? —
RCraig09 (
talk)
19:11, 3 March 2020 (UTC)
{{u|
Mark viking}} {
Talk}
23:39, 3 March 2020 (UTC)
It is better to specify a font available on Wikipedia (such as Liberation Sans) with fallback fonts such as:
font-family="Liberation Sans,Arial,Helvetica,sans-serif"
, in which you define similar fonts that are available on Wikimedia, Windows, Linux, or Mac.
font-family="Liberation Sans,Arial,Nimbus Sans L,Helvetica,sans-serif"
font-family="Liberation Sans,Arial,Helvetica,sans-serif"
instead of font-family="Liberation Sans,sans-serif"
. —
RCraig09 (
talk)
15:28, 7 March 2020 (UTC)An oddity I have just found: I used Liberation Serif for a text on one SVG file, and while it appears perfectly rendered in Commons, on en:Wikipedia the text shoots off the image. Others I did in the same way seem all right. The image is File:Battle of Lake Trasimene, 217 BC.svg, appearing here. The same is apparent with File:Battle_cannae_destruction.svg appearing here: perfect rendering when you look at the image on its own, but one line shooting off the end when embedded in the article. Hogweard ( talk) 08:35, 2 September 2020 (UTC)
— Johannes Kalliauer - Talk | Contributions 17:39, 31 January 2022 (UTC)
![]() | This talk page is for discussing ways to improve the page Wikipedia:SVG help. For assistance with SVG files, please see that page. |
At Wikipedia:SVG Help#Rendering files,
In an RGB color model, wouldn't FFFFFF be white, rather than black? So should one look for rectangles with color 000000 instead? 85.23.33.52 ( talk) 10:37, 10 August 2008 (UTC)
Indeed, this is true. Still it's what you do! User A1 ( talk) 11:44, 10 August 2008 (UTC)
Commons has two (new?) templates: commons:Template:ValidSVG and commons:Template:InvalidSVG. I just opposed an FPC because of invalid SVG... mostly due to sodipodi / inkspace additions... but, can anyone discuss the importance of validity? Are there certain invalid features which should be accepted? If there are acceptable invalid features then how should those templates be used and are they misleading? (Although Image:Sodipodi-logo squirrel.svg was created with sodipodi and doesn't contain the errors of Image:Caucasus-ethnic en.svg) Thanks -- gren グレン 05:29, 29 August 2008 (UTC)
The Font issues section addresses the availability of fonts at Mediawiki. It speaks to what is only a symptom of a larger issue. The section says nothing about the need for a referenced font file to exist on a visitor's machine. The presence of a font file at Mediawiki does not guarantee that the file will exist on every visitor's machine. A visitor may be clueless as to why the appearance of text on their screen looks nothing like the preview PNG displayed by Mediawiki. "Substituting the font with an available font" is a Wiki-centric solution. The font may be available at Mediawiki, but it may not be "available" on every visitor's machine.
The list in the Available Fonts page says nothing about how likely a visitor is to have that font installed on their machine. One might gain a false sense of security when picking a font from that list, expecting every visitor to see the font as intended. If it shows up as expected in Mediawiki's PNG preview, the creator of the SVG image may have no reason to suspect that their image will appear as anything other than what their machine and Mediawiki's preview PNG have shown them.
In images where the appearance or placement of text is important, there may be significant portability issues if one chooses to use an SVG image instead of a raster image. - Ac44ck ( talk) 19:33, 15 January 2009 (UTC)
IIRC the uploader doesn't include a preview. Although unlikely, the situation could arise where an editor has access to an SVG file, but no means to preview it before uploading, e.g. an outdated browser. Therefore, is it worth including a link to this online SVG to PNG image conversion utility? -- trevj ( talk) 12:44, 11 March 2011 (UTC)
I would like to make you aware of my proposal. -- Leyo 09:37, 18 June 2011 (UTC)
In the font family issues subsection, mention of font-family="Liberation Sans,Arial,Helvetica,sans-serif"
is confusing in context, as it contains Arial and Helvetica which are not part of
acceptable SVG fonts. Is this recitation a mistake, or does it require more explanation? —
RCraig09 (
talk)
19:11, 3 March 2020 (UTC)
{{u|
Mark viking}} {
Talk}
23:39, 3 March 2020 (UTC)
It is better to specify a font available on Wikipedia (such as Liberation Sans) with fallback fonts such as:
font-family="Liberation Sans,Arial,Helvetica,sans-serif"
, in which you define similar fonts that are available on Wikimedia, Windows, Linux, or Mac.
font-family="Liberation Sans,Arial,Nimbus Sans L,Helvetica,sans-serif"
font-family="Liberation Sans,Arial,Helvetica,sans-serif"
instead of font-family="Liberation Sans,sans-serif"
. —
RCraig09 (
talk)
15:28, 7 March 2020 (UTC)An oddity I have just found: I used Liberation Serif for a text on one SVG file, and while it appears perfectly rendered in Commons, on en:Wikipedia the text shoots off the image. Others I did in the same way seem all right. The image is File:Battle of Lake Trasimene, 217 BC.svg, appearing here. The same is apparent with File:Battle_cannae_destruction.svg appearing here: perfect rendering when you look at the image on its own, but one line shooting off the end when embedded in the article. Hogweard ( talk) 08:35, 2 September 2020 (UTC)
— Johannes Kalliauer - Talk | Contributions 17:39, 31 January 2022 (UTC)