Commit f57cb6b
committed
Remove dependency on MuPDF version
Add all MuPDF STEXT flags up to v1.26.0 to PyMuPDF.
Use hard coded values if unknown in an earlier MuPDF version that we still want / need to support.
The intention is to switch to MuPDF's symbolic names as soon as we drop support of the corresponding version.
Flag bits representing current MuPDF features can always be used because the are ignored by older MuPDF versions.
Also removed some duplicate definitions.1 parent 104051b commit f57cb6b
2 files changed
+44
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
278 | 306 | | |
279 | 307 | | |
280 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13516 | 13516 | | |
13517 | 13517 | | |
13518 | 13518 | | |
13519 | | - | |
13520 | | - | |
13521 | | - | |
13522 | | - | |
13523 | | - | |
13524 | | - | |
13525 | | - | |
13526 | | - | |
13527 | | - | |
13528 | | - | |
13529 | | - | |
13530 | | - | |
| 13519 | + | |
| 13520 | + | |
| 13521 | + | |
| 13522 | + | |
| 13523 | + | |
| 13524 | + | |
| 13525 | + | |
| 13526 | + | |
| 13527 | + | |
| 13528 | + | |
| 13529 | + | |
| 13530 | + | |
13531 | 13531 | | |
13532 | 13532 | | |
13533 | 13533 | | |
| |||
13620 | 13620 | | |
13621 | 13621 | | |
13622 | 13622 | | |
13623 | | - | |
13624 | | - | |
13625 | | - | |
13626 | | - | |
13627 | | - | |
13628 | | - | |
13629 | | - | |
13630 | | - | |
13631 | 13623 | | |
13632 | 13624 | | |
13633 | 13625 | | |
| |||
0 commit comments