From f9c2c0ec0f0fbaab59c37a685f42644f07970928 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Fri, 11 Jun 2021 00:27:49 +0200 Subject: [PATCH] Remove mention of now-removed Encoding class. It was removed in eb31723. --- lib/matplotlib/dviread.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/matplotlib/dviread.py b/lib/matplotlib/dviread.py index 1c56cbc3133a..b4bdde002ad9 100644 --- a/lib/matplotlib/dviread.py +++ b/lib/matplotlib/dviread.py @@ -922,12 +922,6 @@ def _parse_and_cache_line(self, line): encoding=encodingfile, filename=fontfile) -# Note: this function should ultimately replace the Encoding class, which -# appears to be mostly broken: because it uses b''.join(), there is no -# whitespace left between glyph names (only slashes) so the final re.findall -# returns a single string with all glyph names. However this does not appear -# to bother backend_pdf, so that needs to be investigated more. (The fixed -# version below is necessary for textpath/backend_svg, though.) def _parse_enc(path): r""" Parses a \*.enc file referenced from a psfonts.map style file.