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 @@
-