lib/hexapdf/layout/column_box.rb in hexapdf-0.33.0 vs lib/hexapdf/layout/column_box.rb in hexapdf-0.34.0

- old
+ new

@@ -175,10 +175,11 @@ [column_left + column_width, column_bottom], [column_left + column_width, column_bottom + height], [column_left, column_bottom + height]) shape = Geom2D::Algorithms::PolygonOperation.run(frame.shape, rect, :intersection) end - column_frame = Frame.new(column_left, column_bottom, column_width, height, shape: shape) + column_frame = Frame.new(column_left, column_bottom, column_width, height, + shape: shape, context: frame.context) @box_fitter << column_frame end children.each {|box| @box_fitter.fit(box) }