Page MenuHomePhabricator

Install fallback font for Tahoma in svg rendering
Open, Needs TriagePublicFeature

Description

Feature summary
By chance, I discovered the free fonts IBM Plex Sans (https://fonts.google.com/?query=ibm+plex+sans) and Radio Canada Light (https://fonts.google.com/?query=radio+Canada) to be very close (though not perfect metric matches) for the proprietary Tahoma font. I would like to see both fonts installed for .svg rendering, with one of them identified as the fallback for Tahoma.

Benefits
Both fonts closely approximate Tahoma (at least within Latin alphabet), and both fonts provide a proportional sans serif option without ambiguity between I and l. IBM Plex Sans has the benefit of including more alphabets, while Radio Canada has the benefit of including the Canadian Aboriginal alphabet (which is not broadly supported through other fonts). These fonts would support rendering of svg that contain the Tahoma font, and they would add more options for developers looking for a clear and unambiguous font to use for within graphics labels.

Event Timeline

I have noted the IBM Plex family is available from Debian (which I understand to be the preferred source): https://packages.debian.org/stable/fonts/fonts-ibm-plex

This ticket doesn't link to examples of the problem that people want to see fixed. Please provide examples.

If I understand correctly, people are asking to install fonts, then map them to the Tahoma family name and have the renderer use these alternate fonts whenever they have contant that uses the Tahoma font-family ?

@CdnMCG: Could you please answer the last comment? Thanks in advance!

I've worked on relatively simple icons that often include short abbreviations. The icons are supposed to be a sans serif font. I have found Tahoma to be the most widely used font that presents these clearly while avoiding certain ambiguities that some fonts can create between letters.

One such ambiguity is between i and l, and you can see it in the example of "Il" (il ... French for "He"). You can avoid this ambiguity by using mono spaced sans serifs, but these often introduce a new ambiguity between O and 0.

I also believe that Tahoma is widely enough used that we should have something here that is roughly equivalent for rendering. I would be happy with Tahoma itself, but I understand it is not a free font and cannot be used for rendering here. The fonts proposed earlier in this thread are the closest approximations that I found.