From 30f0f58c5cc8cc81e9365a4b6424f66f711c9c64 Mon Sep 17 00:00:00 2001 From: adpare Date: Thu, 7 Mar 2024 16:18:07 -0500 Subject: [PATCH] minor update --- mitreattack/navlayers/exporters/svg_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)