Commit e73ed8ea authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Поправила баг : N-арные итераторы без итераторов (для inline формул)...

Поправила баг : N-арные итераторы без итераторов (для inline формул) рисовались некорректного размера

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62196 954022d7-b5bf-4e40-9824-e11837661b57
parent a05a4baa
...@@ -918,7 +918,6 @@ CDegreeSubSup.prototype.Recalculate_Range = function(PRS, ParaPr, Depth) ...@@ -918,7 +918,6 @@ CDegreeSubSup.prototype.Recalculate_Range = function(PRS, ParaPr, Depth)
PRS.WordLen += this.BrGapRight; PRS.WordLen += this.BrGapRight;
this.protected_FillRange(CurLine, CurRange, RangeStartPos, RangeEndPos); this.protected_FillRange(CurLine, CurRange, RangeStartPos, RangeEndPos);
} }
......
...@@ -569,6 +569,20 @@ CNary.prototype.Draw_Elements = function(PDSE) ...@@ -569,6 +569,20 @@ CNary.prototype.Draw_Elements = function(PDSE)
if(CurLine == 0 && CurRange == 0) if(CurLine == 0 && CurRange == 0)
{ {
if(this.Base.IsJustDraw()) // для Just-Draw элементов надо выставить Font
{
var ctrPrp = this.Get_TxtPrControlLetter();
var Font =
{
FontSize: ctrPrp.FontSize,
FontFamily: {Name : ctrPrp.FontFamily.Name, Index : ctrPrp.FontFamily.Index},
Italic: false,
Bold: false //ctrPrp.Bold
};
PDSE.Graphics.SetFont(Font);
}
this.Base.Draw_Elements(PDSE); this.Base.Draw_Elements(PDSE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment