Skip to content

Commit

Permalink
Store font for testing Shift-JIS in the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
yob committed Jul 2, 2008
1 parent d1dcd96 commit e299170
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added data/fonts/gkai00mp.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/sjis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.