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:
parent
3881ade96d
commit
516cedaa47
|
@ -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, '.*')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue