Skip to content

Commit

Permalink
Apply watermark text size from watermark object/parameter (Closes #1951)
Browse files Browse the repository at this point in the history
  • Loading branch information
finwe committed Nov 8, 2023
1 parent 73f0511 commit d748f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -13231,7 +13231,7 @@ function Footer()

/* -- WATERMARK -- */
if (($this->watermarkText) && ($this->showWatermarkText)) {
$this->watermark($this->watermarkText, $this->watermarkAngle, 120, $this->watermarkTextAlpha); // Watermark text
$this->watermark($this->watermarkText, $this->watermarkAngle, is_int($this->watermark_size) ? $this->watermark_size : 120, $this->watermarkTextAlpha); // Watermark text
}
if (($this->watermarkImage) && ($this->showWatermarkImage)) {
$this->watermarkImg($this->watermarkImage, $this->watermarkImageAlpha); // Watermark image
Expand Down

0 comments on commit d748f1e

Please sign in to comment.