Skip to content

Commit

Permalink
fix: bump zxing-cpp to 579650a to fix incorrect PDF417 position i…
Browse files Browse the repository at this point in the history
…nfo (#171)
  • Loading branch information
Sec-ant authored Nov 7, 2024
1 parent 7626bce commit 1a9a372
Show file tree
Hide file tree
Showing 32 changed files with 156 additions and 151 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-houses-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"zxing-wasm": patch
---

Bump `zxing-cpp` to `579650a` to fix incorrect PDF417 position info.
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-1/10/fast-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 10
},
"topRight": {
"x": 0,
"y": 0
"x": 234,
"y": 10
},
"bottomRight": {
"x": 0,
"y": 0
"x": 234,
"y": 33
},
"bottomLeft": {
"x": 30,
"y": 33
}
},
"orientation": -144,
"orientation": 0,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-1/10/fast-180.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 46
},
"topRight": {
"x": 265,
"y": 56
"x": 31,
"y": 46
},
"bottomRight": {
"x": 265,
"y": 56
"x": 31,
"y": 23
},
"bottomLeft": {
"x": 235,
"y": 23
}
},
"orientation": 36,
"orientation": 180,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-1/10/slow-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 10
},
"topRight": {
"x": 0,
"y": 0
"x": 234,
"y": 10
},
"bottomRight": {
"x": 0,
"y": 0
"x": 234,
"y": 33
},
"bottomLeft": {
"x": 30,
"y": 33
}
},
"orientation": -144,
"orientation": 0,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-1/10/slow-180.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 46
},
"topRight": {
"x": 265,
"y": 56
"x": 31,
"y": 46
},
"bottomRight": {
"x": 265,
"y": 56
"x": 31,
"y": 23
},
"bottomLeft": {
"x": 235,
"y": 23
}
},
"orientation": 36,
"orientation": 180,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-1/10/slow-270.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 30
},
"topRight": {
"x": 56,
"y": 0
"x": 46,
"y": 234
},
"bottomRight": {
"x": 56,
"y": 0
"x": 23,
"y": 234
},
"bottomLeft": {
"x": 23,
"y": 30
}
},
"orientation": -54,
"orientation": 90,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-1/10/slow-90.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 235
},
"topRight": {
"x": 0,
"y": 265
"x": 10,
"y": 31
},
"bottomRight": {
"x": 0,
"y": 265
"x": 33,
"y": 31
},
"bottomLeft": {
"x": 33,
"y": 235
}
},
"orientation": 126,
"orientation": -90,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-2/25/fast-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 26
},
"topRight": {
"x": 0,
"y": 0
"x": 143,
"y": 26
},
"bottomRight": {
"x": 0,
"y": 0
"x": 143,
"y": 55
},
"bottomLeft": {
"x": 7,
"y": 55
}
},
"orientation": -100,
"orientation": 0,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-2/25/fast-180.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 53
},
"topRight": {
"x": 219,
"y": 79
"x": 76,
"y": 53
},
"bottomRight": {
"x": 219,
"y": 79
"x": 76,
"y": 24
},
"bottomLeft": {
"x": 212,
"y": 24
}
},
"orientation": 80,
"orientation": 180,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-2/25/slow-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 26
},
"topRight": {
"x": 0,
"y": 0
"x": 143,
"y": 26
},
"bottomRight": {
"x": 0,
"y": 0
"x": 143,
"y": 55
},
"bottomLeft": {
"x": 7,
"y": 55
}
},
"orientation": -100,
"orientation": 0,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-2/25/slow-180.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 53
},
"topRight": {
"x": 219,
"y": 79
"x": 76,
"y": 53
},
"bottomRight": {
"x": 219,
"y": 79
"x": 76,
"y": 24
},
"bottomLeft": {
"x": 212,
"y": 24
}
},
"orientation": 80,
"orientation": 180,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-2/25/slow-270.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 7
},
"topRight": {
"x": 79,
"y": 0
"x": 53,
"y": 143
},
"bottomRight": {
"x": 79,
"y": 0
"x": 24,
"y": 143
},
"bottomLeft": {
"x": 24,
"y": 7
}
},
"orientation": -10,
"orientation": 90,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-2/25/slow-90.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 212
},
"topRight": {
"x": 0,
"y": 219
"x": 26,
"y": 76
},
"bottomRight": {
"x": 0,
"y": 219
"x": 55,
"y": 76
},
"bottomLeft": {
"x": 55,
"y": 212
}
},
"orientation": 170,
"orientation": -90,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-3/16/fast-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 4
},
"topRight": {
"x": 0,
"y": 0
"x": 405,
"y": 4
},
"bottomRight": {
"x": 0,
"y": 0
"x": 405,
"y": 223
},
"bottomLeft": {
"x": 3,
"y": 223
}
},
"orientation": -92,
"orientation": 0,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-3/16/fast-180.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 223
},
"topRight": {
"x": 444,
"y": 227
"x": 39,
"y": 223
},
"bottomRight": {
"x": 444,
"y": 227
"x": 39,
"y": 4
},
"bottomLeft": {
"x": 441,
"y": 4
}
},
"orientation": 88,
"orientation": 180,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/pdf417-3/16/slow-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"y": 4
},
"topRight": {
"x": 0,
"y": 0
"x": 405,
"y": 4
},
"bottomRight": {
"x": 0,
"y": 0
"x": 405,
"y": 223
},
"bottomLeft": {
"x": 3,
"y": 223
}
},
"orientation": -92,
"orientation": 0,
"isMirrored": false,
"isInverted": false,
"symbologyIdentifier": "]L2",
Expand Down
Loading

0 comments on commit 1a9a372

Please sign in to comment.