Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commitb241ca4
committed
Rasterize dvi files without dvipng.
This patch drops the reliance on dvipng to rasterize dvi files prior toinclusion by agg, instead performing the rasterization ourselves (as aconsequence, the rasterization output also becomes dependent of thefreetype version used). Note that this approach will be needed anywaysto support xetex and luatex, as dvipng doesn't support dvi filesgenerated by these engines.Baseline images change slightly, for the better or the worse. Thetop-left blue cross text in test_rotation.py ("Myrt0") seems to bebetter top-aligned against the blue line (the old version overshot abit); the bounding box of the formulas in test_usetex.py seems a bitworse.1 parentde00c49 commitb241ca4
File tree
7 files changed
+125
-10
lines changed- lib/matplotlib
- backends
- tests/baseline_images/test_usetex
- src
7 files changed
+125
-10
lines changedLines changed: 40 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
| 34 | + | |
33 | 35 |
| |
34 |
| - | |
| 36 | + | |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| |||
208 | 210 |
| |
209 | 211 |
| |
210 | 212 |
| |
211 |
| - | |
| 213 | + | |
| 214 | + | |
212 | 215 |
| |
213 | 216 |
| |
214 | 217 |
| |
| |||
227 | 230 |
| |
228 | 231 |
| |
229 | 232 |
| |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 | 233 |
| |
234 |
| - | |
235 |
| - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
236 | 268 |
| |
237 |
| - | |
238 | 269 |
| |
239 | 270 |
| |
240 | 271 |
| |
241 | 272 |
| |
242 |
| - | |
| 273 | + | |
243 | 274 |
| |
244 | 275 |
| |
245 | 276 |
| |
|
Loading
Lines changed: 30 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
334 | 334 |
| |
335 | 335 |
| |
336 | 336 |
| |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
337 | 348 |
| |
338 | 349 |
| |
339 | 350 |
| |
| |||
721 | 732 |
| |
722 | 733 |
| |
723 | 734 |
| |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
724 | 754 |
| |
725 | 755 |
| |
726 | 756 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
| 79 | + | |
| 80 | + | |
79 | 81 |
| |
80 | 82 |
| |
81 | 83 |
| |
| |||
102 | 104 |
| |
103 | 105 |
| |
104 | 106 |
| |
| 107 | + | |
105 | 108 |
| |
106 | 109 |
| |
107 | 110 |
| |
|
Lines changed: 52 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
541 | 541 |
| |
542 | 542 |
| |
543 | 543 |
| |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
544 | 563 |
| |
545 | 564 |
| |
546 | 565 |
| |
| |||
971 | 990 |
| |
972 | 991 |
| |
973 | 992 |
| |
974 |
| - | |
| 993 | + | |
975 | 994 |
| |
976 | 995 |
| |
977 | 996 |
| |
| |||
993 | 1012 |
| |
994 | 1013 |
| |
995 | 1014 |
| |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
996 | 1043 |
| |
997 | 1044 |
| |
998 | 1045 |
| |
| |||
1614 | 1661 |
| |
1615 | 1662 |
| |
1616 | 1663 |
| |
| 1664 | + | |
1617 | 1665 |
| |
1618 | 1666 |
| |
1619 | 1667 |
| |
| |||
1643 | 1691 |
| |
1644 | 1692 |
| |
1645 | 1693 |
| |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
1646 | 1697 |
| |
1647 | 1698 |
| |
1648 | 1699 |
| |
|
0 commit comments
Comments
(0)