PDF::Writer:PDF::SimpleTable#heading_font_size, #heading_font_size=
require 'pdf/simpletable' pdf = PDF::Writer.new PDF::SimpleTable.new do |tab| tab.column_order = %w(col1 col2 col3) p tab.font_size p tab.heading_font_size tab.show_lines = :all tab.heading_font_size = 20 data = [ { "col1" => "foo", "col2" => "bar", "col3" => "baz" }, ] tab.data.replace data tab.render_on(pdf) end pdf.save_as("2008032800.pdf")
で、
10 12