当前位置:网站首页>[there may be no default font]warning: imagettfbbox() [function.imagettfbbox]: invalid font filename
[there may be no default font]warning: imagettfbbox() [function.imagettfbbox]: invalid font filename
2022-07-05 11:09:00 【Full stack programmer webmaster】
Warning: imagettfbbox() [function.imagettfbbox]: Invalid font filename…
[ There may not be a default font ]
example :
//putenv('GDFONTPATH=C:\WINDOWS\Fonts');
$font = "Arial";
$size = 12;
$im = ImageCreateFromPNG("top_logo.png");
$tsize= imagettfbbox($size, 0, $font, $_GET['message']);Change to :
//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']);Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/109998.html Link to the original text :https://javaforall.cn
边栏推荐
- 2022 chemical automation control instrument examination questions and online simulation examination
- Node の MongoDB Driver
- matlab cov函数详解
- 2022 mobile crane driver examination question bank and simulation examination
- 力扣(LeetCode)185. 部门工资前三高的所有员工(2022.07.04)
- 脚手架开发基础
- Basic part - basic project analysis
- 流程控制、
- Crawler (9) - scrape framework (1) | scrape asynchronous web crawler framework
- Bracket matching problem (STL)
猜你喜欢

Honing · fusion | know that the official website of Chuangyu mobile terminal is newly launched, and start the journey of digital security!

DDRx寻址原理

matlab cov函数详解

一次edu证书站的挖掘

基于昇腾AI丨爱笔智能推出银行网点数字化解决方案,实现从总部到网点的信息数字化全覆盖

Detailed explanation of DDR4 hardware schematic design

Implement the rising edge in C #, and simulate the PLC environment to verify the difference between if statement using the rising edge and not using the rising edge

Go语言-1-开发环境配置

Review the whole process of the 5th Polkadot Hackathon entrepreneurship competition, and uncover the secrets of the winning projects!

Go-3-第一个Go程序
随机推荐
9、 Disk management
In the last process before the use of the risk control model, 80% of children's shoes are trampled here
Go语言-1-开发环境配置
Stop saying that microservices can solve all problems!
iframe
uniapp
vite//
如何将 DevSecOps 引入企业?
跨页面通讯
图片懒加载的方案
Process control
Wechat nucleic acid detection appointment applet system graduation design completion (8) graduation design thesis template
Talk about the understanding of fault tolerance mechanism and state consistency in Flink framework
Web Security
About the use of Vray 5.2 (self research notes)
2022 Pengcheng cup Web
32: Chapter 3: development of pass service: 15: Browser storage media, introduction; (cookie,Session Storage,Local Storage)
基础篇——基础项目解析
NAS and San
Go-3-the first go program