diff --git a/mitreattack/navlayers/exporters/svg_templates.py b/mitreattack/navlayers/exporters/svg_templates.py index 06c0d334..46f94bcb 100644 --- a/mitreattack/navlayers/exporters/svg_templates.py +++ b/mitreattack/navlayers/exporters/svg_templates.py @@ -436,7 +436,7 @@ def export(self, showName, showID, layer, config, sort=0, scores=[], colors=[], # create header text header_glob = G(tx=index, ty=header_offset) text_glob = G(tx=technique_width / 2, ty=technique_height / 2) - font_size, _ = _optimalFontSize(displayStr, technique_width, technique_height, config, maxFontSize=8) + font_size, _ = _optimalFontSize(displayStr, technique_width, technique_height, config, config.fontSize) text = Text(ctype="TacticName", font_size=font_size, text=displayStr, position="middle") text_glob.append(text) header_glob.append(text_glob)