当前位置:网站首页>[可能没有默认的字体]Warning: imagettfbbox() [function.imagettfbbox]: Invalid font filename……
[可能没有默认的字体]Warning: imagettfbbox() [function.imagettfbbox]: Invalid font filename……
2022-07-05 10:13:00 【全栈程序员站长】
Warning: imagettfbbox() [function.imagettfbbox]: Invalid font filename…
[可能没有默认的字体]
例:
//putenv('GDFONTPATH=C:\WINDOWS\Fonts');
$font = "Arial";
$size = 12;
$im = ImageCreateFromPNG("top_logo.png");
$tsize= imagettfbbox($size, 0, $font, $_GET['message']);改成:
//putenv('GDFONTPATH=C:\WINDOWS\Fonts');
$font = "c:/windows/fonts/arial.ttf";
$size = 12;
$im = ImageCreateFromPNG("top_logo.png");
$tsize= imagettfbbox($size, 0, $font, $_GET['message']);发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/109998.html原文链接:https://javaforall.cn
边栏推荐
- Personal website construction tutorial | local website environment construction | website production tutorial
- Idea create a new sprintboot project
- Energy momentum: how to achieve carbon neutralization in the power industry?
- AtCoder Beginner Contest 258「ABCDEFG」
- SAP ui5 objectpagelayout control usage sharing
- Detailed explanation of the use of staticlayout
- Pseudo class elements -- before and after
- Blockbuster: the domestic IDE is released, developed by Alibaba, and is completely open source!
- Glide advanced level
- Redis如何实现多可用区?
猜你喜欢

非技术部门,如何参与 DevOps?

驱动制造业产业升级新思路的领域知识网络,什么来头?

WorkManager学习一
![C语言实现QQ聊天室小项目 [完整源码]](/img/4e/b3703ac864830d55c824e1b56c8f85.png)
C语言实现QQ聊天室小项目 [完整源码]

"Everyday Mathematics" serial 58: February 27

【黑马早报】罗永浩回应调侃东方甄选;董卿丈夫密春雷被执行超7亿;吉利正式收购魅族;华为发布问界M7;豆瓣为周杰伦专辑提前开分道歉...

手机厂商“互卷”之年:“机海战术”失灵,“慢节奏”打法崛起

字节跳动面试官:一张图片占据的内存大小是如何计算

isEmpty 和 isBlank 的用法区别

Design and Simulation of fuzzy PID control system for liquid level of double tank (matlab/simulink)
随机推荐
报错:Module not found: Error: Can‘t resolve ‘XXX‘ in ‘XXXX‘
《天天数学》连载58:二月二十七日
How do programmers live as they like?
学习笔记4--高精度地图关键技术(下)
Click the picture in the mobile browser and the picture will not pop up
Workmanager Learning one
Error: module not found: error: can't resolve 'xxx' in 'XXXX‘
A large number of virtual anchors in station B were collectively forced to refund: revenue evaporated, but they still owe station B; Jobs was posthumously awarded the U.S. presidential medal of freedo
Apple 5g chip research and development failure? It's too early to get rid of Qualcomm
如何判断线程池已经执行完所有任务了?
“军备竞赛”时期的对比学习
[JS] array dimensionality reduction
5G NR系统架构
手机厂商“互卷”之年:“机海战术”失灵,“慢节奏”打法崛起
In wechat applet, after jumping from one page to another, I found that the page scrolled synchronously after returning
C function returns multiple value methods
最全是一次I2C总结
5g NR system architecture
Ad20 make logo
Learning Note 6 - satellite positioning technology (Part 1)