Skip to content

_isMonospaced not declared #3

Open
@NielsKeegel

Description

@NielsKeegel

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions