@font-face not working in Wikipedia?
up vote
0
down vote
favorite
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
add a comment |
up vote
0
down vote
favorite
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
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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
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
fonts font-faces
edited Nov 19 at 5:37
fixer1234
17.3k144280
17.3k144280
asked Nov 7 '13 at 6:18
whitenoisedb
187316
187316
add a comment |
add a comment |
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
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
add a comment |
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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