# Roboto fontface

A simple package providing the [Roboto](http://www.google.com/fonts/specimen/Roboto) fontface. The font was created by [Christian Robertson](https://plus.google.com/110879635926653430880/about).

## Installing

Assuming you have [NodeJS](http://nodejs.org/), [NPM](https://www.npmjs.com/) and [Bower](http://bower.io/) installed globally just open up a terminal, navigate to your projects root directory and then execute

```
# install via NPM
$ npm install roboto-fontface-pre-css --save

# install via Bower
$ bower install roboto-pre-css --save
```


## Usage

There're several files in the `css/` subdirectory. Import them in your project
to have access to "Roboto" font face:

* `roboto-fontface.css` - whole font family compiled to CSS
* `roboto-fontface.scss` - whole font family in SCSS
* `roboto-fontface.less` - whole font family in LESS
* `roboto-fontface.styl` - whole font family in STYLUS

Importing whole family may be unnecessary and lead to huge build, so if you are
using SCSS or LESS or SYULUS, you can import only individual weights by importing one
of the following files:

* `roboto-fontface-(thin|light|regular|medium|bold|black).scss`
* `roboto-fontface-(thin|light|regular|medium|bold|black).less`
* `roboto-fontface-(thin|light|regular|medium|bold|black).styl`

Their italic variants can be imported by adding `-italic` suffix:

* `roboto-fontface-(thin|light|regular|medium|bold|black)-italic.scss`
* `roboto-fontface-(thin|light|regular|medium|bold|black)-italic.less`
* `roboto-fontface-(thin|light|regular|medium|bold|black)-italic.styl`

## Hinting

Some of the included font files have [hinting](http://en.wikipedia.org/wiki/Font_hinting).

| Files    | Hinting |
|----------|---------|
| `.eot`   | ?       |
| `.svg`   | no      |
| `.ttf`   | ?       |
| `.woff`  | yes     |
| `.woff2` | ?       |
