private void OnResourcePackPreLoadCompleted(Image <Rgba32> fontBitmap, List <char> bitmapCharacters) { UIThreadQueue.Enqueue(() => { var scalar = fontBitmap.Width / 128; Font = new BitmapFont(GraphicsDevice, fontBitmap, 16, bitmapCharacters); GuiManager.ApplyFont(Font); }); }
private void OnResourcePackPreLoadCompleted(Bitmap fontBitmap, List <char> bitmapCharacters) { Font = new BitmapFont(GraphicsDevice, fontBitmap, 16, bitmapCharacters); GuiManager.ApplyFont(Font); }
private void OnResourcePackPreLoadCompleted(IFont font) { Font = font; GuiManager.ApplyFont(font); }