Permalink
Browse files

Store font for testing Shift-JIS in the repository

  • Loading branch information...
1 parent d1dcd96 commit e299170825130f71f393271f1a4f1cfff7e9d481 @yob yob committed Jul 2, 2008
Showing with 1 addition and 1 deletion.
  1. BIN data/fonts/gkai00mp.ttf
  2. +1 −1 examples/sjis.rb
View
Binary file not shown.
View
@@ -13,6 +13,6 @@
sjis_str = File.open(datafile, "r:shift_jis") { |f| f.gets }
Prawn::Document.generate("sjis.pdf") do
- font "/usr/share/fonts/truetype/arphic/gkai00mp.ttf"
+ font "#{Prawn::BASEDIR}/data/fonts/gkai00mp.ttf"
text sjis_str
end

0 comments on commit e299170

Please sign in to comment.