Some google font letters are cut off

Can someone please tell me how i can get the google font letters to not be cut off? Look at the curve of the ‘j’ for example.

I can’t be sure without knowing which font this is, but you can try messing with the padding using setPadding or the padding property in the text config.

1 Like

After i referenced
https://rexrainbow.github.io/phaser3-rex-notes/docs/site/text/
By using textObject.setFixedSize(width,height);
it resolved the issue.

But then i received your reply and the
textObject.setPadding(10,10,10,10);
worked just as well. i’m going to roll with your method which is clearly more flexible than my work around.

Thanks and God bless!

1 Like