I use axlsx gem to work with xlsx file. Please help me to set font in cells of sheet.
item_style = s.add_style :b => false, :sz => 9, :font_name => 'courier',
:alignment => { :horizontal => :left, :vertical => :center, :wrap_text => true}
row = sheet.add_row [item.name, item.price], :style => item_style
But font in cells still 'Arial'. I need any 'mono width' font. I know that 'courier' is not mono width font, use it just for example.
Because I have fixed column width. And I want to know when text in cell takes 2 lines. To set appropriate row height.
Thanks.