https://bugzilla.wikimedia.org/show_bug.cgi?id=38122

--- Comment #2 from Ran Ari-Gur (User:Ruakh on WMF projects) 
<[email protected]> 2012-07-09 02:00:37 UTC ---
Created attachment 10832
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10832
three screenshots demonstrating the issue

@Brion Vibber: The problem is that the fonts aren't loaded if they're only
specified via CSS pages. If something does cause the font to be loaded (an
inline style or a lang="..." elsewhere on the page), then it works.

I don't have admin access on any wikis that have this extension installed, so I
can't give you a link, but I'm attaching three screenshots that demonstrate the
issue (two cases that work fine and one case that does not), and here are steps
to reproduce them:

1. Create http://hi.wikipedia.org/wiki/User:Brion_VIBBER/common.css with the
   following:

       .miriam-clm { font-family: 'Miriam CLM'; }

2. Visit a random edit-page, enter this wiki-text, and click "Preview" (or
   "पूर्वावलोकन" if you haven't set your language preferences):

       * <span class="miriam-clm">עִבְרִית</span>
       * <span lang="he">עִבְרִית</span>

   You will notice that the two list-items look identical, because Miriam CLM
   is successfully loaded, and applied to both list-items.

3. Now try this:

       * <span class="miriam-clm">עִבְרִית</span>
       * <span style="font-family: 'Miriam CLM'">עִבְרִית</span>

   Same story.

4. But if you try just this:

       * <span class="miriam-clm">עִבְרִית</span>

   then Miriam CLM does *not* get loaded.

Does that make sense?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to