Switching back to zero to try to break Travis
parent
784a0dcb90
commit
5c4d7c368f
|
|
@ -110,7 +110,7 @@ module Squib
|
||||||
rule = embed.rules[key]
|
rule = embed.rules[key]
|
||||||
spacing = rule[:width] * Pango::SCALE
|
spacing = rule[:width] * Pango::SCALE
|
||||||
index = clean_str.index(key)
|
index = clean_str.index(key)
|
||||||
str.sub!(key, "<span size=\"1\">a<span letter_spacing=\"#{spacing.to_i}\">a</span>a</span>")
|
str.sub!(key, "<span size=\"0\">a<span letter_spacing=\"#{spacing.to_i}\">a</span>a</span>")
|
||||||
layout.markup = str
|
layout.markup = str
|
||||||
clean_str = layout.text
|
clean_str = layout.text
|
||||||
searches << { index: index, rule: rule }
|
searches << { index: index, rule: rule }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue