String resource = closest.source + ".a3d";
URL url = ResourceLocatorTool.getClassPathResource(BMFontProvider.class, resource);
try {
if (url != null) {
final BinaryImporter binaryImporter = new BinaryImporter();
closest.bmFont = (BMFont) binaryImporter.load(url);
} else {
// Not found, load from .fnt
resource = closest.source + ".fnt";
url = ResourceLocatorTool.getClassPathResource(BMFontProvider.class, resource);
closest.bmFont = new BMFont(new URLResourceSource(url), false);