Skip to content

Commit 2ca8a5d

Browse files
committed
Fix fontello with Firefox
1 parent d2a0224 commit 2ca8a5d

11 files changed

Lines changed: 109 additions & 107 deletions

File tree

fontello/config.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,67 +9,67 @@
99
{
1010
"uid": "d7271d490b71df4311e32cdacae8b331",
1111
"css": "home",
12-
"code": 919553,
12+
"code": 128288,
1313
"src": "fontawesome"
1414
},
1515
{
1616
"uid": "0ddd3e8201ccc7d41f7b7c9d27eca6c1",
1717
"css": "link",
18-
"code": 919554,
18+
"code": 128281,
1919
"src": "fontawesome"
2020
},
2121
{
2222
"uid": "e15f0d620a7897e2035c18c80142f6d9",
2323
"css": "link-ext",
24-
"code": 919555,
24+
"code": 128272,
2525
"src": "fontawesome"
2626
},
2727
{
2828
"uid": "5b0772e9484a1a11646793a82edd622a",
2929
"css": "pin",
30-
"code": 919556,
30+
"code": 128273,
3131
"src": "fontawesome"
3232
},
3333
{
3434
"uid": "0d08dbb1dd648a43bdea81b7e6c9e036",
3535
"css": "location",
36-
"code": 919557,
36+
"code": 128274,
3737
"src": "fontawesome"
3838
},
3939
{
4040
"uid": "921e3974e54ff9e8b7cd906a3dc74636",
4141
"css": "direction",
42-
"code": 919558,
42+
"code": 128275,
4343
"src": "fontawesome"
4444
},
4545
{
4646
"uid": "e99461abfef3923546da8d745372c995",
4747
"css": "cog",
48-
"code": 919559,
48+
"code": 128276,
4949
"src": "fontawesome"
5050
},
5151
{
5252
"uid": "0b2b66e526028a6972d51a6f10281b4b",
5353
"css": "zoom-in",
54-
"code": 919560,
54+
"code": 128277,
5555
"src": "fontawesome"
5656
},
5757
{
5858
"uid": "d25d10efa900f529ad1d275657cfd30e",
5959
"css": "zoom-out",
60-
"code": 919561,
60+
"code": 128278,
6161
"src": "fontawesome"
6262
},
6363
{
6464
"uid": "555ef8c86832e686fef85f7af2eb7cde",
6565
"css": "left-big",
66-
"code": 919569,
66+
"code": 128279,
6767
"src": "fontawesome"
6868
},
6969
{
7070
"uid": "197375a3cea8cb90b02d06e4ddf1433d",
7171
"css": "globe",
72-
"code": 919568,
72+
"code": 128280,
7373
"src": "fontawesome"
7474
}
7575
]

fontello/css/osm-codes.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
@charset "UTF-8";
22

33

4-
.osm-home:before { content: '󠠁'; } /* '\e0801' */
5-
.osm-globe:before { content: '󠠐'; } /* '\e0810' */
6-
.osm-link-ext:before { content: '󠠃'; } /* '\e0803' */
7-
.osm-pin:before { content: '󠠄'; } /* '\e0804' */
8-
.osm-location:before { content: '󠠅'; } /* '\e0805' */
9-
.osm-link:before { content: '󠠂'; } /* '\e0802' */
10-
.osm-cog:before { content: '󠠇'; } /* '\e0807' */
11-
.osm-zoom-in:before { content: '󠠈'; } /* '\e0808' */
12-
.osm-zoom-out:before { content: '󠠉'; } /* '\e0809' */
13-
.osm-left-big:before { content: '󠠑'; } /* '\e0811' */
14-
.osm-direction:before { content: '󠠆'; } /* '\e0806' */
4+
.osm-home:before { content: '🔠'; } /* '\1f520' */
5+
.osm-globe:before { content: '🔘'; } /* '\1f518' */
6+
.osm-link-ext:before { content: '🔐'; } /* '\1f510' */
7+
.osm-pin:before { content: '🔑'; } /* '\1f511' */
8+
.osm-location:before { content: '🔒'; } /* '\1f512' */
9+
.osm-link:before { content: '🔙'; } /* '\1f519' */
10+
.osm-cog:before { content: '🔔'; } /* '\1f514' */
11+
.osm-zoom-in:before { content: '🔕'; } /* '\1f515' */
12+
.osm-zoom-out:before { content: '🔖'; } /* '\1f516' */
13+
.osm-left-big:before { content: '🔗'; } /* '\1f517' */
14+
.osm-direction:before { content: '🔓'; } /* '\1f513' */

fontello/css/osm-embedded.css

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

fontello/css/osm-ie7-codes.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

2-
.osm-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠁 '); }
3-
.osm-globe { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠐 '); }
4-
.osm-link-ext { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠃 '); }
5-
.osm-pin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠄 '); }
6-
.osm-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠅 '); }
7-
.osm-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠂 '); }
8-
.osm-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠇 '); }
9-
.osm-zoom-in { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠈 '); }
10-
.osm-zoom-out { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠉 '); }
11-
.osm-left-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠑 '); }
12-
.osm-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠆 '); }
2+
.osm-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔠 '); }
3+
.osm-globe { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔘 '); }
4+
.osm-link-ext { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔐 '); }
5+
.osm-pin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔑 '); }
6+
.osm-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔒 '); }
7+
.osm-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔙 '); }
8+
.osm-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔔 '); }
9+
.osm-zoom-in { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔕 '); }
10+
.osm-zoom-out { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔖 '); }
11+
.osm-left-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔗 '); }
12+
.osm-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔓 '); }

fontello/css/osm-ie7.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
/* font-size: 120%; */
1111
}
1212

13-
.osm-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠁 '); }
14-
.osm-globe { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠐 '); }
15-
.osm-link-ext { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠃 '); }
16-
.osm-pin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠄 '); }
17-
.osm-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠅 '); }
18-
.osm-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠂 '); }
19-
.osm-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠇 '); }
20-
.osm-zoom-in { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠈 '); }
21-
.osm-zoom-out { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠉 '); }
22-
.osm-left-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠑 '); }
23-
.osm-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '󠠆 '); }
13+
.osm-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔠 '); }
14+
.osm-globe { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔘 '); }
15+
.osm-link-ext { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔐 '); }
16+
.osm-pin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔑 '); }
17+
.osm-location { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔒 '); }
18+
.osm-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔙 '); }
19+
.osm-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔔 '); }
20+
.osm-zoom-in { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔕 '); }
21+
.osm-zoom-out { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔖 '); }
22+
.osm-left-big { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔗 '); }
23+
.osm-direction { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '🔓 '); }

fontello/css/osm.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
@font-face {
44
font-family: 'osm';
5-
src: url('../font/osm.eot?38459959');
6-
src: url('../font/osm.eot?38459959#iefix') format('embedded-opentype'),
7-
url('../font/osm.woff?38459959') format('woff'),
8-
url('../font/osm.ttf?38459959') format('truetype'),
9-
url('../font/osm.svg?38459959#osm') format('svg');
5+
src: url('../font/osm.eot?16352570');
6+
src: url('../font/osm.eot?16352570#iefix') format('embedded-opentype'),
7+
url('../font/osm.woff?16352570') format('woff'),
8+
url('../font/osm.ttf?16352570') format('truetype'),
9+
url('../font/osm.svg?16352570#osm') format('svg');
1010
font-weight: normal;
1111
font-style: normal;
1212
}
@@ -16,7 +16,7 @@
1616
@media screen and (-webkit-min-device-pixel-ratio:0) {
1717
@font-face {
1818
font-family: 'osm';
19-
src: url('../font/osm.svg?38459959#osm') format('svg');
19+
src: url('../font/osm.svg?16352570#osm') format('svg');
2020
}
2121
}
2222
*/
@@ -52,14 +52,14 @@
5252
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
5353
}
5454

55-
.osm-home:before { content: '󠠁'; } /* '\e0801' */
56-
.osm-globe:before { content: '󠠐'; } /* '\e0810' */
57-
.osm-link-ext:before { content: '󠠃'; } /* '\e0803' */
58-
.osm-pin:before { content: '󠠄'; } /* '\e0804' */
59-
.osm-location:before { content: '󠠅'; } /* '\e0805' */
60-
.osm-link:before { content: '󠠂'; } /* '\e0802' */
61-
.osm-cog:before { content: '󠠇'; } /* '\e0807' */
62-
.osm-zoom-in:before { content: '󠠈'; } /* '\e0808' */
63-
.osm-zoom-out:before { content: '󠠉'; } /* '\e0809' */
64-
.osm-left-big:before { content: '󠠑'; } /* '\e0811' */
65-
.osm-direction:before { content: '󠠆'; } /* '\e0806' */
55+
.osm-home:before { content: '🔠'; } /* '\1f520' */
56+
.osm-globe:before { content: '🔘'; } /* '\1f518' */
57+
.osm-link-ext:before { content: '🔐'; } /* '\1f510' */
58+
.osm-pin:before { content: '🔑'; } /* '\1f511' */
59+
.osm-location:before { content: '🔒'; } /* '\1f512' */
60+
.osm-link:before { content: '🔙'; } /* '\1f519' */
61+
.osm-cog:before { content: '🔔'; } /* '\1f514' */
62+
.osm-zoom-in:before { content: '🔕'; } /* '\1f515' */
63+
.osm-zoom-out:before { content: '🔖'; } /* '\1f516' */
64+
.osm-left-big:before { content: '🔗'; } /* '\1f517' */
65+
.osm-direction:before { content: '🔓'; } /* '\1f513' */

fontello/demo.html

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<!--[if lt IE 9]>
5-
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
6-
<![endif]-->
7-
<meta charset="UTF-8"><style type="text/css">/*
4+
<!--if lt IE 9
5+
script(src='http://html5shim.googlecode.com/svn/trunk/html5.js').
6+
7+
-->
8+
<meta charset="UTF-8"><style>/*
89
* Bootstrap v2.2.1
910
*
1011
* Copyright 2012 Twitter, Inc
@@ -233,9 +234,10 @@
233234
</style>
234235
<link rel="stylesheet" href="css/osm.css">
235236
<link rel="stylesheet" href="css/animation.css">
236-
<!--[if IE 7]>
237-
<link rel="stylesheet" href="css/osm-ie7.css">
238-
<![endif]-->
237+
<!--if IE 7
238+
link(rel='stylesheet', href='css/osm-ie7.css')
239+
240+
-->
239241
<script>
240242
function toggleCodes(on) {
241243
var obj = document.getElementById('icons');
@@ -261,21 +263,21 @@ <h1>
261263
</div>
262264
<div id="icons" class="container">
263265
<div class="row">
264-
<div title="Code: 0xe0801" class="the-icons span3"><i class="osm-home"></i> <span class="i-name">osm-home</span><span class="i-code">0xe0801</span></div>
265-
<div title="Code: 0xe0810" class="the-icons span3"><i class="osm-globe"></i> <span class="i-name">osm-globe</span><span class="i-code">0xe0810</span></div>
266-
<div title="Code: 0xe0803" class="the-icons span3"><i class="osm-link-ext"></i> <span class="i-name">osm-link-ext</span><span class="i-code">0xe0803</span></div>
267-
<div title="Code: 0xe0804" class="the-icons span3"><i class="osm-pin"></i> <span class="i-name">osm-pin</span><span class="i-code">0xe0804</span></div>
266+
<div title="Code: 0x1f520" class="the-icons span3"><i class="osm-home"></i> <span class="i-name">osm-home</span><span class="i-code">0x1f520</span></div>
267+
<div title="Code: 0x1f518" class="the-icons span3"><i class="osm-globe"></i> <span class="i-name">osm-globe</span><span class="i-code">0x1f518</span></div>
268+
<div title="Code: 0x1f510" class="the-icons span3"><i class="osm-link-ext"></i> <span class="i-name">osm-link-ext</span><span class="i-code">0x1f510</span></div>
269+
<div title="Code: 0x1f511" class="the-icons span3"><i class="osm-pin"></i> <span class="i-name">osm-pin</span><span class="i-code">0x1f511</span></div>
268270
</div>
269271
<div class="row">
270-
<div title="Code: 0xe0805" class="the-icons span3"><i class="osm-location"></i> <span class="i-name">osm-location</span><span class="i-code">0xe0805</span></div>
271-
<div title="Code: 0xe0802" class="the-icons span3"><i class="osm-link"></i> <span class="i-name">osm-link</span><span class="i-code">0xe0802</span></div>
272-
<div title="Code: 0xe0807" class="the-icons span3"><i class="osm-cog"></i> <span class="i-name">osm-cog</span><span class="i-code">0xe0807</span></div>
273-
<div title="Code: 0xe0808" class="the-icons span3"><i class="osm-zoom-in"></i> <span class="i-name">osm-zoom-in</span><span class="i-code">0xe0808</span></div>
272+
<div title="Code: 0x1f512" class="the-icons span3"><i class="osm-location"></i> <span class="i-name">osm-location</span><span class="i-code">0x1f512</span></div>
273+
<div title="Code: 0x1f519" class="the-icons span3"><i class="osm-link"></i> <span class="i-name">osm-link</span><span class="i-code">0x1f519</span></div>
274+
<div title="Code: 0x1f514" class="the-icons span3"><i class="osm-cog"></i> <span class="i-name">osm-cog</span><span class="i-code">0x1f514</span></div>
275+
<div title="Code: 0x1f515" class="the-icons span3"><i class="osm-zoom-in"></i> <span class="i-name">osm-zoom-in</span><span class="i-code">0x1f515</span></div>
274276
</div>
275277
<div class="row">
276-
<div title="Code: 0xe0809" class="the-icons span3"><i class="osm-zoom-out"></i> <span class="i-name">osm-zoom-out</span><span class="i-code">0xe0809</span></div>
277-
<div title="Code: 0xe0811" class="the-icons span3"><i class="osm-left-big"></i> <span class="i-name">osm-left-big</span><span class="i-code">0xe0811</span></div>
278-
<div title="Code: 0xe0806" class="the-icons span3"><i class="osm-direction"></i> <span class="i-name">osm-direction</span><span class="i-code">0xe0806</span></div>
278+
<div title="Code: 0x1f516" class="the-icons span3"><i class="osm-zoom-out"></i> <span class="i-name">osm-zoom-out</span><span class="i-code">0x1f516</span></div>
279+
<div title="Code: 0x1f517" class="the-icons span3"><i class="osm-left-big"></i> <span class="i-name">osm-left-big</span><span class="i-code">0x1f517</span></div>
280+
<div title="Code: 0x1f513" class="the-icons span3"><i class="osm-direction"></i> <span class="i-name">osm-direction</span><span class="i-code">0x1f513</span></div>
279281
</div>
280282
</div>
281283
<div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div>

fontello/font/osm.eot

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)