projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PHP 8 doesnt support with imagettfbbox. Replaced with imageftbbox. By @kvvaradha.
[fa-stable.git]
/
reporting
/
includes
/
class.graphic.inc
diff --git
a/reporting/includes/class.graphic.inc
b/reporting/includes/class.graphic.inc
index 4d1e5bb9be2b8e4e44fe3e33f7efe7e4353e0c3a..5e1f5db1b778ca878d4e632cd0172847b78975d1 100644
(file)
--- a/
reporting/includes/class.graphic.inc
+++ b/
reporting/includes/class.graphic.inc
@@
-1217,7
+1217,7
@@
class Chart
function string_width($string, $size)
{
- $p = image
ttf
bbox($size, 0, $this->fontfile, $string);
+ $p = image
ft
bbox($size, 0, $this->fontfile, $string);
return $p[4] - $p[0];
}