douhui8025 2015-10-27 12:38
浏览 27

Imagick扭曲bug:尾随线

I use Imagick to compose edible paper designs containing images and/or text. One of the features users can access when it comes to adding text, besides font, size or color, is curvature (curved text), for which I use the distortImage method, like so:

$image->distortImage(Imagick::DISTORTION_ARC, [ -$angle ], true);

The problem with this is that from time to time, a trailing, somewhat faded line appears in generated designs, at the left of the text, like in the image bellow:

enter image description here

I'm not sure why this happens, but it's not random. I.e. it only appears for certain letters, but that's also dependent on the font used. In other others, distorting text that starts with h does not create a trailing line with only some combinations of font/size. But if it does, it will always appear for that combination, so it's not an on/off thing.

Any ideas as to what's causing this and how to fix it?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
    • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
    • ¥15 gdf格式的脑电数据如何处理matlab
    • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
    • ¥100 监控抖音用户作品更新可以微信公众号提醒
    • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
    • ¥70 2048小游戏毕设项目
    • ¥20 mysql架构,按照姓名分表
    • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
    • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题