From f1466af65c9fb3ae45aa337d410976c4310fcef4 Mon Sep 17 00:00:00 2001 From: EvgeniyIgol Date: Fri, 27 Jun 2025 11:07:53 +0300 Subject: [PATCH] Fix pos of inline Nary --- word/Math/nary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/word/Math/nary.js b/word/Math/nary.js index eda4fbd905..99352f3e62 100644 --- a/word/Math/nary.js +++ b/word/Math/nary.js @@ -1292,7 +1292,7 @@ CNaryInlineOperator.prototype.drawTextElem = function(x, y, pGraphics) }; pGraphics.SetFont(Font); - pGraphics.FillTextCode(x, y, this.Base.RecalcInfo.StyleCode); + pGraphics.FillTextCode(x + this.pos.x, y + this.pos.y + this.size.height - (this.size.height - this.size.ascent), this.Base.RecalcInfo.StyleCode); }; CNaryInlineOperator.prototype.Get_TxtPrControlLetter = function() {