to_s (PDF::Writer::Object::Font)

        # File lib/pdf/writer/object/font.rb, line 58
    58:   def to_s
    59:     res = "\n#{@oid} 0 obj\n<< /Type /Font\n/Subtype /#{@subtype}\n"
    60:     res << "/Name /F#{@font_id}\n/BaseFont /#{@name}\n"
    61:     if @encoding.kind_of?(PDF::Writer::Object::FontEncoding)
    62:       res << "/Encoding #{@encoding.oid} 0 R\n"
    63:     elsif @encoding
    64:       res << "/Encoding /#{@encoding}\n" if @encoding
    65:     end
    66:     res << "/FirstChar #{@firstchar}\n" unless @firstchar.nil?
    67:     res << "/LastChar #{@lastchar}\n" unless @lastchar.nil?
    68:     res << "/Widths #{@widths} 0 R\n" unless @widths.nil?
    69:     res << "/FontDescriptor #{@fontdescriptor} 0 R\n" unless @fontdescriptor.nil?
    70:     res << ">>\nendobj"
    71:   end