| 1671 |
c.fillStyle = this.defaultStyle; |
c.fillStyle = this.defaultStyle; |
| 1672 |
c.font = this.defaultFont; |
c.font = this.defaultFont; |
| 1673 |
c.textBaseline = "top"; |
c.textBaseline = "top"; |
| 1674 |
c.shadowBlur = this.defaultBlur; |
if(!this.disableShadow) { |
| 1675 |
c.shadowColor = this.defaultShadowColor; |
c.shadowBlur = this.defaultBlur; |
| 1676 |
c.shadowOffsetX = this.defaultShadowOffsetX; |
c.shadowColor = this.defaultShadowColor; |
| 1677 |
c.shadowOffsetY = this.defaultShadowOffsetY; |
c.shadowOffsetX = this.defaultShadowOffsetX; |
| 1678 |
|
c.shadowOffsetY = this.defaultShadowOffsetY; |
| 1679 |
|
} |
| 1680 |
var lineHeight = this.getLineHeight(c); |
var lineHeight = this.getLineHeight(c); |
| 1681 |
var lineInfo = new TextLineInfo(0); |
var lineInfo = new TextLineInfo(0); |
| 1682 |
lineInfo.height = lineHeight; |
lineInfo.height = lineHeight; |
| 1697 |
s = script.substr(offset, 1); |
s = script.substr(offset, 1); |
| 1698 |
var script_ret = this.scriptAnalyzer.next(s); |
var script_ret = this.scriptAnalyzer.next(s); |
| 1699 |
if(script_ret) { |
if(script_ret) { |
| 1700 |
|
lineHeight = lineInfo.height; |
| 1701 |
if(script_ret < 0) { |
if(script_ret < 0) { |
| 1702 |
offset -= script_ret; |
offset -= script_ret; |
| 1703 |
break; |
break; |