webfontloader 1.0.19 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/lib/webfontloader.rb +1 -1
- data/src/core/fontwatchrunner.js +3 -3
- data/webfontloader.gemspec +2 -2
- metadata +10 -10
data/CHANGELOG
CHANGED
data/lib/webfontloader.rb
CHANGED
data/src/core/fontwatchrunner.js
CHANGED
@@ -125,9 +125,9 @@ webfont.FontWatchRunner.prototype.getDefaultFontSize_ = function(defaultFonts) {
|
|
125
125
|
webfont.FontWatchRunner.prototype.createHiddenElementWithFont_ = function(
|
126
126
|
defaultFonts, opt_withoutFontFamily) {
|
127
127
|
var variationCss = this.fvd_.expand(this.fontDescription_);
|
128
|
-
var styleString = "position:absolute;top:-999px;
|
129
|
-
"width:auto;height:auto;line-height:normal;margin:0;
|
130
|
-
"font-variant:normal;font-family:" + (opt_withoutFontFamily ? "" :
|
128
|
+
var styleString = "position:absolute;top:-999px;left:-999px;" +
|
129
|
+
"font-size:300px;width:auto;height:auto;line-height:normal;margin:0;" +
|
130
|
+
"padding:0;font-variant:normal;font-family:" + (opt_withoutFontFamily ? "" :
|
131
131
|
this.nameHelper_.quote(this.fontFamily_) + ",") +
|
132
132
|
defaultFonts + ";" + variationCss;
|
133
133
|
var span = this.domHelper_.createElement('span', { 'style': styleString },
|
data/webfontloader.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'webfontloader'
|
16
|
-
s.version = '1.0.
|
17
|
-
s.date = '2011-03-
|
16
|
+
s.version = '1.0.20'
|
17
|
+
s.date = '2011-03-30'
|
18
18
|
|
19
19
|
## Make sure your summary is short. The description may be as long
|
20
20
|
## as you like.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webfontloader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 20
|
10
|
+
version: 1.0.20
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Carver
|
@@ -16,10 +16,12 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-03-
|
19
|
+
date: 2011-03-30 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
|
+
name: rack
|
24
|
+
prerelease: false
|
23
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
26
|
none: false
|
25
27
|
requirements:
|
@@ -32,10 +34,10 @@ dependencies:
|
|
32
34
|
- 1
|
33
35
|
version: 1.2.1
|
34
36
|
type: :development
|
35
|
-
name: rack
|
36
|
-
prerelease: false
|
37
37
|
version_requirements: *id001
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
+
name: sinatra
|
40
|
+
prerelease: false
|
39
41
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
42
|
none: false
|
41
43
|
requirements:
|
@@ -47,10 +49,10 @@ dependencies:
|
|
47
49
|
- 0
|
48
50
|
version: "1.0"
|
49
51
|
type: :development
|
50
|
-
name: sinatra
|
51
|
-
prerelease: false
|
52
52
|
version_requirements: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
+
name: vegas
|
55
|
+
prerelease: false
|
54
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
55
57
|
none: false
|
56
58
|
requirements:
|
@@ -63,8 +65,6 @@ dependencies:
|
|
63
65
|
- 6
|
64
66
|
version: 0.1.6
|
65
67
|
type: :development
|
66
|
-
name: vegas
|
67
|
-
prerelease: false
|
68
68
|
version_requirements: *id003
|
69
69
|
description: |
|
70
70
|
WebFont Loader gives you added control when using linked fonts via
|