Commit 0f23bd22 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@63080 954022d7-b5bf-4e40-9824-e11837661b57
parent 1ed2eab4
...@@ -189,7 +189,9 @@ CPdfPrinter.prototype = ...@@ -189,7 +189,9 @@ CPdfPrinter.prototype =
var _g = val.getG(); var _g = val.getG();
var _b = val.getB(); var _b = val.getB();
var _a = val.getA(); var _a = val.getA();
this.DocumentRenderer.b_color1(_r, _g, _b, (_a * 255 + 0.5) >> 0); //this.DocumentRenderer.b_color1(_r, _g, _b, (_a * 255 + 0.5) >> 0);
// не менять!!! баг в хромиуме !!! (41ом)
this.DocumentRenderer.b_color1(_r, _g, _b, parseInt(_a * 255 + 0.5));
return this; return this;
}, },
setFillPattern : function(val) setFillPattern : function(val)
...@@ -206,7 +208,9 @@ CPdfPrinter.prototype = ...@@ -206,7 +208,9 @@ CPdfPrinter.prototype =
var _g = val.getG(); var _g = val.getG();
var _b = val.getB(); var _b = val.getB();
var _a = val.getA(); var _a = val.getA();
this.DocumentRenderer.p_color(_r, _g, _b, (_a * 255 + 0.5) >> 0); //this.DocumentRenderer.p_color(_r, _g, _b, (_a * 255 + 0.5) >> 0);
// не менять!!! баг в хромиуме !!! (41ом)
this.DocumentRenderer.p_color(_r, _g, _b, parseInt(_a * 255 + 0.5));
return this; return this;
}, },
setLineWidth : function(val) setLineWidth : function(val)
......
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