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

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