def get_definitions(self, filename):
        filename = filename.replace('\\', '/')
        asset = {
            'version': 1,
            'bitmapfontlayouts' : {
                filename: {
                    'pagewidth': self.page_width,
                    'pageheight': self.page_height,
                    'baseline': self.baseline,
                    'lineheight': self.line_height,
                    'numglyphs': self.num_glyphs,
                    'minglyphindex': self.min_glyph_index,
                    'glyphs': self.glyphs,
                    'pages': self.texture_pages
                }
            }
        }
        if self.kernings:
            asset['bitmapfontlayouts'][filename]['kernings'] = self.kernings
        if self.bold:
            asset['bitmapfontlayouts'][filename]['bold'] = True
        if self.italic:
            asset['bitmapfontlayouts'][filename]['italic'] = True
        return asset


#######################################################################################################################
Return a fixed asset object.
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/bmfont2json.py/Bmfont2json.get_definitions