--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Calculate how wide a given text string will be on a page, at a given size. This may be called externally, but is alse used by #text_width. If <tt>size</tt> is not specified, PDF::Writer will use the current #font_size."
- !ruby/struct:SM::Flow::P 
  body: The argument list is reversed from earlier versions.
full_name: PDF::Writer#text_line_width
is_singleton: false
name: text_line_width
params: (text, size = nil)
visibility: public
