From 560be6a5df575ec8fdf3dd3863b26b7868ccc8ce Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Fri, 15 Nov 2013 13:19:13 -0600 Subject: [PATCH] do not auto-width animated icons --- bower.json | 2 +- builder/build_data.json | 4 +- builder/manifest.json | 4 +- builder/scripts/generate_font.py | 4 +- cheatsheet.html | 4 +- component.json | 2 +- css/ionicons.css | 8 +- css/ionicons.min.css | 6 +- fonts/ionicons.eot | Bin 73388 -> 73512 bytes fonts/ionicons.svg | 499 ++++++++++++++++--------------- fonts/ionicons.ttf | Bin 120100 -> 120188 bytes fonts/ionicons.woff | Bin 40496 -> 40592 bytes scss/_ionicons-variables.scss | 2 +- 13 files changed, 281 insertions(+), 254 deletions(-) diff --git a/bower.json b/bower.json index 116611c7..fe359029 100644 --- a/bower.json +++ b/bower.json @@ -7,7 +7,7 @@ "test", "tests" ], - "version": "1.3.4", + "version": "1.3.5", "name": "Ionicons", "license": "MIT", "authors": [ diff --git a/builder/build_data.json b/builder/build_data.json index 6eddc181..e3f33b92 100644 --- a/builder/build_data.json +++ b/builder/build_data.json @@ -1,7 +1,7 @@ { - "build_hash": "283bffe80f9777d67627afcd6d170661", + "build_hash": "6720df1d45ed6c6639c66a398bfbea55", "prefix": "ion-", - "version": "1.3.4", + "version": "1.3.5", "name": "Ionicons", "icons": [ { diff --git a/builder/manifest.json b/builder/manifest.json index ae915de2..7541f575 100644 --- a/builder/manifest.json +++ b/builder/manifest.json @@ -1,7 +1,7 @@ { - "build_hash": "6720df1d45ed6c6639c66a398bfbea55", + "build_hash": "12febfa8c61b7232a63eed40ea673d0d", "prefix": "ion-", - "version": "1.3.4", + "version": "1.3.5", "name": "Ionicons", "icons": [ { diff --git a/builder/scripts/generate_font.py b/builder/scripts/generate_font.py index f2e945a8..bd6983df 100755 --- a/builder/scripts/generate_font.py +++ b/builder/scripts/generate_font.py @@ -13,6 +13,7 @@ MANIFEST_PATH = os.path.join(SCRIPT_PATH, '..', 'manifest.json') BUILD_DATA_PATH = os.path.join(SCRIPT_PATH, '..', 'build_data.json') AUTO_WIDTH = True KERNING = 15 +STANDARD_WIDTH_ICONS = ['refresh', 'ios7-reload', 'load-a', 'load-b', 'load-c', 'load-d', 'loop'] cp = 0xf100 m = md5.new() @@ -107,11 +108,12 @@ for dirname, dirnames, filenames in os.walk(INPUT_SVG_DIR): os.unlink(tmpsvgfile.name) # set glyph size explicitly or automatically depending on autowidth - if AUTO_WIDTH: + if AUTO_WIDTH and name not in STANDARD_WIDTH_ICONS: glyph.left_side_bearing = glyph.right_side_bearing = 0 glyph.round() else: # force a manual size when autowidth is disabled + print " - Standard Width: %s" % (name) glyph.width = 512 # resize glyphs if autowidth is enabled diff --git a/cheatsheet.html b/cheatsheet.html index 440c6898..4a99ea76 100644 --- a/cheatsheet.html +++ b/cheatsheet.html @@ -1,7 +1,7 @@ - Ionicons v1.3.4 Cheatsheet + Ionicons v1.3.5 Cheatsheet