Skip to content

Commit 560be6a

Browse files
committed
do not auto-width animated icons
1 parent aa72d6f commit 560be6a

File tree

13 files changed

+281
-254
lines changed

13 files changed

+281
-254
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test",
88
"tests"
99
],
10-
"version": "1.3.4",
10+
"version": "1.3.5",
1111
"name": "Ionicons",
1212
"license": "MIT",
1313
"authors": [

builder/build_data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"build_hash": "283bffe80f9777d67627afcd6d170661",
2+
"build_hash": "6720df1d45ed6c6639c66a398bfbea55",
33
"prefix": "ion-",
4-
"version": "1.3.4",
4+
"version": "1.3.5",
55
"name": "Ionicons",
66
"icons": [
77
{

builder/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"build_hash": "6720df1d45ed6c6639c66a398bfbea55",
2+
"build_hash": "12febfa8c61b7232a63eed40ea673d0d",
33
"prefix": "ion-",
4-
"version": "1.3.4",
4+
"version": "1.3.5",
55
"name": "Ionicons",
66
"icons": [
77
{

builder/scripts/generate_font.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
BUILD_DATA_PATH = os.path.join(SCRIPT_PATH, '..', 'build_data.json')
1414
AUTO_WIDTH = True
1515
KERNING = 15
16+
STANDARD_WIDTH_ICONS = ['refresh', 'ios7-reload', 'load-a', 'load-b', 'load-c', 'load-d', 'loop']
1617

1718
cp = 0xf100
1819
m = md5.new()
@@ -107,11 +108,12 @@
107108
os.unlink(tmpsvgfile.name)
108109

109110
# set glyph size explicitly or automatically depending on autowidth
110-
if AUTO_WIDTH:
111+
if AUTO_WIDTH and name not in STANDARD_WIDTH_ICONS:
111112
glyph.left_side_bearing = glyph.right_side_bearing = 0
112113
glyph.round()
113114
else:
114115
# force a manual size when autowidth is disabled
116+
print " - Standard Width: %s" % (name)
115117
glyph.width = 512
116118

117119
# resize glyphs if autowidth is enabled

cheatsheet.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Ionicons v1.3.4 Cheatsheet</title>
4+
<title>Ionicons v1.3.5 Cheatsheet</title>
55
<style>
66
* {
77
-moz-box-sizing: border-box;
@@ -142,7 +142,7 @@
142142
<body>
143143
<div class="container">
144144
<header>
145-
<h1>Ionicons v1.3.4 Cheatsheet, 446 icons:</h1>
145+
<h1>Ionicons v1.3.5 Cheatsheet, 446 icons:</h1>
146146
<p><a href="http://ionicons.com/">Ionicons Homepage</a></p>
147147
</header>
148148
<div class="content">

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"repo": "driftyco/ionicons",
33
"development": {},
4-
"version": "1.3.4",
4+
"version": "1.3.5",
55
"styles": [
66
"css/ionicons.css"
77
],

css/ionicons.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
/*!
2-
Ionicons, v1.3.4
1+
/*
2+
Ionicons, v1.3.5
33
Created by Ben Sperry for the Ionic Framework, http://ionicons.com/
44
https://twitter.com/helloimben https://twitter.com/ionicframework
55
MIT License: https://github.com/driftyco/ionicons
66
*/
77
@font-face {
88
font-family: "Ionicons";
9-
src: url("../fonts/ionicons.eot?v=1.3.4");
10-
src: url("../fonts/ionicons.eot?v=1.3.4#iefix") format("embedded-opentype"), url("../fonts/ionicons.ttf?v=1.3.4") format("truetype"), url("../fonts/ionicons.woff?v=1.3.4") format("woff"), url("../fonts/ionicons.svg?v=1.3.4#Ionicons") format("svg");
9+
src: url("../fonts/ionicons.eot?v=1.3.5");
10+
src: url("../fonts/ionicons.eot?v=1.3.5#iefix") format("embedded-opentype"), url("../fonts/ionicons.ttf?v=1.3.5") format("truetype"), url("../fonts/ionicons.woff?v=1.3.5") format("woff"), url("../fonts/ionicons.svg?v=1.3.5#Ionicons") format("svg");
1111
font-weight: normal;
1212
font-style: normal; }
1313

css/ionicons.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fonts/ionicons.eot

124 Bytes
Binary file not shown.

fonts/ionicons.svg

Lines changed: 262 additions & 237 deletions
Loading

0 commit comments

Comments
 (0)