* @param characters the characters the font should contain
* @param flip whether to flip the font horizontally, see {@link BitmapFont#BitmapFont(FileHandle, TextureRegion, boolean)}
* @deprecated use {@link #generateFont(FreeTypeFontParameter)} instead */
public BitmapFont generateFont (int size, String characters, boolean flip) {
FreeTypeBitmapFontData data = generateData(size, characters, flip, null);
BitmapFont font = new BitmapFont(data, data.getTextureRegions(), false);
font.setOwnsTexture(true);
return font;
}