Last modified: 2014-03-07 11:44:14 UTC
Moved from bug 41359. Attachment 11341 [details] shows current rendering on ar.wiki; attachment 11342 [details] the expected one. Bug 41359 comment 22 also proposes an interpretation of the problem.
Any progress in this, the faux bold is really disturbing.
(In reply to comment #1) > Any progress in this, the faux bold is really disturbing. Very likely NOT on a weekend within 36 hours after reporting the problem.
36 hours are too much if you are seeing this all the time, and it is not the week end here either :) So sorry for being so persistent, and please let me know if there is anything I can help with.
Patch here: gerrit I1200c746
Merged, waits for deployment.
Now on Arabic wikipedia all four styles have "local('Amiri')" in the @font-face declaration, as a result people who have the font locally installed are getting the regular font for all text styles (at least on Firefox 17).
Hello, Can you please add a screenshot for the problem that you have been facing? Thanks.
Created attachment 11970 [details] Font styles when Amiri font is selected
Created attachment 11971 [details] Font styles when system font is selected
unassigning from me
ecreasing the impact. Font is not default.
Any chance of getting this fixed, the fix seems trivial as outlined in bug 41359, comment 22.
OK, after reading bug 41359, comment 22 again, I see why it wasn’t that helpful as it didn’t actually point to the real issue. The problem is that all the four @font-face rules for Amiri has "local('Amiri')" which causes Firefox to use the regular font for all styles if the user has the font locally installed. The fix is to use "local('Amiri')", "local('Amiri Bold')", "local('Amiri Slanted')" and "local('Amiri Bold Slanted')" for regular, bold, italic and bold italic fonts, respectively.
Using Italic instead of Slanted also works, in case it simplifies things.
Created attachment 14288 [details] Untested patch I guess something like that should work, but I couldn’t test it (I fear it will need setting up local MediaWiki install which is not something I’ve done before).
(In reply to comment #15) > Created attachment 14288 [details] > Untested patch > > I guess something like that should work, but I couldn’t test it (I fear it > will > need setting up local MediaWiki install which is not something I’ve done > before). Thank you! Please see [[mw:How to become a MediaWiki hacker]], particularly [[mw:MediaWiki-Vagrant]] to test locally and [[mw:Gerrit/Tutorial]] on how to send your patch to gerrit, to speed things up.