There was an error while loading. Please reload this page.
dviread.Text.glyph_name_or_index
1 parent faf35f3 commit 0260760Copy full SHA for 0260760
1 file changed
lib/matplotlib/dviread.py
@@ -121,7 +121,7 @@ def glyph_name_or_index(self):
121
# control all involved versions and are deeply familiar with the
122
# implementation", but a further mapping bug was fixed in luaotfload
123
# commit 8f2dca4, first included in v3.23).
124
- entry = self._get_pdftexmap_entry()
+ entry = PsfontsMap(find_tex_file("pdftex.map"))[self.font.texname]
125
return (_parse_enc(entry.encoding)[self.glyph]
126
if entry.encoding is not None else self.glyph)
127
0 commit comments