File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -903,6 +903,11 @@ class PartialEvaluator {
903903 let transferArray ;
904904 if ( Array . isArray ( tr ) ) {
905905 transferArray = tr ;
906+ if ( tr . length > 1 && tr . every ( map => map === tr [ 0 ] ) ) {
907+ // All entries in the array are the same, so we can just use one of
908+ // them.
909+ transferArray = [ tr [ 0 ] ] ;
910+ }
906911 } else if ( isPDFFunction ( tr ) ) {
907912 transferArray = [ tr ] ;
908913 } else {
Original file line number Diff line number Diff line change @@ -2668,6 +2668,7 @@ class CanvasGraphics {
26682668 [ "BM" , "source-over" ] ,
26692669 [ "ca" , 1 ] ,
26702670 [ "CA" , 1 ] ,
2671+ [ "TR" , null ] ,
26712672 ] ) ;
26722673 this . groupStack . push ( currentCtx ) ;
26732674 this . groupLevel ++ ;
Original file line number Diff line number Diff line change 1+ https://github.com/user-attachments/files/25484709/get1d.pdf
Original file line number Diff line number Diff line change 1395413954 "link" : true ,
1395513955 "lastPage" : 1 ,
1395613956 "type" : " eq"
13957+ },
13958+ {
13959+ "id" : " issue20722" ,
13960+ "file" : " pdfs/issue20722.pdf" ,
13961+ "md5" : " 4a2e58e60973af3004dcfe1ff0be833c" ,
13962+ "rounds" : 1 ,
13963+ "link" : true ,
13964+ "firstPage" : 171 ,
13965+ "lastPage" : 171 ,
13966+ "type" : " eq"
1395713967 }
1395813968]
You can’t perform that action at this time.
0 commit comments