Commit b7bfd0d
authored
BUG: Use NumberObject for /Border elements of annotations (#2451)
As defined in Table 164 – Entries common to all annotation dictionaries, the /Border Array consists of NumberObjects. Previously, pypdf used NameObject which is wrong.
The previous version caused a warning in the class NameObject: "Incorrect first char in NameObject:({self})".
Fixes #24441 parent 8cacb0f commit b7bfd0d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
0 commit comments