(tmp_path)
| 241 | |
| 242 | @needs_ghostscript |
| 243 | def test_d_glyph(tmp_path): |
| 244 | # Ensure that we don't have a procedure defined as /d, which would be |
| 245 | # overwritten by the glyph definition for "d". |
| 246 | fig = plt.figure() |
| 247 | fig.text(.5, .5, "def") |
| 248 | out = tmp_path / "test.eps" |
| 249 | fig.savefig(out) |
| 250 | mpl.testing.compare.convert(out, cache=False) # Should not raise. |
| 251 | |
| 252 | |
| 253 | @image_comparison(["type42_without_prep.eps"], style='mpl20') |