lib/fast_excel/binding/format.rb in fast_excel-0.2.3 vs lib/fast_excel/binding/format.rb in fast_excel-0.2.5
- old
+ new
@@ -698,11 +698,11 @@
:font_scheme, [:char, 128],
:num_format_index, :uint16,
:font_index, :uint16,
:has_font, :uchar,
:has_dxf_font, :uchar,
- :font_size, :uint16,
+ :font_size, :double,
:bold, :uchar,
:italic, :uchar,
:font_color, :int,
:underline, :uchar,
:font_strikeout, :uchar,
@@ -784,11 +784,11 @@
# (Integer)
# :font_color ::
# (Integer)
class Font < FFI::Struct
layout :font_name, [:char, 128],
- :font_size, :ushort,
+ :font_size, :double,
:bold, :uchar,
:italic, :uchar,
:underline, :uchar,
:font_strikeout, :uchar,
:font_outline, :uchar,
@@ -902,10 +902,10 @@
# @method format_set_font_size(format, size)
# @param [Format] format
# @param [Integer] size
# @return [nil]
# @scope class
- attach_function :format_set_font_size, :format_set_font_size, [Format, :ushort], :void
+ attach_function :format_set_font_size, :format_set_font_size, [Format, :double], :void
# @method format_set_font_color(format, color)
# @param [Format] format
# @param [Integer] color
# @return [nil]
\ No newline at end of file