Open
Description
You are using _isMonospace and _isMonospaced but only _isMonospace is declared causing the following error to show:
Creation of dynamic property Zend_Pdf_Resource_Font_Simple_Standard_TimesRoman::$_isMonospaced is deprecated
currently fixed it with the following patch:
--- a/vendor/magento/zend-pdf/library/Zend/Pdf/Resource/Font.php
+++ b/vendor/magento/zend-pdf/library/Zend/Pdf/Resource/Font.php
@@ -81,6 +81,12 @@
* @var boolean
*/
protected $_isMonospace = false;
+
+ /**
+ * Flag indicating whether or not this font is monospaced.
+ * @var boolean
+ */
+ protected $_isMonospaced = false;
/**
* The position below the text baseline of the underline (in glyph units).
@@ -527,3 +533,4 @@
return ceil(($value / $this->_unitsPerEm) * 1000); // always round up
}
}
+
Metadata
Metadata
Assignees
Labels
No labels