fontcustom 1.1.0 → 1.1.1

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: 3c910ad06fd6a63497415cf449da20e6c72f3471
4
- data.tar.gz: 85b86e23d8aed1278bacede23d4f9c8980408df6
3
+ metadata.gz: 4fc3add333473a23ddcb18a08c6b01eed71a029e
4
+ data.tar.gz: 2e0d757e1a0b038dc6bc8abdb22d900b24cbb268
5
5
  SHA512:
6
- metadata.gz: 4e82e218abb14391f1c9c3f95e4da315417052ca6675604dbdc50eae9bac0df27c1d543131023d796db1a53b892d135b5854ad7e0bcc4cadc6e3baf3e8f4e98f
7
- data.tar.gz: 7b73f06d71838bdb39064a1f8fdc628db26a99056150e363e105e1d308fbca274c5c14add4ee9855ac51885d41508c0bd3689710298650d68673c05ba6691087
6
+ metadata.gz: 395f8eda59b936c25d52d832984dc514e594df0ba1a4742e652aa3115cfd388fbd8700e18eb72d6bc485af2b8dd784afedbe26e545117ebd3aea7b7970a5b377
7
+ data.tar.gz: d7fc088e213741da7d607273ebe9896fb836c6e7d66028bdbb4aeb950d3f45d4fcb3ea0168c7b98fa2fbef662d14841d133407a1adb9e01ccaebfd0124ab0933
data/.gitignore CHANGED
@@ -16,3 +16,5 @@ test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
18
  spec/fixtures/fontcustom/*
19
+ .DS_Store
20
+ .ruby-version
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.1.1 (10/16/2013)
2
+
3
+ * Preview characters are turned off by default in the preview template.
4
+ * Relaxes JSON version requirement ([#125](https://github.com/FontCustom/fontcustom/pull/125))
5
+ * Fixes ttf hinting ([#124](https://github.com/FontCustom/fontcustom/pull/124))
6
+ * Cleans up README, fontcustom.yml template, .gitignore ([#123](https://github.com/FontCustom/fontcustom/pull/123), [#128](https://github.com/FontCustom/fontcustom/pull/128))
7
+
1
8
  ## 1.1.0 (9/22/2013)
2
9
 
3
10
  More customizable interface for vastly improved workflow.
data/README.md CHANGED
@@ -36,12 +36,12 @@ font_name: fontcustom # Names the font (also sets name and direc
36
36
  project_root: (working dir) # Context for all relative paths
37
37
  input: (project_root) # Where vectors and templates are located
38
38
  output: (project_root)/(font name) # Where generated files will be saved
39
- file_hash: true # Include an asset-busting hash
39
+ no_hash: false # Remove asset-busting hashes from generated files
40
40
  css_prefix: icon- # CSS class prefix
41
41
  preprocessor_path: "" # Font path used in CSS proprocessor templates
42
42
  data_cache: (same as fontcustom.yml) # Sets location of data file
43
43
  debug: false # Output raw messages from fontforge
44
- verbose: true # Set to false to silence
44
+ quiet: false # Silence all output messages
45
45
  templates: [ css, preview ] # Templates to generate alongside fonts
46
46
  # Possible values: preview, css, scss, scss-rails, bootstrap,
47
47
  # bootstrap-scss, bootstrap-ie7, bootstrap-ie7-scss
data/fontcustom.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency "json", "~>1.8.0"
21
+ gem.add_dependency "json", "~>1.7"
22
22
  gem.add_dependency "thor", "~>0.18.1"
23
23
  gem.add_dependency "listen", "~>1.3.1"
24
24
 
@@ -122,7 +122,7 @@ subprocess.call('python ' + scriptPath + '/eotlitetool.py ' + fontfile + '.ttf -
122
122
  subprocess.call('mv ' + fontfile + '.eotlite ' + fontfile + '.eot', shell=True)
123
123
 
124
124
  # Hint the TTF file
125
- subprocess.call('ttfautohint -s -n ' + fontfile + '.ttf ' + fontfile + '-hinted.ttf > /dev/null 2>&1 && mv ' + fontfile + '-hinted.ttf ' + fontfile + '.ttf', shell=True)
125
+ subprocess.call('ttfautohint -s -f -n ' + fontfile + '.ttf ' + fontfile + '-hinted.ttf > /dev/null 2>&1 && mv ' + fontfile + '-hinted.ttf ' + fontfile + '.ttf', shell=True)
126
126
 
127
127
  # Describe output in JSON
128
128
  outname = os.path.basename(fontfile)
@@ -160,7 +160,7 @@
160
160
  </script>
161
161
  </head>
162
162
 
163
- <body>
163
+ <body class="characters-off">
164
164
  <div id="page" class="container">
165
165
  <header>
166
166
  <h1><%= @opts.font_name %> contains <%= @glyphs.length %> glyphs:</h1>
@@ -1,3 +1,3 @@
1
1
  module Fontcustom
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontcustom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kai Zau
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-22 00:00:00.000000000 Z
12
+ date: 2013-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ~>
19
19
  - !ruby/object:Gem::Version
20
- version: 1.8.0
20
+ version: '1.7'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- version: 1.8.0
27
+ version: '1.7'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: thor
30
30
  requirement: !ruby/object:Gem::Requirement