Questions tagged [bitmap-fonts]

Non-scalable font made out of bitmap images rather than vector data like in Truetype fonts. Used mainly in games. Typically render faster than truetype fonts.

93 questions
3
votes
1 answer

Using multiple fonts in one Json skin

I am using one skin for my menu, and I am wondering if it is possible to add several fonts to this skin and then pick which font to use programatically. Currently I set a font and add it to the LabelStyle like…
Green_qaue
  • 3,561
  • 11
  • 47
  • 89
3
votes
2 answers

How to add bitmap fonts to SpriteBuilder

I can't add any .fnt/.png type of fonts to SpriteBuilder, so I can't select them for a CCLabelBMFont. What is the procedure? The docs seem to have nothing on the matter. I am using this…
Jonny
  • 15,955
  • 18
  • 111
  • 232
3
votes
2 answers

Classic VGA text console font used by Matrox graphics adapters

Back in 199[456] I was using Linux and a Matrox graphics adapter. For programming I often used the text mode and didn't bother to boot into X11. These graphics cards allowed for really high text resolutions and still had a very readable font.…
hochl
  • 12,524
  • 10
  • 53
  • 87
3
votes
1 answer

Generating labeled images for each glyph in a bitmap font file

Is there an easy way to generate a labeled bitmap image for each glyph contained in a given bitmap font file? I'm trying to convert a collection of Japanese .bdf fonts into a format usable in MATLAB and C++, where each glyph is used as the OCR…
user237326
2
votes
1 answer

How can I use other fonts in Glut - Fungen - Haskell

I'm using the Fungen framework for Haskell and there is a function that uses BitmapFonts. The thing is, that the only BitmapFonts I can use are the ones that come with GLUT, here is the data: data BitmapFont = Fixed8By13 | Fixed9By15 |…
2
votes
1 answer

How to create own bitmap font wiht image on LWUIT?

I use that code Font bmpfont=Font.createBitmapFont(icon, new int[0], new int[12], "S"); First param is image, second is offset, third is length and fourth is charset. And I get Font object from that code. But I set that font to TextArea... TextArea…
AT07
  • 98
  • 1
  • 11
2
votes
1 answer

reducing memory required for KeDei TFT library used with 3.5" TFT display with Arduino

I need to reduce the memory required by the KeDei TFT library used with the Osoyoo 3.5" TFT touch screen display shield for Arduino Uno and ATmega 2560. When I try writing a simple Arduino application that uses the TFT display with the KeDei…
Richard Chambers
  • 16,643
  • 4
  • 81
  • 106
2
votes
1 answer

Cannot find BitmapFont.TextBounds in libgdx

I tried to write this piece of code but it is showing error saying it cannot find TextBounds. But it works fine with when I use only BitmapFont. package com.gamefromscratch; import com.badlogic.gdx.ApplicationAdapter; import…
Casio991ms
  • 37
  • 8
2
votes
1 answer

Bitmapfont size too big for camera viewport

I'm making a game using libgdx and box2d so my Orthographic Camera Viewport is only 20x12 pixels/meters, when I try to render the a font on screen it becomes really big and pixelated, I also tried to use hiera bitmapfont generator to fix the size…
Kevin Bryan
  • 1,846
  • 2
  • 22
  • 45
2
votes
1 answer

LibGDX: Special characters won't display

Hello I try to display special charscters "äöü". I using I18NBundle to store strigs. But the problem shouldn't be here becose if I print it to the console System.out.println(bundle.get(key)); It does display "äöü". If I try to get the glyph out of…
user4959397
2
votes
1 answer

How can I resize the font in a scene2D select box?

I'm creating an android app using scene2D in libgdx. The app will have to be compatible with many screen resolutions, which is where my problem is at. The font used in the selectbox uses a set amount of pixels, so on a 1080p phone screen it is too…
2
votes
3 answers

LibGDX BitmapFont won't stop shaking

I have a BitmapFont that is displaying a player's score as he moves across the screen at a constant rate. Because the player is always moving, I have to recalculate at what position I draw the font every frame. I use this code. …
hasherr
  • 669
  • 3
  • 14
  • 28
2
votes
1 answer

BitmapFont get string by bounds?

Sorry I'm a bit new to libgdx (really liking it so far!), so might be a bit starter question I am implementing a dialogue box class for my RPG game. Basically I am having it display character by character like you see in Final Fantasy games when…
Arbel
  • 425
  • 8
  • 26
2
votes
2 answers

LibGDX font not appearing on screen

I've tried to get my text to appear, but I cannot get it on screen. I've played with the numbers a few times and found out that LibGDX drew the font to abnormally large sizes, but I don't exactly know if I still need to scale the font size smaller,…
putty174
  • 305
  • 5
  • 19
2
votes
2 answers

android libgdx bitmap fonts turn to black rectangles after a while

I'm using gdx-freetype library in android to generate BitmapFont from TrueType font which is in assets/fonts/arial.ttf This is the way I use to show some text on screen generator = new…
doorbash
  • 342
  • 4
  • 15