File tree 4 files changed +15
-8
lines changed
4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -1185,20 +1185,20 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
1185
1185
y = args [ j ++ ] ;
1186
1186
var width = args [ j ++ ] ;
1187
1187
var height = args [ j ++ ] ;
1188
- if ( width === 0 ) {
1188
+ if ( width === 0 && ctx . lineWidth < this . getSinglePixelWidth ( ) ) {
1189
1189
width = this . getSinglePixelWidth ( ) ;
1190
1190
}
1191
- if ( height === 0 ) {
1191
+ if ( height === 0 && ctx . lineWidth < this . getSinglePixelWidth ( ) ) {
1192
1192
height = this . getSinglePixelWidth ( ) ;
1193
1193
}
1194
1194
var xw = x + width ;
1195
1195
var yh = y + height ;
1196
- this . ctx . moveTo ( x , y ) ;
1197
- this . ctx . lineTo ( xw , y ) ;
1198
- this . ctx . lineTo ( xw , yh ) ;
1199
- this . ctx . lineTo ( x , yh ) ;
1200
- this . ctx . lineTo ( x , y ) ;
1201
- this . ctx . closePath ( ) ;
1196
+ ctx . moveTo ( x , y ) ;
1197
+ ctx . lineTo ( xw , y ) ;
1198
+ ctx . lineTo ( xw , yh ) ;
1199
+ ctx . lineTo ( x , yh ) ;
1200
+ ctx . lineTo ( x , y ) ;
1201
+ ctx . closePath ( ) ;
1202
1202
break ;
1203
1203
case OPS . moveTo :
1204
1204
x = args [ j ++ ] ;
Original file line number Diff line number Diff line change 262
262
! bug903856.pdf
263
263
! bug850854.pdf
264
264
! bug866395.pdf
265
+ ! issue12010_reduced.pdf
265
266
! issue11718_reduced.pdf
266
267
! bug1027533.pdf
267
268
! bug1028735.pdf
Original file line number Diff line number Diff line change 2727
2727
"link" : false ,
2728
2728
"type" : " eq"
2729
2729
},
2730
+ { "id" : " issue12010" ,
2731
+ "file" : " pdfs/issue12010_reduced.pdf" ,
2732
+ "md5" : " 8894ec63069dcf92c9f56baec05c0425" ,
2733
+ "rounds" : 1 ,
2734
+ "type" : " eq"
2735
+ },
2730
2736
{ "id" : " issue7598" ,
2731
2737
"file" : " pdfs/issue7598.pdf" ,
2732
2738
"md5" : " c5bc5a779bfcb4b234f853231b56cf60" ,
You can’t perform that action at this time.
0 commit comments