PHP Grafika image plug-in, Chinese font problem?

problem description

I just used the powerful plug-in Grafika . After all, I typed the Chinese font into the picture, and the picture is still displayed in the frame.

the environmental background of the problems and what methods you have tried

1. fonts add Chinese font file boldface .ttf
2. Modify Editor.php font parameters

related codes

/ / Please paste the code text below (do not replace the code with pictures)

$font = ($font! = ="")? $font: Grafika::fontsDir (). DIRECTORY_SEPARATOR. "boldface .ttf";

what result do you expect? What is the error message actually seen?

the Chinese font on the picture is displayed in a frame. Want to display text normally.

Php
Apr.19,2021

has been resolved. Modify Editor.php files in all directories. That's fine.

Menu