diff --git a/lib/matplotlib/afm.py b/lib/matplotlib/afm.py index 7d55dce0f8d5..c1f56598f820 100644 --- a/lib/matplotlib/afm.py +++ b/lib/matplotlib/afm.py @@ -220,7 +220,7 @@ def _parse_kern_pairs(fh): vals = line.split() if len(vals)!=4 or vals[0]!=b'KPX': raise RuntimeError('Bad kern pairs line: %s'%line) - c1, c2, val = vals[1], vals[2], _to_float(vals[3]) + c1, c2, val = _to_str(vals[1]), _to_str(vals[2]), _to_float(vals[3]) d[(c1,c2)] = val raise RuntimeError('Bad kern pairs parse') pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy