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

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55690 954022d7-b5bf-4e40-9824-e11837661b57
parent 3e94ae2a
......@@ -242,9 +242,6 @@ CMathText.prototype =
var letter = this.getCode();
var metricsTxt = oMeasure.Measure2Code(letter);
if(this.bJDraw)
metricsTxt = oMeasure.Measure2Code(letter);
else
......@@ -311,7 +308,7 @@ CMathText.prototype =
setPosition: function(pos)
{
if( ! this.bJDraw) // for text
this.pos = {x : pos.x + this.GapLeft, y: pos.y };
this.pos = {x : pos.x, y: pos.y};
else // for symbol only drawing
this.pos = {x: pos.x - this.rasterOffsetX, y: pos.y - this.rasterOffsetY};
//this.pos = {x: pos.x + this.GapLeft, y: pos.y + this.size.ascent};
......
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