Method: Docx::Elements::Containers::TextRun#font_size
- Defined in:
- lib/docx/containers/text_run.rb
#font_size ⇒ Object
92 93 94 95 |
# File 'lib/docx/containers/text_run.rb', line 92 def font_size size_tag = @node.xpath('w:rPr//w:sz').first size_tag ? size_tag.attributes['val'].value.to_i / 2 : @font_size end |