Koroldev Posted March 17, 2017 Share Posted March 17, 2017 Hi all, I tried to use several BitmapFontTexture, but I see all text have first font and second font haves some deformations var f1 = new BABYLON.BitmapFontTexture(scene, "fonts/bulletsNumbers32.fnt", "fonts/bulletsNumbers32_0.png", undefined, false, undefined, function() { new BABYLON.Text2D("123", { parent: canvas, id: "text1", bitmapFontTexture: f1, x:100, y: 100}); }); var f2 = new BABYLON.BitmapFontTexture(scene, "fonts/message.fnt", "fonts/message_0.png", undefined, false, undefined, function() { new BABYLON.Text2D("123", { parent: canvas, id: "text2", bitmapFontTexture: f2, x:100, y: 200}); }); If i load just one font separately then first font or second font looks ok. First font Second font Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 17, 2017 Share Posted March 17, 2017 Hello do you mind sharing a PG with the issue? Quote Link to comment Share on other sites More sharing options...
Nockawa Posted March 23, 2017 Share Posted March 23, 2017 I'll repro it locally and fix it when I can, hopefully in the next couple of days. Quote Link to comment Share on other sites More sharing options...
Nockawa Posted March 24, 2017 Share Posted March 24, 2017 @negrant the bug is fixed, more info here and the new preview files are as usual available there Koroldev 1 Quote Link to comment Share on other sites More sharing options...
Koroldev Posted April 2, 2017 Author Share Posted April 2, 2017 On 24.03.2017 at 0:02 PM, Nockawa said: @negrant the bug is fixed, more info here and the new preview files are as usual available there Thank! Good news, I thinked that I did something wrong and just unidted all font textures in one texture. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.