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, <[email protected]>
wrote:

> Send MediaWiki-l mailing list submissions to
>         [email protected]
>
> 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
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> 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 <[email protected]>
> To: [email protected]
> Subject: [MediaWiki-l] Mediawiki Available Fonts
> Message-ID: <[email protected]>
> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> ------------------------------
>
> End of MediaWiki-l Digest, Vol 188, Issue 4
> *******************************************
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to