Roboto fontface
A simple (No SVG) package providing the Roboto fontface. The font was created by Christian Robertson.
# install via NPM
$ npm install roboto-no-svg
Usage
There're several files in the css/
subdirectory. Import them in your project
to have access to "Roboto" font face:
-
css/roboto/roboto-fontface.css
- whole font family compiled to CSS -
css/roboto/less/roboto-fontface.less
- whole font family in LESS -
css/roboto-condensed/roboto-condensed-fontface.css
- whole font family compiled to CSS -
css/roboto-condensed/less/roboto-condensed-fontface.less
- whole font family in LESS -
css/roboto-slab/roboto-slab-fontface.css
- whole font family compiled to CSS -
css/roboto-slab/less/roboto-slab-fontface.less
- whole font family in LESS
Importing whole family may be unnecessary and lead to huge build, so if you are using LESS, you can import only individual weights by importing for example:
css/roboto/sass/roboto-fontface-black.scss
css/roboto/sass/roboto-fontface-black-italic.scss
Hinting
Some of the included font files have hinting.
Files | Hinting |
---|---|
.eot |
? |
.ttf |
? |
.woff |
yes |
.woff2 |
? |