@font-face not working in Wikipedia?











up vote
0
down vote

favorite
1












Wikipedia has changed its font-family for the Languages panel, and it doesn't render very well in Chrome. So I wanted to hard-code in the Custom.css with another font, but I haven't got success.



This is the line I added,



@font-face { font-family: 'Autonym', sans-serif ; font-style: normal; src: local('Arial'); }









share|improve this question




























    up vote
    0
    down vote

    favorite
    1












    Wikipedia has changed its font-family for the Languages panel, and it doesn't render very well in Chrome. So I wanted to hard-code in the Custom.css with another font, but I haven't got success.



    This is the line I added,



    @font-face { font-family: 'Autonym', sans-serif ; font-style: normal; src: local('Arial'); }









    share|improve this question


























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      Wikipedia has changed its font-family for the Languages panel, and it doesn't render very well in Chrome. So I wanted to hard-code in the Custom.css with another font, but I haven't got success.



      This is the line I added,



      @font-face { font-family: 'Autonym', sans-serif ; font-style: normal; src: local('Arial'); }









      share|improve this question















      Wikipedia has changed its font-family for the Languages panel, and it doesn't render very well in Chrome. So I wanted to hard-code in the Custom.css with another font, but I haven't got success.



      This is the line I added,



      @font-face { font-family: 'Autonym', sans-serif ; font-style: normal; src: local('Arial'); }






      fonts font-faces






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 at 5:37









      fixer1234

      17.3k144280




      17.3k144280










      asked Nov 7 '13 at 6:18









      whitenoisedb

      187316




      187316






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Why would font-face work? Add a proper CSS rule editing the page Special:MyPage/common.js, like



          $.webfonts.repository.languages.languageCode = ["system", "FontA", "FontB"];


          See docs: https://www.mediawiki.org/wiki/Extension:Universal_Language_Selector#Alternate_ways_to_load_fonts



          Example URL where to add the setting (for the wiki mediawiki.org; change to your domain): https://mediawiki.org/wiki/Special:MyPage/common.js






          share|improve this answer























          • I must say I'm just a reader of wikipedia. I wanted to change Wikipedia fonts in the Language panel because Chrome doesn't seem to render very well Autonym. I read I should add that font-face line into Custom.css file in my Chrome but doesn't work.
            – whitenoisedb
            Jan 18 '14 at 22:26












          • It's not Chrome, it's Windows (if you're having that problem with Linux then it's weird). You have to pick the right font list, I suppose just $.webfonts.repository.languages.en = ["system"]; could work on English wikis.
            – Nemo
            Jan 19 '14 at 20:51












          • Thanks for replying! I'll try in Linux, but here's a screenshot, are we talking about the same thing? i.imgur.com/J2s5alE.png
            – whitenoisedb
            Jan 20 '14 at 3:24










          • Yes we are. :) You can also follow github.com/santhoshtr/AutonymFont/issues/38 if you want.
            – Nemo
            Jan 20 '14 at 12:17










          • Wow, genius. I didn't know where Special:MyPage/common.js was in the file browser. I only found the Custom.css
            – whitenoisedb
            Jan 21 '14 at 17:42











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f670713%2ffont-face-not-working-in-wikipedia%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          Why would font-face work? Add a proper CSS rule editing the page Special:MyPage/common.js, like



          $.webfonts.repository.languages.languageCode = ["system", "FontA", "FontB"];


          See docs: https://www.mediawiki.org/wiki/Extension:Universal_Language_Selector#Alternate_ways_to_load_fonts



          Example URL where to add the setting (for the wiki mediawiki.org; change to your domain): https://mediawiki.org/wiki/Special:MyPage/common.js






          share|improve this answer























          • I must say I'm just a reader of wikipedia. I wanted to change Wikipedia fonts in the Language panel because Chrome doesn't seem to render very well Autonym. I read I should add that font-face line into Custom.css file in my Chrome but doesn't work.
            – whitenoisedb
            Jan 18 '14 at 22:26












          • It's not Chrome, it's Windows (if you're having that problem with Linux then it's weird). You have to pick the right font list, I suppose just $.webfonts.repository.languages.en = ["system"]; could work on English wikis.
            – Nemo
            Jan 19 '14 at 20:51












          • Thanks for replying! I'll try in Linux, but here's a screenshot, are we talking about the same thing? i.imgur.com/J2s5alE.png
            – whitenoisedb
            Jan 20 '14 at 3:24










          • Yes we are. :) You can also follow github.com/santhoshtr/AutonymFont/issues/38 if you want.
            – Nemo
            Jan 20 '14 at 12:17










          • Wow, genius. I didn't know where Special:MyPage/common.js was in the file browser. I only found the Custom.css
            – whitenoisedb
            Jan 21 '14 at 17:42















          up vote
          0
          down vote













          Why would font-face work? Add a proper CSS rule editing the page Special:MyPage/common.js, like



          $.webfonts.repository.languages.languageCode = ["system", "FontA", "FontB"];


          See docs: https://www.mediawiki.org/wiki/Extension:Universal_Language_Selector#Alternate_ways_to_load_fonts



          Example URL where to add the setting (for the wiki mediawiki.org; change to your domain): https://mediawiki.org/wiki/Special:MyPage/common.js






          share|improve this answer























          • I must say I'm just a reader of wikipedia. I wanted to change Wikipedia fonts in the Language panel because Chrome doesn't seem to render very well Autonym. I read I should add that font-face line into Custom.css file in my Chrome but doesn't work.
            – whitenoisedb
            Jan 18 '14 at 22:26












          • It's not Chrome, it's Windows (if you're having that problem with Linux then it's weird). You have to pick the right font list, I suppose just $.webfonts.repository.languages.en = ["system"]; could work on English wikis.
            – Nemo
            Jan 19 '14 at 20:51












          • Thanks for replying! I'll try in Linux, but here's a screenshot, are we talking about the same thing? i.imgur.com/J2s5alE.png
            – whitenoisedb
            Jan 20 '14 at 3:24










          • Yes we are. :) You can also follow github.com/santhoshtr/AutonymFont/issues/38 if you want.
            – Nemo
            Jan 20 '14 at 12:17










          • Wow, genius. I didn't know where Special:MyPage/common.js was in the file browser. I only found the Custom.css
            – whitenoisedb
            Jan 21 '14 at 17:42













          up vote
          0
          down vote










          up vote
          0
          down vote









          Why would font-face work? Add a proper CSS rule editing the page Special:MyPage/common.js, like



          $.webfonts.repository.languages.languageCode = ["system", "FontA", "FontB"];


          See docs: https://www.mediawiki.org/wiki/Extension:Universal_Language_Selector#Alternate_ways_to_load_fonts



          Example URL where to add the setting (for the wiki mediawiki.org; change to your domain): https://mediawiki.org/wiki/Special:MyPage/common.js






          share|improve this answer














          Why would font-face work? Add a proper CSS rule editing the page Special:MyPage/common.js, like



          $.webfonts.repository.languages.languageCode = ["system", "FontA", "FontB"];


          See docs: https://www.mediawiki.org/wiki/Extension:Universal_Language_Selector#Alternate_ways_to_load_fonts



          Example URL where to add the setting (for the wiki mediawiki.org; change to your domain): https://mediawiki.org/wiki/Special:MyPage/common.js







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 26 '14 at 22:17

























          answered Jan 17 '14 at 21:45









          Nemo

          6661629




          6661629












          • I must say I'm just a reader of wikipedia. I wanted to change Wikipedia fonts in the Language panel because Chrome doesn't seem to render very well Autonym. I read I should add that font-face line into Custom.css file in my Chrome but doesn't work.
            – whitenoisedb
            Jan 18 '14 at 22:26












          • It's not Chrome, it's Windows (if you're having that problem with Linux then it's weird). You have to pick the right font list, I suppose just $.webfonts.repository.languages.en = ["system"]; could work on English wikis.
            – Nemo
            Jan 19 '14 at 20:51












          • Thanks for replying! I'll try in Linux, but here's a screenshot, are we talking about the same thing? i.imgur.com/J2s5alE.png
            – whitenoisedb
            Jan 20 '14 at 3:24










          • Yes we are. :) You can also follow github.com/santhoshtr/AutonymFont/issues/38 if you want.
            – Nemo
            Jan 20 '14 at 12:17










          • Wow, genius. I didn't know where Special:MyPage/common.js was in the file browser. I only found the Custom.css
            – whitenoisedb
            Jan 21 '14 at 17:42


















          • I must say I'm just a reader of wikipedia. I wanted to change Wikipedia fonts in the Language panel because Chrome doesn't seem to render very well Autonym. I read I should add that font-face line into Custom.css file in my Chrome but doesn't work.
            – whitenoisedb
            Jan 18 '14 at 22:26












          • It's not Chrome, it's Windows (if you're having that problem with Linux then it's weird). You have to pick the right font list, I suppose just $.webfonts.repository.languages.en = ["system"]; could work on English wikis.
            – Nemo
            Jan 19 '14 at 20:51












          • Thanks for replying! I'll try in Linux, but here's a screenshot, are we talking about the same thing? i.imgur.com/J2s5alE.png
            – whitenoisedb
            Jan 20 '14 at 3:24










          • Yes we are. :) You can also follow github.com/santhoshtr/AutonymFont/issues/38 if you want.
            – Nemo
            Jan 20 '14 at 12:17










          • Wow, genius. I didn't know where Special:MyPage/common.js was in the file browser. I only found the Custom.css
            – whitenoisedb
            Jan 21 '14 at 17:42
















          I must say I'm just a reader of wikipedia. I wanted to change Wikipedia fonts in the Language panel because Chrome doesn't seem to render very well Autonym. I read I should add that font-face line into Custom.css file in my Chrome but doesn't work.
          – whitenoisedb
          Jan 18 '14 at 22:26






          I must say I'm just a reader of wikipedia. I wanted to change Wikipedia fonts in the Language panel because Chrome doesn't seem to render very well Autonym. I read I should add that font-face line into Custom.css file in my Chrome but doesn't work.
          – whitenoisedb
          Jan 18 '14 at 22:26














          It's not Chrome, it's Windows (if you're having that problem with Linux then it's weird). You have to pick the right font list, I suppose just $.webfonts.repository.languages.en = ["system"]; could work on English wikis.
          – Nemo
          Jan 19 '14 at 20:51






          It's not Chrome, it's Windows (if you're having that problem with Linux then it's weird). You have to pick the right font list, I suppose just $.webfonts.repository.languages.en = ["system"]; could work on English wikis.
          – Nemo
          Jan 19 '14 at 20:51














          Thanks for replying! I'll try in Linux, but here's a screenshot, are we talking about the same thing? i.imgur.com/J2s5alE.png
          – whitenoisedb
          Jan 20 '14 at 3:24




          Thanks for replying! I'll try in Linux, but here's a screenshot, are we talking about the same thing? i.imgur.com/J2s5alE.png
          – whitenoisedb
          Jan 20 '14 at 3:24












          Yes we are. :) You can also follow github.com/santhoshtr/AutonymFont/issues/38 if you want.
          – Nemo
          Jan 20 '14 at 12:17




          Yes we are. :) You can also follow github.com/santhoshtr/AutonymFont/issues/38 if you want.
          – Nemo
          Jan 20 '14 at 12:17












          Wow, genius. I didn't know where Special:MyPage/common.js was in the file browser. I only found the Custom.css
          – whitenoisedb
          Jan 21 '14 at 17:42




          Wow, genius. I didn't know where Special:MyPage/common.js was in the file browser. I only found the Custom.css
          – whitenoisedb
          Jan 21 '14 at 17:42


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f670713%2ffont-face-not-working-in-wikipedia%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix