dojo-fonts
Introduction
dojo-fonts is an OSGI package for installing some Webfont packages under the URL /fonts in your HTTP service.
The font names in the following table link to large scale examples at www.fontsquirrel.com
| Font | CSS-URL | CSS font-family declared |
|---|---|---|
| PT Sans | /fonts/ptsans/ptsans.css | pt_sans |
| Open Sans | /fonts/opensans/opensans.css | open_sans |
| Droid Sans | /fonts/droidsans/droidsans.css | droid_sans |
| Droid Serif | /fonts/droidserif/droidserif.css | droid_serif |
Using the Webfont packages and stylesheet for non-OSGi Webservers
- Download the latest
dojo-fonts-x.x.jarfrom http://maven.clazzes.org/org/clazzes/dojo/dojo-fonts/, i.e. http://maven.clazzes.org/org/clazzes/dojo/dojo-fonts/1.0.0/dojo-fonts-1.0.0.jar. - Extract the contents of the subfolder
/OSGI-INF/webapp/fontsto yourVirtualHost'sDocumentRootdirectory, preferably as folder/fonts.
, multiple selections available,