Commit e2b23799 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 26514 - Изменяется шрифт при наборе текста кириллицей в заголовке диаграммы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58269 954022d7-b5bf-4e40-9824-e11837661b57
parent 198046c6
...@@ -632,26 +632,26 @@ CDLbl.prototype = ...@@ -632,26 +632,26 @@ CDLbl.prototype =
var minor_font = theme.themeElements.fontScheme.minorFont; var minor_font = theme.themeElements.fontScheme.minorFont;
if(minor_font) text_pr.RFonts.Set_FromObject(
{ {
if(typeof minor_font.latin === "string" && minor_font.latin.length > 0) Ascii: {
{ Name: "+mn-lt",
text_pr.RFonts.Ascii = {Name: minor_font.latin, Index: -1}; Index: -1
} },
if(typeof minor_font.ea === "string" && minor_font.ea.length > 0) EastAsia: {
{ Name: "+mn-ea",
text_pr.RFonts.EastAsia = {Name: minor_font.ea, Index: -1}; Index: -1
} },
if(typeof minor_font.cs === "string" && minor_font.cs.length > 0) HAnsi: {
{ Name: "+mn-lt",
text_pr.RFonts.CS = {Name: minor_font.cs, Index: -1}; Index: -1
} },
CS: {
if(typeof minor_font.sym === "string" && minor_font.sym.length > 0) Name: "+mn-lt",
{ Index: -1
text_pr.RFonts.HAnsi = {Name: minor_font.sym, Index: -1}; }
} }
} );
style.TextPr = text_pr; style.TextPr = text_pr;
var chart_text_pr; var chart_text_pr;
......
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