Commit abd0d825 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

заглушка для шрифтов из темы в chart

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47739 954022d7-b5bf-4e40-9824-e11837661b57
parent 29eda84a
......@@ -1803,7 +1803,13 @@ function Binary_ChartReader(stream, chart)
if(null != par.rPr.FontSize)
res.font.size = par.rPr.FontSize;
if(null != par.rPr.FontFamily && null != par.rPr.FontFamily.Name && "" != par.rPr.FontFamily.Name)
res.font.name = par.rPr.FontFamily.Name;
{
var sName = par.rPr.FontFamily.Name;
//todo
if("+mj-lt" == sName || "+mn-lt" == sName || "+mj-ea" == sName || "+mn-ea" == sName || "+mj-cs" == sName || "+mn-cs" == sName)
sName = "Arial";
res.font.name = sName;
}
// if(null != par.rPr.unifill)
// {
// var fill = par.rPr.unifill.fill;
......
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