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
This commit is contained in:
Toshi MARUYAMA 2011-04-02 08:01:29 +00:00 committed by Eric Davis
parent ed867c4a7f
commit 6485f15bb9
1 changed files with 1 additions and 1 deletions

View File

@ -3063,7 +3063,7 @@ class TCPDF
out('/Filter /FlateDecode');
end
out('>>');
open(ctgfile) do |f|
open(ctgfile, "rb") do |f|
putstream(f.read())
end
out('endobj');