|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-09-04 17:36 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Assigned To:
+Assigned To: cmb
[2016-09-04 17:36 UTC] cmb@php.net
[2017-10-24 05:26 UTC] kalle@php.net
-Status: Verified
+Status: Assigned
[2017-10-24 16:24 UTC] cmb@php.net
-Status: Assigned
+Status: Suspended
-Assigned To: cmb
+Assigned To:
[2017-10-24 16:24 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 21:00:02 2025 UTC |
Description: ------------ GD does not support UNC paths to fonts in the standard format of \\SERVER\Share\File\Path.ext. Instead, //SERVER\Share\File\Path.ext must be used. Test script: --------------- <?php $gdimg = imagecreatetruecolor(200, 200); $color = imagecolorallocate($gdimg, 0, 0, 0); imagettftext($gdimg, 5, 5, '\\\\WEBFARM1\WEBDATA\fonts\arial.ttf', 'Test!'); header('Content-Type: image/jpeg'); imagejpeg($gdimg); Expected result: ---------------- There will be no errors. Actual result: -------------- Warning: imagettftext(): Could not find/open font in \\WEBFARM1\WEBDATA\webroot\test.local\font.php on line 6