Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎样避免图片中文字被截断 #122

Open
ericosmic opened this issue Feb 5, 2024 · 1 comment
Open

怎样避免图片中文字被截断 #122

ericosmic opened this issue Feb 5, 2024 · 1 comment

Comments

@ericosmic
Copy link

生成的合成图片数据中一部分图片中的文字会有一部分被截断,比如下面这样
0204eng_00000311
其中一部分文字信息丢失。 怎样避免生成这类数据呢

@zzk2021
Copy link

zzk2021 commented Dec 12, 2024

这个似乎是字体的问题,我猜[text_renderer]读取的是字体设置的长宽来计算文字区域,我自己写的程序也是这样做的。我还以为[text_renderer]解决了这个问题呢。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants