Skip to content

Instantly share code, notes, and snippets.

@practicingruby
Created August 4, 2008 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save practicingruby/3914 to your computer and use it in GitHub Desktop.
Save practicingruby/3914 to your computer and use it in GitHub Desktop.
Prawn specs: Running on Ruby Version: 1.9.0
..............................................................................................FFF.............................................F..
1)
ArgumentError in 'adobe font metrics should calculate string width taking into account accented characters'
malformed UTF-8 character (expected 3 bytes, given 1 bytes)
/Users/sandal/devel/prawn/spec/metrics_spec.rb:13:in `block (2 levels) in <top (required)>'
2)
ArgumentError in 'adobe font metrics should calculate string width taking into account kerning pairs'
malformed UTF-8 character (expected 4 bytes, given 1 bytes)
/Users/sandal/devel/prawn/spec/metrics_spec.rb:19:in `block (2 levels) in <top (required)>'
3)
ArgumentError in 'adobe font metrics should kern a string'
malformed UTF-8 character
/Users/sandal/devel/prawn/spec/metrics_spec.rb:24:in `block (2 levels) in <top (required)>'
4)
'when drawing text should correctly render a utf-8 string when using a built-in font' FAILED
expected "©", got "¬©" (using .eql?)
/Users/sandal/devel/prawn/spec/text_spec.rb:172:in `block (2 levels) in <top (required)>'
Finished in 1.462669 seconds
145 examples, 4 failures
Author: James Healy <jimmy@deefa.com>
Date: Tue Aug 5 02:09:57 2008 +1000
Fix failing specs on 1.9
commit f9f54f595a410cbfb49173cf7718abc2eef15fc2
Author: James Healy <jimmy@deefa.com>
Date: Tue Aug 5 01:42:17 2008 +1000
comment cleanup. Explain encoding requirements for text in more detail
commit 7f99936f0d0d634bcc21500a7501ad7011cc423b
Author: James Healy <jimmy@deefa.com>
Date: Tue Aug 5 01:12:16 2008 +1000
US spellink, not UK
commit cb148d0f5e88af485610da19ac0bc5b02720c166
Author: James Healy <jimmy@deefa.com>
Date: Tue Aug 5 00:54:04 2008 +1000
Fix encoding issues with built-in fonts
- ensure text that is added to the canvas with a built-in font
is encoded as iso-8859-1, not utf-8.
- A better long term solution would be to use a differences table
to allow other, non-latin glyphs to be rendered.
commit 265ea9d894ca5d893f76d034cef4dd763d3cc762
Author: James Healy <jimmy@deefa.com>
Date: Tue Aug 5 00:52:26 2008 +1000
Prawn::Font::Metrics::Adobe works in iso-8859-1, not utf-8
commit 7430601df88d4c31190ed27053e969722ee751c0
Author: James Healy <jimmy@deefa.com>
Date: Tue Aug 5 00:37:11 2008 +1000
Added a failing spec that highlights ticket #47 on lighthouse
commit 47fe31488c5817ae3636929b7aac8e5b4a07b287
Author: Gregory Brown <gregory.t.brown@gmail.com>
Date: Mon Aug 4 13:32:22 2008 -0400
Allowing images to be added without explicit :at [#48]
commit ed6055a3f609f0522a0adb1f0aa09ad8bcfa4d10
Author: Gregory Brown <gregory.t.brown@gmail.com>
Date: Mon Aug 4 10:46:13 2008 -0400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment