From 30df4cd11515cb2ead6e1138b355bf1034f16739 Mon Sep 17 00:00:00 2001 From: pickfifteen Date: Mon, 30 Mar 2015 16:06:32 -0400 Subject: [PATCH] Embed size fix Missed the trailing word character in last commit --- lib/squib/graphics/text.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/squib/graphics/text.rb b/lib/squib/graphics/text.rb index faca2b5..cd7b968 100644 --- a/lib/squib/graphics/text.rb +++ b/lib/squib/graphics/text.rb @@ -109,7 +109,7 @@ module Squib rule = embed.rules[key] spacing = rule[:width] * Pango::SCALE index = clean_str.index(key) - str.sub!(key, "aa") + str.sub!(key, "aaa") layout.markup = str clean_str = layout.text rect = layout.index_to_pos(index)