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 config = { text: item.text, x, y, }; const text = new FFText(config); text.setFont(fontsDir + '/msyh.ttf'); text.setDuration(item.duration); text.addEffect('fadeIn', 1, item.offset); text.addEffect('fadeOut', 1, item.offset + item.duration - 1); text.alignCenter(); scene.addChild(text);
The text was updated successfully, but these errors were encountered:
我猜是不是你没有配置整个creator的width,height?如果不是1080x1960等等这样比较高的分辨率的话,字体的确会很模糊
Sorry, something went wrong.
No branches or pull requests
如题,字体边缘不清晰,字体大小增加后也依然模糊。
const config = {
text: item.text,
x,
y,
};
const text = new FFText(config);
text.setFont(fontsDir + '/msyh.ttf');
text.setDuration(item.duration);
text.addEffect('fadeIn', 1, item.offset);
text.addEffect('fadeOut', 1, item.offset + item.duration - 1);
text.alignCenter();
scene.addChild(text);
The text was updated successfully, but these errors were encountered: