Sha256: 7af2e221a8b5e48f03524e5422ac02736ba2b3ccfc0e9a834f460dad2c457fec

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

class Prawn::Table::Cell::Text
  # Override draw_content method to drop cursor advancement
  def draw_content
    with_font do
      with_text_color do
        (text_box :width => spanned_content_width + FPTolerance,
            :height => spanned_content_height + FPTolerance,
            :at => [0, @pdf.cursor]).render
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-pdf-1.5.0.alpha.14 lib/asciidoctor-pdf/prawn-table_ext/cell/text.rb