Text not crisp in Chrome but is crisp in Firefox?

why is my text showing up like this only in chrome, but is crisp in firefox?

Chrome :

Firefox :

Any help as always is GREATLY appreciated!

Thank You!

Use NO_SCALE first.

@samme : NO_SCALE ???

Turn off the canvas scaling.

Phaser.Scale.NONE did not do anything.

Well your screenshots look like two different size canvases. You need to compare them both at scale 100%.

Those are also two different fonts.

@samme : They are the same font.

var loadingText = this.make.text ({
	x : ( window.innerWidth / 2 ), 
	y : ( height / 2 - 50 ), 
	text : 'Loading...', 
	style : {
		font : '20px monospace', 
		fill : '#ffffff', 
	}
}).setOrigin ( 0.5, 0.5 );

var percentText = this.make.text ({
	x : ( window.innerWidth / 2 ), 
	y : ( ( height / 2 ) - 25 ), 
	text : '0%', 
	style : {
		font : '18px monospace', 
		fill : '#ffffff', 
	}
}).setOrigin ( 0.5, 0.5 );

var assetText = this.make.text ({
	x : ( ( window.innerWidth / 2 ) ), 
	y : ( ( window.innerHeight / 2 ) + ( 50 ) ), 
	text : '', 
	style : {
		font : '24px monospace', 
		fill : '#0064DD', 
	}
}).setOrigin ( 0.5, 0.5 );

monospace is not a font, and those screenshots definitely show two different fonts.

Use Courier or something to compare.

1 Like