dousenjue3214 2012-08-23 00:20
浏览 134
已采纳

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?

  • 写回答

1条回答 默认 最新

  • dongnius85154 2012-08-23 00:28
    关注

    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)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!