Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Introduction

Dojo Fonts is an OSGI package for installing the Webfont packages

Under the URL /fonts in your HTTP Service.

Usage of the fonts

In order to use the fonts, include references to one of the font faces style sheet to your HTML file and use the new font-family at your wish.

CSS-URLdeclared CSS font-family
/fonts/ptsans/ptsans.csspt_sans
/fonts/opensans/opensans.cssopen_sans
/fonts/droidsans/droidsans.cssdroid_sans
/fonts/droidserif/droidserif.cssdroid_serif

Extract the fonts and stylesheet for non-OSGi Webservers

  1. Download dojo-fonts from http://maven.clazzes.org/org/clazzes/dojo/dojo-fonts/1.0.0/dojo-fonts-1.0.0.jar
  2. Extract the contents of the subfolder /OSGI-INF/webapp/fonts to your virtual host root directory, preferably as folder /fonts.

 

  • No labels