FFCreator icon indicating copy to clipboard operation
FFCreator copied to clipboard

It's Cutting the text - FFText

Open armandolio opened this issue 3 years ago • 3 comments

Hello guys! I'm trying to create a text with a specific Script font, the text looks cut.

image

Here my code

const text = new FFText({ text: title, fontSize: parseInt(titleFontSize * 2), x: width / 2, y: 60 }); 
text.alignCenter();
text.setColor(textColor);
text.setFont(fontPath);

Someone knows why?

Thanks in advance! Armando

armandolio avatar Feb 09 '22 08:02 armandolio

you can set padding

drawcall avatar Feb 11 '22 12:02 drawcall

@drawcall how do we set padding?

risharde avatar Oct 02 '23 21:10 risharde

I also have an issue where the text cannot contain special characters like ':' - any way around this @drawcall ?

risharde avatar Oct 02 '23 21:10 risharde