fontrobot 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/lib/fontrobot/templates/fontrobot.css +1 -1
- data/lib/fontrobot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0b7c4b28b299073f873fd58d5b28e78017acb87
|
4
|
+
data.tar.gz: d002ee1ca10d13d129c8a346ae03f77b719078ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89d295c7fd502dead4671d77e2ad6be2d4ab9f245572f46856361346aa7c463c1d3de0a2cdad4a58f433fc9d7e1b3acb2f838600db837e3a2cab792a56c12256
|
7
|
+
data.tar.gz: 3e50dd1531aafbdf1d730e249270898a8f1f8e8092c77a57c6f2b2c19c5b24af74e0d1dcd7027520939f60a1e2a81680e6aa530ca6bbe65f3978aa5f2b0e0d72
|
data/README.md
CHANGED
@@ -1,18 +1,24 @@
|
|
1
|
-
FontRobot v0.1.
|
1
|
+
FontRobot v0.1.4
|
2
2
|
==========
|
3
3
|
|
4
4
|
**Generate custom icon webfonts from the comfort of the command line.**
|
5
5
|
|
6
|
-
This is a fork of Fontcustom. I needed a quick fork to work out the kinks using this gem in a large-scale production Rails environment. I
|
6
|
+
This is a fork of Fontcustom. I needed a quick fork to work out the kinks using this gem in a large-scale production Rails environment. I hope to merge my changes upstream to Fontcustom soon (Just FYI).
|
7
7
|
|
8
8
|
FontRobot is primarily designed to add more control over how the @fontface declaration is created. See command-line options below for more details.
|
9
9
|
|
10
|
-
Fontrobot allows you
|
10
|
+
Fontrobot allows you to:
|
11
11
|
|
12
|
-
|
12
|
+
* Specify the font order in @font-face
|
13
|
+
* Inline font(s) as a data-uri
|
14
|
+
* Create an IE-compatible @font-face declaration
|
15
|
+
* output css files with .scss extension for importing to Sass projects
|
16
|
+
|
17
|
+
Including fonts as data-uris is nice because it avoids Firefox's same-origin policy and they load fast. For best performance, make sure your server gzips all served assets.
|
13
18
|
|
14
19
|
[Original Fontcustom documentation](http://fontcustom.github.com/fontcustom/)
|
15
20
|
|
21
|
+
**NOTE:** After upgrading, rename or delete your current output directory (or all generated font/css files), as Fontrobot won't be able to clean the directory using the old css template.
|
16
22
|
|
17
23
|
Installation
|
18
24
|
------------
|
@@ -32,9 +38,6 @@ fontrobot compile path/to/vectors # Compile icons and css to path/to/fontrobot/
|
|
32
38
|
fontrobot watch path/to/vectors # Watch for changes
|
33
39
|
```
|
34
40
|
|
35
|
-
**Note:** the **ENTIRE** contents of the output directory (default '/fontrobot') are **DELETED** when regenerating the font. So, don't put anything else in there.
|
36
|
-
|
37
|
-
|
38
41
|
Command-line options
|
39
42
|
-----
|
40
43
|
|
data/lib/fontrobot/version.rb
CHANGED