From 7941adc2aac98616b89af3615d674c4cb43bbead Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Tue, 31 Mar 2015 21:15:06 -0400 Subject: [PATCH] Font size of 1/1024 pixel to fix non invertible matrix error --- 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 3ace5af..adaa15c 100644 --- a/lib/squib/graphics/text.rb +++ b/lib/squib/graphics/text.rb @@ -110,7 +110,7 @@ module Squib rule = embed.rules[key] spacing = rule[:width] * Pango::SCALE index = clean_str.index(key) - str.sub!(key, "aaa") + str.sub!(key, "aaa") layout.markup = str clean_str = layout.text searches << { index: index, rule: rule }