Recommended Posts

Hello,

 

I'm having trouble with a webfont, it appears to be cropped on the bottom mostly the "p"s. Also the Phaser example seems to have that problem: http://examples.phaser.io/_site/view_full.html?d=text&f=google+webfonts.js&t=google%20webfonts

 

 

Is there a work around that?

 

here's my code

game.add.text(0, 0, "test text with power", {        font: '38px FontdinerSwanky',        fill: '#f1f1f1',        fontWeight: 'bold',        align: 'center',        stroke: '#1e1e1e',        strokeThickness: 3    });

Thanks for your help!

 

Here is a screenshot

 

Untitled-3_zps9a31d3bb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.