@@ -2648,7 +2648,7 @@ def AddFont(family, style='', fontfile='', subset=nil)
2648
2648
family = 'helvetica';
2649
2649
end
2650
2650
if (family == "symbol") or (family == "zapfdingbats")
2651
- style = + ''
2651
+ style = ''
2652
2652
end
2653
2653
2654
2654
tempstyle = style.upcase
@@ -12046,7 +12046,7 @@ def putshaders()
12046
12046
out = +'<<'
12047
12047
out << ' /FunctionType 3'
12048
12048
out << ' /Domain [0 1]'
12049
- functions = ''
12049
+ functions = + ''
12050
12050
i = 1
12051
12051
num_cols = grad['colors'].size
12052
12052
1.upto(num_cols - 1) do |i|
@@ -12522,7 +12522,6 @@ def isValidCSSSelectorForTag(dom, key, selector)
12522
12522
if dom[key]['attribute'] and dom[key]['attribute']['class'] and !dom[key]['attribute']['class'].empty?
12523
12523
selector_class = dom[key]['attribute']['class'].downcase
12524
12524
end
12525
- id = ''
12526
12525
if dom[key]['attribute'] and dom[key]['attribute']['id'] and !dom[key]['attribute']['id'].empty?
12527
12526
selector_id = dom[key]['attribute']['id'].downcase
12528
12527
end
@@ -12709,7 +12708,7 @@ def getHtmlDomArray(html)
12709
12708
uri.split('/').each {|path|
12710
12709
uri_path = uri_path.join(path)
12711
12710
}
12712
- cssdata = ''
12711
+ cssdata = + ''
12713
12712
next unless File.exist?(uri_path)
12714
12713
12715
12714
open(uri_path) do |f|
@@ -13080,7 +13079,7 @@ def getHtmlDomArray(html)
13080
13079
end
13081
13080
end
13082
13081
# font style
13083
- dom[key]['fontstyle'] ||= ""
13082
+ dom[key]['fontstyle'] ||= + ""
13084
13083
if !dom[key]['style']['font-weight'].nil? and (dom[key]['style']['font-weight'][0,1].downcase == 'b')
13085
13084
dom[key]['fontstyle'] << 'B'
13086
13085
end
0 commit comments