lib/ttfunk/table/glyf/simple.rb in ttfunk-1.4.0 vs lib/ttfunk/table/glyf/simple.rb in ttfunk-1.5.0
- old
+ new
@@ -9,12 +9,14 @@
attr_reader :x_min, :y_min, :x_max, :y_max
def initialize(raw, number_of_contours, x_min, y_min, x_max, y_max)
@raw = raw
@number_of_contours = number_of_contours
- @x_min, @y_min = x_min, y_min
- @x_max, @y_max = x_max, y_max
+ @x_min = x_min
+ @y_min = y_min
+ @x_max = x_max
+ @y_max = y_max
# Because TTFunk is, at this time, a library for simply pulling
# metrics out of font files, or for writing font subsets, we don't
# really care what the contours are for simple glyphs. We just
# care that we've got an entire glyph's definition. Also, a
@@ -25,13 +27,12 @@
def compound?
false
end
- def recode(mapping)
+ def recode(_mapping)
raw
end
end
end
end
end
-