Commit d2465c31 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

fix colors

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51959 954022d7-b5bf-4e40-9824-e11837661b57
parent 35c91e19
......@@ -931,13 +931,13 @@ DrawingContext.prototype = {
var nX = asc_floor(fmgr.m_oGlyphString.m_fX + pGlyph.fX + pGlyph.oBitmap.nX);
var nY = asc_floor(fmgr.m_oGlyphString.m_fY + pGlyph.fY - pGlyph.oBitmap.nY);
var _r = t.fillColor.r;
var _g = t.fillColor.g;
var _b = t.fillColor.b;
if (window.g_isMobileVersion) {
// Special for iPad (5.1)
var _r = t.fillColor.r;
var _g = t.fillColor.g;
var _b = t.fillColor.b;
if (!_r && !_g && !_b) {
this.ctx.drawImage(pGlyph.oBitmap.oGlyphData.m_oCanvas, 0, 0, nW, nH, nX, nY, nW, nH);
} else {
......
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