### ImageMagick version

v.3.4.3

### Operating system

Linux

### Operating system, version and so on

Ubuntu 2004

### Description

Hello, I am using php 7 and nginx in Ubuntu. I am getting such an error. **non-conforming drawing primitive definition `text' @ error/draw.c/RenderMVGContent/4300.** The file cannot be written. I used the SetFont parameter but it didn't work.

### Steps to Reproduce

```
$image = new \Imagick($certificateTemplatePath);
        // Reviewer Part
        $this->drawAwarded($image, $articleProcessReviewer->getUser()->getFullName());
        if ($isOfficeIp) {
            file_put_contents($file,"fullName => ". $articleProcessReviewer->getUser()->getFullName(). "\n", FILE_APPEND);
        }
        $maxWidth = 2500;
        $yMargin = 150;
        $yWrapMargin = 120;
        $y = 1000;
        $x = 230;
        $fontSize = 70;

        // ID Part
        $this->drawLabel($image, 'ID:', $x, $y, $fontSize);
        $articleIdDraw = new \ImagickDraw();
        $articleIdDraw->setFontSize($fontSize);
        $articleIdDraw->setFont('../app/fonts/arial.ttf');
        $image->annotateImage($articleIdDraw, $x + 520, $y, 0, $article->getId());
```

### Images

_No response_
non-conforming drawing primitive definition `text' @ error/draw.c/RenderMVGContent/4300
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : non-conforming drawing primitive definition `text' @ error/draw.c/RenderMVGContent/4300
Issue date:

--- start body ---
### ImageMagick version

v.3.4.3

### Operating system

Linux

### Operating system, version and so on

Ubuntu 2004

### Description

Hello, I am using php 7 and nginx in Ubuntu. I am getting such an error. **non-conforming drawing primitive definition `text' @ error/draw.c/RenderMVGContent/4300.** The file cannot be written. I used the SetFont parameter but it didn't work.

### Steps to Reproduce

```
$image = new \Imagick($certificateTemplatePath);
        // Reviewer Part
        $this->drawAwarded($image, $articleProcessReviewer->getUser()->getFullName());
        if ($isOfficeIp) {
            file_put_contents($file,"fullName => ". $articleProcessReviewer->getUser()->getFullName(). "\n", FILE_APPEND);
        }
        $maxWidth = 2500;
        $yMargin = 150;
        $yWrapMargin = 120;
        $y = 1000;
        $x = 230;
        $fontSize = 70;

        // ID Part
        $this->drawLabel($image, 'ID:', $x, $y, $fontSize);
        $articleIdDraw = new \ImagickDraw();
        $articleIdDraw->setFontSize($fontSize);
        $articleIdDraw->setFont('../app/fonts/arial.ttf');
        $image->annotateImage($articleIdDraw, $x + 520, $y, 0, $article->getId());
```

### Images

_No response_
--- end body ---
