Page MenuHomePhabricator

Making system font the default option
Closed, DeclinedPublic

Description

Author: mohahmwiki

Description:
Because of problems related to the appearance of the Amiri font, the only font available aside from the system font. It was decided by this vote (1) that either we disable the web font extension, or make the system font a default option. It is also very important to point out that loading the Amiri font by default for all users increases page loading time. This has been discussed (2).
And the ULS/web fonts extension does not load the italics and bold form of the Amiri font, there is a bug about this (3). Also we have a serious problem that might be related to web fonts, long pages are very hard to save edits to. It is sometimes impossible, and this has been noticed or started to happen coinciding with the enabling web fonts.
(1) http://ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A7%D9%84%D9%85%D9%8A%D8%AF%D8%A7%D9%86/%D8%AA%D9%82%D9%86%D9%8A%D8%A9/03/2013#.D8.AA.D8.B5.D9.88.D9.8A.D8.AA_.D8.A8.D8.B4.D8.A3.D9.86_.D8.A7.D9.85.D8.AA.D8.AF.D8.A7.D8.AF_.D8.AE.D8.B7.D9.88.D8.B7_.D8.A7.D9.84.D9.88.D9.8A.D8.A8
(2) http://ar.wikipedia.org/wiki/%D9%86%D9%82%D8%A7%D8%B4:%D8%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9#.D8.A7.D9.82.D8.AA.D8.B1.D8.A7.D8.AD_.D8.AD.D8.B0.D9.81_.D8.A7.D9.84.D8.B5.D9.88.D8.B1_.D8.A7.D9.84.D8.B1.D9.85.D8.B2.D9.8A.D8.A9
(3) https://bugzilla.wikimedia.org/show_bug.cgi?id=41940


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=41940
https://bugzilla.wikimedia.org/show_bug.cgi?id=33018

Details

Reference
bz50470

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:54 AM
bzimport set Reference to bz50470.
bzimport added a subscriber: Unknown Object (MLST).

A default font will be set if a language or script has a problematic support history on a wide range of desktop computers and other devices. Even though most modern operating systems provide options to support a language or script well, this may require a user to take action first, such as installing software or changing the operating system settings. Our experience shows that a lot of users don't do this and give up, and we want to provide a quick and automatic way to make the text readable.

Universal Language Selector only provides freely licensed fonts. We choose default fonts based on popularity of the fonts (eg: default font for a script in Linux distributions, widely used in portals in the language, etc.) and based on input from potential users. If the default font has a bug that prevents users from using it, we will try to use an alternate font if available. For this a valid bug report is needed in bugzilla with high impact.

Experienced users that have made all the effort, can easily switch back to using the default font using ULS.

mohahmwiki wrote:

The Amiri font has a problematic support history on all devices, italic and bold fonts are messing. Isn't that enough reason to select another default font? Also, we have made a vote after many, many complains. This vote turned out in favour of disabling the web font extensions or selecting another web font. Again, I point out to the problem of editing long pages that might might be connected to web fonts.

This really a severe issue, and it has been going on long enough.

abanima wrote:

The now-default Amiri font has several disadvantages. When activated, it breaks links to page sections, probably because the height of the font is different from what the system expects. It is difficult to read from screen, while it looks clear on paper, so it may be worth setting it as default for print mode. As Mohamed Ahmed mentioned above, it makes problems displaying bold and slanted style. In addition, it only contains (extended) Arabic and Latin characters, so if a page contains Greek or Cyrillic, for example, the text looks unbalanced.

On the other hand, I am not aware of any display problems with system font settings. I believe, in Windows the system font is Arial, in Ubuntu probably Liberation Sans or DejaVu Sans, all these are Unicode fonts, where Latin, Greek and Cyrillic look fine, and links to page sections work well.

I would suggest that 'system font' made the default one. It would also be useful to add other optional fonts, such as Iranian Sans and Droid Arabic Naskh: both are open-source (as far as I know), and the latter was specifically designed for on-screen display.