Page MenuHomePhabricator

SVG text preview position bug (possibly with Illustrator)
Closed, DeclinedPublic

Description

On Wikimedia Commons, I have reworked https://commons.wikimedia.org/wiki/File:Isotope_CNO.svg with Illustrator. I have imported it in SVG valided with W3C Validator.

Texts are badly displayed : position and size are not respected (I precise font family is Arial). But when I click on the file to open it in browser (Chrome for me) the render is perfect (like on Illustrator).

Does anyone know form were does this bug come ?

Event Timeline

Niridya updated the task description. (Show Details)
Niridya updated the task description. (Show Details)
Niridya unsubscribed.
Niridya subscribed.

Hi @Niridya, thanks for taking the time to report this and welcome!

Does anyone know form were does this bug come ?

Likely from using fonts which are not available on the Wikimedia servers on which software runs to create the PNG thumbnail images from the SVG file.

Similar issue on my local machine: Inkscape says "Font 'Arial' substituted with 'Liberation Sans'" when opening that SVG file.
Arial is a proprietary font. You could convert the characters to curves to avoid that problem, or use a common free font.

Hi @Aklapper, thank you for your answer !

I didn't know that Arial was a proprietary font (I thought it was a free font). Which free fonts are supported by Wikimedia server ?

Niridya triaged this task as Medium priority.
Aklapper changed the task status from Resolved to Declined.Mar 29 2018, 10:46 AM

Hmm, what got fixed here? :) I see T190947 which is a good question, let's continue there