lib/origami/template/widgets.rb in origami-2.0.1 vs lib/origami/template/widgets.rb in origami-2.0.2

- old
+ new

@@ -26,14 +26,14 @@ def initialize(caption, id: nil, x:, y:, width:, height:) super() set_indirect(true) + self.set_name(id) self.H = Annotation::Widget::Highlight::INVERT self.Rect = [ x, y, x + width, y + height ] self.F = Annotation::Flags::PRINT - self.T = id appstm = Annotation::AppearanceStream.new.setFilter(:FlateDecode) appstm.BBox = [ 0, 0, width, height ] appstm.Matrix = [ 1, 0, 0, 1, 0, 0 ] @@ -62,12 +62,12 @@ def initialize(id, x:, y:, width:, height:) super() set_indirect(true) + self.set_name(id) self.Rect = [ x, y, x+width, y+height ] self.F = Annotation::Flags::PRINT - self.T = id self.DA = '/F1 12 Tf 0 g' appstm = Annotation::AppearanceStream.new.setFilter(:FlateDecode) appstm.BBox = [ 0, 0, width, height ] appstm.Matrix = [ 1, 0, 0, 1, 0, 0 ]