Commit 6485f15b authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

PDF: fix the problem that TCPDF built-in font breaks in the Windows (#61).

This problem occurs because the EOF character string is included in the built-in font.

Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5290 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent ed867c4a
...@@ -3063,7 +3063,7 @@ class TCPDF ...@@ -3063,7 +3063,7 @@ class TCPDF
out('/Filter /FlateDecode'); out('/Filter /FlateDecode');
end end
out('>>'); out('>>');
open(ctgfile) do |f| open(ctgfile, "rb") do |f|
putstream(f.read()) putstream(f.read())
end end
out('endobj'); out('endobj');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment