Module: Prawn::Rtl::Support::PrawnTextPatch

Included in:
Text::Formatted::Box
Defined in:
lib/prawn/rtl/support.rb

Instance Method Summary collapse

Instance Method Details

#original_textObject



11
12
13
14
15
16
17
18
# File 'lib/prawn/rtl/support.rb', line 11

def original_text
  super.map do |h|
    if h.key?(:text)
      h[:text] = Prawn::Rtl::Connector.fix_rtl(h[:text])
    end
    h
  end
end