--- a/vendor/plugins/rfpdf/lib/rfpdf/japanese.rb 2011-03-08 04:44:39.000000000 +0900 +++ b/vendor/plugins/rfpdf/lib/rfpdf/japanese.rb 2011-03-31 05:24:03.000000000 +0900 @@ -103,7 +103,7 @@ o=s[i] if(o<128) #ASCII - l+=cw[o.chr] + l+=cw[o.chr] if cw[o.chr] i+=1 elsif(o>=161 and o<=223) #Half-width katakana @@ -179,7 +179,7 @@ end if(o<128) #ASCII - l+=cw[c.chr] + l+=cw[c.chr] || 0 n=1 if(o==32) sep=i @@ -270,7 +270,7 @@ end if(o<128) #ASCII - l+=cw[c.chr] + l+=cw[c.chr] || 0 n=1 if(o==32) sep=i