V, when I try it at my wiki (vers. 1.31.1), it works OK in Chrome on
Windows 10. The "Styles" section in Chrome developer tools has this entry:
font[Attributes Style] {
1. font-family: "Century Gothic";
2. font-size: small;
}
The FONT tag is deprecated in HTML5
<https://www.mediawiki.org/wiki/HTML_restriction>, so one day it probably
will stop working anyway. Instead use for instance:
<span style="font-family:'Century Gothic'; font-size:small;">Lorem
ipsum
dolor sit amet</span>
At the risk of stating the obvious: the Century Gothic font must be
installed on the user's device for the text to be rendered in that font.
Best regards,
Henrik Thiil Nielsen
On Sun, 5 May 2019 at 14:03, <mediawiki-l-request(a)lists.wikimedia.org>
wrote:
Send MediaWiki-l mailing list submissions to
mediawiki-l(a)lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
mediawiki-l-request(a)lists.wikimedia.org
You can reach the person managing the list at
mediawiki-l-owner(a)lists.wikimedia.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
1. Mediawiki Available Fonts (Valerio Pelliccioni)
----------------------------------------------------------------------
Message: 1
Date: Sun, 5 May 2019 09:41:47 +0200
From: Valerio Pelliccioni <vmp(a)silkwood.it>
To: mediawiki-l(a)lists.wikimedia.org
Subject: [MediaWiki-l] Mediawiki Available Fonts
Message-ID: <A62B06F8-D4D8-480A-B76E-113E4C854542(a)silkwood.it>
Content-Type: text/plain; charset=utf-8
Hello,
I’m going crazy….
Why applying (inline) this font:
<font face="Comic Sans MS" size="2">
Lorem ipsum dolor sit amet,
</font>
to my wiki pages works as expected, and this font not?
<font face="Century Gothic" size="2">
Lorem ipsum dolor sit amet
</font>
Thanks.
V
--------
NOTE: I’m using Metrolook skin and I didn’t specify any font-family in my
CSSs (Common, Metrolook, etc…);
-------------------------------------------------------------------
Valerio Pelliccioni
W:https://tunearch.org/wiki/User:Valerio_Pelliccioni
------------------------------
Subject: Digest Footer
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------------------------
End of MediaWiki-l Digest, Vol 188, Issue 4
*******************************************