![]() |
Admin 3/8/2020 |
If looks like you are using an older version of PHPRunner. You can switch to PHPRunner 10.3 where we no longer use DOMPDF. |
![]() |
mbintex 3/9/2020 |
Have several Webservers with PHP 7.2, 7.3 and 7.4 and no problem with Phprunner 9.8 and DOMPDF. |
K
|
kdgsv author 3/15/2020 |
Thx mbintex, array_walk($words, create_function('&$val,$str', '$val = Font_Metrics::get_text_width($str, "'.addslashes($font).'", '.$size.', '.$word_spacing.', '.$char_spacing.');'));
array_walk($words, function(&$val,$str) use($font, $size, $word_spacing, $char_spacing){ $val = Font_Metrics::get_text_width($val, $font, $size, $word_spacing, $char_spacing); });
|