lib/prawn/text/box.rb in prawn-2.2.2 vs lib/prawn/text/box.rb in prawn-2.3.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + # text/rectangle.rb : Implements text boxes # # Copyright November 2009, Daniel Nelson. All Rights Reserved. # # This is free software. Please see the LICENSE and COPYING files for details. @@ -57,10 +59,10 @@ # <tt>:direction</tt>:: # <tt>:ltr</tt>, <tt>:rtl</tt>, Direction of the text (left-to-right # or right-to-left) [value of document.text_direction] # <tt>:fallback_fonts</tt>:: # An array of font names. Each name must be the name of an AFM font or - # the name that was used to register a family of TTF fonts (see + # the name that was used to register a family of external fonts (see # Prawn::Document#font_families). If present, then each glyph will be # rendered using the first font that includes the glyph, starting with # the current font and then moving through :fallback_fonts from # left to right. # <tt>:align</tt>::