David PHAM-VAN

Fix missing smask subtype

@@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
3 ## 3.7.3 3 ## 3.7.3
4 4
5 - Fix missing endobj with compressed xref 5 - Fix missing endobj with compressed xref
  6 +- Fix missing smask subtype
6 7
7 ## 3.7.2 8 ## 3.7.2
8 9
@@ -29,7 +29,7 @@ class PdfSoftMask { @@ -29,7 +29,7 @@ class PdfSoftMask {
29 bool isolated = false, 29 bool isolated = false,
30 bool knockout = false, 30 bool knockout = false,
31 bool invert = false}) { 31 bool invert = false}) {
32 - _mask = PdfGraphicXObject(document); 32 + _mask = PdfGraphicXObject(document, '/Form');
33 _mask.params['/BBox'] = PdfArray.fromNum([ 33 _mask.params['/BBox'] = PdfArray.fromNum([
34 boundingBox.x, 34 boundingBox.x,
35 boundingBox.y, 35 boundingBox.y,