cross
Foswiki.org is now running Foswiki 2.1.3 Beta 1. Please open a task for any issues.
TIP WebFontsContrib is not installed on Foswiki.org.

WebFontsContrib

Web fonts for Foswiki skins

This is a bundle of commonly used free web-fonts to be used in your Foswiki skin. Each font comes with a handy font-face definition that you may add to your own css. They are located in

pub/System/WebFontsContrib/<font-family>/font-face.css

For instance, given your styles.css is located in pub/System/MyThemeContrib/styles.css, then adding this will make the "Roboto" available in your design

@import url(../WebFontsContrib/roboto/font-face.css);

Depending on the font different styles and weights are defined in the font-face file.

Font Family Weights Styles
Droid Sans normal, bold normal
Droid Serif normal, bold normal, italic
Lato 100, 200, 300, 500, 600, 800, 900, bold, normal normal, italic
Material Icons 400 normal
Open Sans 300, 600, 800, bold, normal normal, italic
Oswald 300, normal, bold normal
Oswald Stencil normal normal
Roboto 100, 300, 400, 500, 700, 900, bold, normal normal, italic
Roboto Mono 100, 300, 400, 500, 700 normal, italic
Source Sans Pro 200, 300, 400, 600, 700, 900 normal, italic

See the list of all MaterialIcons

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Note that copyrights apply to each font individually.

Dependencies

None

Change History

30 Nov 2016 added material icons
01 Mar 2016 initial release
16 Sep 2015 creation
Topic revision: r2 - 30 Nov 2016, MichaelDaum - This page was cached on 23 Jan 2017 - 07:45.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License