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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a68ecb51d3c10cd83392c8ce087bc38d222662a3
4
- data.tar.gz: c2e7c3d444d94a352d222459d1b7bb6e8f5dc1fc
3
+ metadata.gz: c0b7c4b28b299073f873fd58d5b28e78017acb87
4
+ data.tar.gz: d002ee1ca10d13d129c8a346ae03f77b719078ce
5
5
  SHA512:
6
- metadata.gz: ebba8d18d117eb9ad9a065ba0e994436f9e5f33da69b58ee3527f92aff8133f57c53cf34573d2bf249e6eddfa6d2a1ef9b3f7496022e900aade21a435643b14b
7
- data.tar.gz: cd2913ab6b5c52c6321496dd5205c1b93e9242c147704ef21a92eeb175073509436e5b7ec095339664e85bb7dadb63c7700cae24b8fc8574d3f376633ba0a983
6
+ metadata.gz: 89d295c7fd502dead4671d77e2ad6be2d4ab9f245572f46856361346aa7c463c1d3de0a2cdad4a58f433fc9d7e1b3acb2f838600db837e3a2cab792a56c12256
7
+ data.tar.gz: 3e50dd1531aafbdf1d730e249270898a8f1f8e8092c77a57c6f2b2c19c5b24af74e0d1dcd7027520939f60a1e2a81680e6aa530ca6bbe65f3978aa5f2b0e0d72
data/README.md CHANGED
@@ -1,18 +1,24 @@
1
- FontRobot v0.1.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'm testing it live every day. :) I hope to merge my changes upstream to Fontcustom soon (Just FYI).
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 specify the font order in @font-face, to inline font(s) as a data-uri, and creates an IE-compatible @font-face declaration.
10
+ Fontrobot allows you to:
11
11
 
12
- Data-uri fonts are nice because they circumvent some browser's origin policies and they load fast. For best performance, make sure your server gzips all served assets.
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
 
@@ -7,7 +7,7 @@ Path:<%= @path %>
7
7
  <% if @inline_sources %>
8
8
  @font-face {
9
9
  font-family: "<%= @name %>";
10
- src: url("<%= @path %>.eot?#iefix") format("embedded-opentype");
10
+ src: url("<%= @path %>.eot");
11
11
  }
12
12
 
13
13
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module Fontrobot
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontrobot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Barkow