From ef2d7da89e111fa7e8475aedaf087be7e793a0af Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Tue, 8 Oct 2024 09:45:21 +0200 Subject: [PATCH] Fix - always set font size in latex In old logic font size was set when differs from FontHandler attributes But this not properly working. Later apply better fix --- modules/base/latex.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base/latex.mjs b/modules/base/latex.mjs index 0100a2289..32bfab459 100644 --- a/modules/base/latex.mjs +++ b/modules/base/latex.mjs @@ -555,7 +555,7 @@ function parseLatex(node, arg, label, curr) { elem.attr('fill', curr.color || arg.color || null); // set font size directly to element to avoid complex control - if (curr.fsize !== curr.font.size) + if (curr.fsize) elem.attr('font-size', Math.round(curr.fsize)); if (curr.font && curr.font.isSymbol)