From 2dcd113e16622c29687a35d08b9d327407dbfe32 Mon Sep 17 00:00:00 2001 From: Thomas Leitner Date: Sat, 20 Jan 2024 22:13:19 +0100 Subject: [PATCH] Adjust API documentation example --- lib/hexapdf/content/canvas_composer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hexapdf/content/canvas_composer.rb b/lib/hexapdf/content/canvas_composer.rb index 19ee9a3f..a33a47ed 100644 --- a/lib/hexapdf/content/canvas_composer.rb +++ b/lib/hexapdf/content/canvas_composer.rb @@ -118,7 +118,7 @@ def draw_box(box) # composer.list(item_spacing: 2) do |list| # composer.document.config['layout.boxes.map'].each do |name, klass| # list.formatted_text([{text: name.to_s, fill_color: "hp-blue-dark"}, - # {text: "\n#{klass}"}, font_size: 7]) + # {text: "\n#{klass}"}], font_size: 6) # end # end # end