We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const font2 = path.join(__dirname, './assets/font/font2.ttf'); let textTitle = new FFText({ text: ‘新增的字体’, x: width / 2, y: 380, fontSize: 40 }); textTitle.setColor('#ffffff'); textTitle.setFont(font2);
textTitle.alignCenter(); textTitle.setStyle({ padding: 10 ,width:600});
代码如上,你们有没有遇到呢
The text was updated successfully, but these errors were encountered:
对比demo操作呢
Sorry, something went wrong.
这问题确实奇怪,我用ubuntu22.04开始是好的,后来就不行了,我换了24.04目前是好的
No branches or pull requests
const font2 = path.join(__dirname, './assets/font/font2.ttf');
let textTitle = new FFText({ text: ‘新增的字体’, x: width / 2, y: 380, fontSize: 40 });
textTitle.setColor('#ffffff');
textTitle.setFont(font2);
textTitle.alignCenter();
textTitle.setStyle({ padding: 10 ,width:600});
代码如上,你们有没有遇到呢
The text was updated successfully, but these errors were encountered: