Correct stroke width for text; convert intel-load test to eq-test
This commit is contained in:
		
							parent
							
								
									0e906bbaeb
								
							
						
					
					
						commit
						d7754a402e
					
				| @ -672,6 +672,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { | |||||||
|         ctx.translate(current.x, current.y); |         ctx.translate(current.x, current.y); | ||||||
| 
 | 
 | ||||||
|         ctx.scale(textHScale, 1); |         ctx.scale(textHScale, 1); | ||||||
|  |         ctx.lineWidth /= current.textMatrix[0]; | ||||||
| 
 | 
 | ||||||
|         if (textSelection) { |         if (textSelection) { | ||||||
|           this.save(); |           this.save(); | ||||||
| @ -708,6 +709,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { | |||||||
|       } else { |       } else { | ||||||
|         ctx.save(); |         ctx.save(); | ||||||
|         this.applyTextTransforms(); |         this.applyTextTransforms(); | ||||||
|  |         ctx.lineWidth /= current.textMatrix[0] * fontMatrix[0]; | ||||||
|  | 
 | ||||||
|         if (textSelection) |         if (textSelection) | ||||||
|           text.geom = this.getTextGeometry(); |           text.geom = this.getTextGeometry(); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -17,12 +17,13 @@ | |||||||
|        "rounds": 1, |        "rounds": 1, | ||||||
|        "type": "load" |        "type": "load" | ||||||
|     }, |     }, | ||||||
|     {  "id": "intelisa-load", |     {  "id": "intelisa-eq", | ||||||
|        "file": "pdfs/intelisa.pdf", |        "file": "pdfs/intelisa.pdf", | ||||||
|        "md5": "f5712097d29287a97f1278839814f682", |        "md5": "f5712097d29287a97f1278839814f682", | ||||||
|        "link": true, |        "link": true, | ||||||
|  |        "pageLimit": 100, | ||||||
|        "rounds": 1, |        "rounds": 1, | ||||||
|        "type": "load" |        "type": "eq" | ||||||
|     }, |     }, | ||||||
|     {  "id": "pdfspec-load", |     {  "id": "pdfspec-load", | ||||||
|        "file": "pdfs/pdf.pdf", |        "file": "pdfs/pdf.pdf", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user