AutonymFont icon indicating copy to clipboard operation
AutonymFont copied to clipboard

Missing glyphs for language names

Open michaelzed opened this issue 12 years ago • 5 comments

Identified missing glyphs in the List of Wiktionaries by specifying

font-face: autonym, UnicodeBMPfallbackSIL; 

Screenshot attached.

Missing characters include Latin capital Č, Í, Cyrillic capital Б, М, Р, С, Т, У, all Burmese and Cambodian, and some characters from Sindhi, Oriya, and Pali.

autonym gaps

michaelzed avatar Nov 01 '13 16:11 michaelzed

Also missing is the mark in Uzbek (Oʻzbek), which may be represented by any of:

  • ‘ U+02BB modifier letter turned comma
  • ‘ U+2018 left single quotation mark
  • ' U+0027 apostrophe

michaelzed avatar Nov 01 '13 16:11 michaelzed

Seems for terms, casing used is an issue, some sources use lowercase character for initial letter of autonym, other sources use uppercase for initial character, and casing is inconsistent across projects

andjc avatar Nov 02 '13 00:11 andjc

I suspect most of these problems slipped through due to flawed or nonexistent testing. See my report at https://www.mediawiki.org/wiki/Talk:UniversalLanguageSelector/AutonymFont#Testing_flaws .

michaelzed avatar Nov 09 '13 16:11 michaelzed

For background: not all languages have the same capitalization rules or definitions of proper nouns and “proper adjectives” as English. Language names are not necessarily capitalized.

For example, Ukrainian українська (ukrayins’ka, “Ukrainian”) is a common adjective, not a proper noun like the word “Ukrainian” in English. It is the shortened form of українська мова (ukrayins’ka mova, “Ukrainian language”).

However, it would be capitalized the same way as in English at the beginning of a sentence, or in title case, as in a navigation menu: Українська (Ukrayins’ka).

If the font is only to be used in the nav menu, then it should include title-case characters for the language names. If its use is wider than that, then it should include characters for normal and title-case use, and perhaps for all-caps, too. In any case, the use case needs to be defined. Anyone know if and where Autonym’s design requirements are documented?

michaelzed avatar Nov 23 '13 18:11 michaelzed

Ideally, we need to support both normal and title case for wider usecases. The test case we used is the language names as per CLDR (used in ULS and MediaWiki language names - Names.php)

  1. https://github.com/wikimedia/jquery.uls/blob/master/data/langdb.yaml
  2. https://github.com/wikimedia/mediawiki-core/blob/master/languages/Names.php

It may take some time to reach there. Patches are always welcome for this. Thanks

santhoshtr avatar Nov 24 '13 05:11 santhoshtr