Last modified: 2014-01-18 05:13:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43359, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41359 - Enable WebFonts for the Arabic projects
Enable WebFonts for the Arabic projects
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
wmf-deployment
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Niklas Laxström
: shell
Depends on: 41940
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-24 19:42 UTC by Mohamed Ahmed
Modified: 2014-01-18 05:13 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot showing synthesized styles seen now (147.67 KB, image/png)
2012-11-09 23:08 UTC, Khaled Hosny
Details
Screenshot showing true styles (145.08 KB, image/png)
2012-11-09 23:23 UTC, Khaled Hosny
Details

Description Mohamed Ahmed 2012-10-24 19:42:15 UTC
This is a request for enabling WebFonts extension for the Arabic Wikipedia and its sister projects.
Comment 2 Andre Klapper 2012-10-24 19:55:30 UTC
[Moving to "Wikimedia" as this request is about the configuration of the website, not about the code inside of the WebFonts extension.]
Comment 3 Siebrand Mazeland 2012-10-24 20:18:39 UTC
We have Arabic wikis for all projects: Wikipedia, wiktionary, wikibooks, wikinews, wikiquote, wikiversity and wikisource.

Can you please make sure that all communities are aware of this request, and not only Arabic Wikipedia?

I think it would be reasonable to take at least two weeks for feedback and discussion at those projects, so if there are no objections, we will enable all projects on Tuesday 13 November.
Comment 4 Mohamed Ahmed 2012-10-27 13:15:00 UTC
I have posted a notice on Arabic Wikinews, here http://ar.wikinews.org/wiki/ %D9%88%D9%8A%D9%83%D9%8A_%D8%A7%D9%84%D8%A3%D8%AE%D8%A8%D8%A7%D8%B1:%D8%A7%D9%84%D9%85%D9%8A%D8%AF%D8%A7%D9%86#.D8.AA.D9.81.D8.B9.D9.8A.D9.84_.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.D8.A8
There is only one editor who maintains the wiki and continues to add article there, he commented on my notice, saying that it is a good idea. Arabic Wikinews is the second most active wiki we have. I believe there is no objection to enabling WebFont extension.
Comment 5 Siebrand Mazeland 2012-10-28 11:40:07 UTC
Okay. Thanks for satisfying all requirements. Based on this information, we can pull deployment forward to 2012-10-31 (this Tuesday).
Comment 6 Niklas Laxström 2012-10-28 16:06:37 UTC
Tuesday is 2012-10-30.
Comment 7 Mohamed Ahmed 2012-10-28 23:26:30 UTC
The following are 6 free Arabic fonts I suggest including in the WebFonts extenstion:
1. Amiri
2. Droid Arabic Kufi
3. Droid Arabic Naskh
4. Lateef
5. Scheherazade
6. Thabit
I have mentioned those fonts in my suggestion in the Arabic Wikipedia. The Fonts are available here : http://www.google.com/webfonts/earlyaccess
Comment 8 Nemo 2012-10-29 07:24:51 UTC
Nice to see more fonts, Alolita said they're looking into those released by Google. http://lists.wikimedia.org/pipermail/design/2012-October/000194.html
However, if I understand correctly this deployment request doesn't require those new fonts, so it's probably better if you put comment 7 in a new request?
Comment 9 Niklas Laxström 2012-10-30 10:11:00 UTC
Deployed, but no fonts for Arabic were enabled in WebFonts. See https://gerrit.wikimedia.org/r/#/c/30765/
Comment 10 Mohamed Ahmed 2012-10-30 14:53:15 UTC
The Amiri font has received positive comments in the discussion mentioned above on the Arabic Wikipedia. Now that the extension has been enabled, it remains to add fonts. The extension is of no use for now, because there are no fonts included. That's why I request the inclusion of the Amiri font as fast as possible, please.
Comment 11 Mohamed Ahmed 2012-11-01 18:59:21 UTC
As there are problems with including the fonts. I request the extension to be disabled, because it is of no use now on the AR wikis.
Comment 12 Nemo 2012-11-01 19:11:45 UTC
(In reply to comment #11)
> As there are problems with including the fonts. I request the extension to be
> disabled, because it is of no use now on the AR wikis.

The font has already been added; it will be live on your wiki, at worst, in the next bi-weekly update. https://www.mediawiki.org/wiki/MediaWiki_1.21/Roadmap
Comment 13 Mohamed Ahmed 2012-11-01 20:21:12 UTC
If enabling/disabling the extension (fonts included) is not linked to updates. I still request that the extension be disabled until the the next update, as I said before, the existence of the extension now is meaningless.
Comment 14 Niklas Laxström 2012-11-06 10:41:42 UTC
Font added to all projects, except arwiki, which will have it by tomorrow.
Comment 15 Mohamed Ahmed 2012-11-06 14:15:44 UTC
The font should be named in Arabic, so it should be "الأميري". There is another request for adding five more fonts here: https://bugzilla.wikimedia.org/show_bug.cgi?id=41551
Comment 16 Zack 2012-11-08 00:52:38 UTC
Hi, WebFonts might be causing long pages to overload; can it be made into a gadget?
Comment 17 Nemo 2012-11-08 06:04:33 UTC
(In reply to comment #16)
> Hi, WebFonts might be causing long pages to overload; can it be made into a
> gadget?

No, it's not possible. Can you please file a separate bug for this performance issue? Thanks.
Comment 18 Mohamed Ahmed 2012-11-08 22:36:16 UTC
Now, the webfont extension is displaying the Amiri webfont for all users, because of some rendering issues related to Windows perhaps, I suggest showing the webfonts only for users who selected them.
Comment 19 Khaled Hosny 2012-11-09 21:59:16 UTC
I’m not sure where to report this (under what component), but the webfonts extension provides only the regular style of the Amiri font but not the bold, and slanted styles, this causes the browser to synthesize bold and italic styles which looks extremely ugly and hardly usable.
Comment 20 Nemo 2012-11-09 22:17:32 UTC
(In reply to comment #19)
> I’m not sure where to report this (under what component), but the webfonts
> extension provides only the regular style of the Amiri font but not the bold,
> and slanted styles, this causes the browser to synthesize bold and italic
> styles which looks extremely ugly and hardly usable.

Is this the rendering problem Mohamed Ahmed mentioned in comment 18?
Could you please attach a screenshot of the problem that you're seeing and how it should look like instead? Thank you very much.
Comment 21 Khaled Hosny 2012-11-09 23:08:37 UTC
Created attachment 11341 [details]
Screenshot showing synthesized styles seen now
Comment 22 Khaled Hosny 2012-11-09 23:23:28 UTC
Created attachment 11342 [details]
Screenshot showing true styles

This how it looks after I disabled the @font-face rule. The problem is that the @font-face rule looks like this

@font-face {
  font-family: 'Amiri';
  src: url('…');
  src: local('Amiri'),
       url('…') format('woff'),
       url('…') format('truetype');
  font-style: normal;
}

Thus only the normal style is made available, compare this with the CSS snippet provided with Amiri tarball, which makes all four styles available:

@font-face {
    font-family: AmiriWeb;
    font-style: normal;
    font-weight: 400;
    src: url('amiri-regular.eot?') format('eot'),
         url('amiri-regular.woff') format('woff'),
         url('amiri-regular.ttf')  format('truetype');
}

@font-face {
    font-family: Amiri QuranWeb;
    font-style: normal;
    font-weight: 400;
    src: url('amiri-quran.eot?') format('eot'),
         url('amiri-quran.woff') format('woff'),
         url('amiri-quran.ttf')  format('truetype');
}

@font-face {
    font-family: AmiriWeb;
    font-style: normal;
    font-weight: 700;
    src: url('amiri-bold.eot?') format('eot'),
         url('amiri-bold.woff') format('woff'),
         url('amiri-bold.ttf')  format('truetype');
}

@font-face {
    font-family: AmiriWeb;
    font-style: oblique;
    font-weight: 400;
    src: url('amiri-slanted.eot?') format('eot'),
         url('amiri-slanted.woff') format('woff'),
         url('amiri-slanted.ttf')  format('truetype');
}

@font-face {
    font-family: AmiriWeb;
    font-style: oblique;
    font-weight: 700;
    src: url('amiri-boldslanted.eot?') format('eot'),
         url('amiri-boldslanted.woff') format('woff'),
         url('amiri-boldslanted.ttf')  format('truetype');
}

I also recommend using this syntax over what is used now, see:
http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax

(but probably should keep 'src: local('Amiri')', so local font is used if available).
Comment 23 Khaled Hosny 2012-11-09 23:30:13 UTC
Sorry, ignore the amiri-quran entry above it is specialized, yet unreleased version of Amiri.
Comment 24 Zack 2012-11-21 19:59:18 UTC
Please make "Reset" option by default, as some users reported Amiri font to be unsuitable and other fonts not yet implemented.
Comment 25 Nemo 2012-11-21 20:12:50 UTC
(In reply to comment #24)
> Please make "Reset" option by default, as some users reported Amiri font to be
> unsuitable and other fonts not yet implemented.

Are you aware that bug 41940 has been fixed, implementing your fonts, and it will go live on Wednesday, December 5? https://www.mediawiki.org/wiki/MediaWiki_1.21/Roadmap#wmf5
Comment 26 Siebrand Mazeland 2012-11-21 20:15:44 UTC
(In reply to comment #24)
> Please make "Reset" option by default, as some users reported Amiri font to be
> unsuitable and other fonts not yet implemented.

Please file a new issue. This should not have been reopened. I'm predicting the
request will be denied/marked duplicate. See bug 30506.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links