Method: PDF_Chinese#GetStringWidth

Defined in:
lib/chinese.rb

#GetStringWidth(s) ⇒ Object



96
97
98
99
100
101
102
# File 'lib/chinese.rb', line 96

def GetStringWidth(s)
    if @CurrentFont['type']=='Type0'
        GetMBStringWidth(s)
    else
        super(s)
    end
end