Using a platform-specific fix for zero-width letters on embedding icons

Contributes to #30 and our zero-width letter woes.
This commit is contained in:
Andy Meneely
2015-04-04 09:15:21 -04:00
parent 84fa97a4d1
commit 19cad2cdb8
17 changed files with 18 additions and 136 deletions
-2
View File
@@ -40,9 +40,7 @@ describe Squib::Card, '#text' do
expect(layout ).to receive(:height).once.and_return(25)
expect(layout ).to receive(:extents).thrice.and_return([nil,extent])
expect(context).to receive(:update_pango_layout).once
expect(context).to receive(:matrix).and_return(Cairo::Matrix.new(1, 0, 0, 1, 0, 0)).once
expect(context).to receive(:show_pango_layout).once
expect(context).to receive(:matrix=).once
expect(context).to receive(:restore).once
card = Squib::Card.new(deck, 100, 150)