Class: Fontisan::Subset::TableStrategy::ColorBitmapPlacement

Inherits:
Struct
  • Object
show all
Defined in:
lib/fontisan/subset/table_strategy/color_bitmap_placement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeColorBitmapPlacement

Returns a new instance of ColorBitmapPlacement.



13
14
15
16
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 13

def initialize(*)
  super
  self.new_offset ||= 0
end

Instance Attribute Details

#byte_lengthObject

Returns the value of attribute byte_length

Returns:

  • (Object)

    the current value of byte_length



8
9
10
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8

def byte_length
  @byte_length
end

#image_formatObject

Returns the value of attribute image_format

Returns:

  • (Object)

    the current value of image_format



8
9
10
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8

def image_format
  @image_format
end

#new_gidObject

Returns the value of attribute new_gid

Returns:

  • (Object)

    the current value of new_gid



8
9
10
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8

def new_gid
  @new_gid
end

#new_offsetObject

Returns the value of attribute new_offset

Returns:

  • (Object)

    the current value of new_offset



8
9
10
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8

def new_offset
  @new_offset
end

#source_gidObject

Returns the value of attribute source_gid

Returns:

  • (Object)

    the current value of source_gid



8
9
10
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8

def source_gid
  @source_gid
end

#source_offsetObject

Returns the value of attribute source_offset

Returns:

  • (Object)

    the current value of source_offset



8
9
10
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8

def source_offset
  @source_offset
end

#strike_ppemObject

Returns the value of attribute strike_ppem

Returns:

  • (Object)

    the current value of strike_ppem



8
9
10
# File 'lib/fontisan/subset/table_strategy/color_bitmap_placement.rb', line 8

def strike_ppem
  @strike_ppem
end