Commit 0538fcf0 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55688 954022d7-b5bf-4e40-9824-e11837661b57
parent 6ea3a581
......@@ -350,7 +350,7 @@ function CTextMeasurer()
Width = Temp.fAdvanceX * 25.4 / 72;
Height = ((Temp.oBBox.fMaxY - Temp.oBBox.fMinY) * 25.4 / 72);
return { Width : Width, Height : Height };
return { Width : Width, Height : Height, Ascent : (Temp.oBBox.fMaxY * 25.4 / 72) };
}
this.Measure2Code = function(lUnicode)
{
......
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