Page MenuHomePhabricator

Create and add a font that contains glyphs for all autonyms
Closed, ResolvedPublic

Description

Tamil disappears when selecting Hindi font

  1. Open Display settings in ULS
  2. Change language to Hindi, select font and apply.
  3. Tamil / other characters not available in hindi font will not be displayed.

Load font for other languages while displaying the recent languages or show the labels in English.

This was observed in Firefox 11.


Version: master
Severity: enhancement
Whiteboard: font
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56346

attachment ULS-Hindi-fallback.png ignored as obsolete

Details

Reference
bz40874

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:07 AM
bzimport set Reference to bz40874.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

This was observed in Firefox 11.

Please update to the latest Firefox (16.0.1 at time of writing) and confirm observation.

ii language showing square due to lack of font.

Attached:

ULS-LanguageSquare1.png (577×716 px, 64 KB)

It also fails with Saurashtra, for which we do have a webfont.

If we want to avoid missing font issue in language list, we need a font with all those glyphs or multiple fonts. Both are not feasible because of the font sizes/numbers to download. But if there is a font with the glyphs required for autonyms alone, we can achieve this. We will need to use font-subsetting in a font like GNU Free Sans to generate such a font. Still getting fontsubsetting tools work with all these scripts and getting the opentype tables correctly exported is a challenge

  • Bug 51073 has been marked as a duplicate of this bug. ***

Tracked as
https://mingle.corp.wikimedia.org/projects/internationalization/cards/1865. No
guarantees on delivery yet, because it's not planned for development, but I
think that in about two months we should have something for this.

From bug 51073 comment 10:


We're going to develop a font that will be able to display all the autonyms
used in ULS, including autonyms used in MediaWiki. This will reduce the number
of web fonts that have to be loaded for pages with many interlanguage links,

and will also ensure a complete display of the currently used autonyms in ULS.

Will this also fix language lists like

  • [[:Commons:Template:Lang-mp]]
  • [[:Commons:Template:Language versions]]

There not much gained when we don't load the webfonts for the autonyms but for a similar translation template.

This seems very much implemented, there's even a bug reported already (bug 56346). Marking as fixed.