我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP gd imagettftext()高度

Is there a way to get PHP imagettftext() font height?

I know that we can get width by imagettfbbox(). Can we get the height too?

Yes, you evidently can simply be looking at the documentation. Scroll down and use your browsers find function to search for the following:

jodybrabec at gmail dot com

Below his name he provides a nice cusotm function for you to use. (got a link actually right here, no need to use the find function: http://php.net/manual/en/function.imagettfbbox.php#105593)

近期文章

  • 无法使用ajax解析json
  • yii视图无法加载activeInputField验证程序
  • 在循环中正确使用pdo bindParam
  • 未被破坏/未设置的会话会发生什么?
  • 网站使用的语言[已关闭]
  • 如何在数据库操作之前验证域对象数据?
  • 循环插入查询
  • Web应用程序找不到正确路径的文件
  • 我如何正确使用php sha1十六进制?
  • php执行部分sql查询
  • 将值数组从表单传递给sql查询WHERE IN子句
  • 表`inventory1` .asset_details`的外键约束失败:ERROR
  • 如何使用php的push_array为二维数组添加时间戳和值
  • 来自jquery的iphone的奇怪结果得到了
  • 插件中的Wordpress常量在包含的文件中不可用
  • too long
  • 用于创建远程文件的CodeIgniter FTP类
  • 为什么要用getBaseContext()方法代替this
  • 来自PHP后台进程的实时数据
  • PHP connection_status无法正常工作

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华