syntax error in rfpdf/makefont.rb

git-svn-id: http://redmine.rubyforge.org/svn/trunk@248 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-02-18 10:33:22 +00:00
parent 3881ade96d
commit 516cedaa47
1 changed files with 1 additions and 1 deletions

View File

@ -1699,7 +1699,7 @@ def MakeFont(fontfile, afmfile, enc = 'cp1252', patch = {}, type = 'TrueType')
s += " def FontDef.cw\n#{w}\n end\n" s += " def FontDef.cw\n#{w}\n end\n"
s += " def FontDef.enc\n '#{enc}'\n end\n" s += " def FontDef.enc\n '#{enc}'\n end\n"
s += " def FontDef.diff\n #{(diff == nil) || (diff == '') ? 'nil' : '\'' + diff '\''}\n end\n" s += " def FontDef.diff\n #{(diff == nil) || (diff == '') ? 'nil' : '\'' + diff + '\''}\n end\n"
basename = File.basename(afmfile, '.*') basename = File.basename(afmfile, '.*')