private boolean checkForBitmapFont () {
        int faceFlags = face.getFaceFlags();
        if (((faceFlags & FreeType.FT_FACE_FLAG_FIXED_SIZES) == FreeType.FT_FACE_FLAG_FIXED_SIZES)
                && ((faceFlags & FreeType.FT_FACE_FLAG_HORIZONTAL) == FreeType.FT_FACE_FLAG_HORIZONTAL)) {
            if (loadChar(32)) {
                GlyphSlot slot = face.getGlyph();
                if (slot.getFormat() == 1651078259) {
                    bitmapped = true;
                }
            }
        }
        return bitmapped;
    }
Creates a new generator from the given font file. Uses {@link FileHandle#length()} to determine the file size. If the file
length could not be determined (it was 0), an extra copy of the font bytes is performed. Throws a
{@link GdxRuntimeException} if loading did not succeed.
core/src/com/badlogic/gdx/graphics/g2d/freetype/FreeTypeFontGenerator.java