diff --git a/src/Text.php b/src/Text.php index cd40e06..2b0de6c 100644 --- a/src/Text.php +++ b/src/Text.php @@ -108,7 +108,7 @@ public function getTextLine( * @param array $ordarr Array of UTF-8 codepoints (integer values). * @param array $dim Array of dimensions (width, height, ascent, descent, leading, totwidth, totspacewidth) */ - public function prepareText(&$txt, array &$ordarr, array &$dim) + protected function prepareText(&$txt, array &$ordarr, array &$dim) { if (empty($txt)) { return;