In [2]: from kiva.quartz import CTFont
In [3]: CTFont.default_font_info.names()
Out[3]:
["b'Kannada MN'",
"b'Malayalam Sangam MN'",
"b'Noto Sans Kannada'",
"b'Beirut'",
"b'DIN Alternate'",
"b'PT Sans Caption'",
"b'Devanagari MT'",
"b'PingFang TC'",
"b'Courier'",
... # etc
"b'Gill Sans'"]
See the following, which is the result of calling
stron a bytes (Python 2 idiom) instead of explicitly using a codec.Culprit is this method:
enable/kiva/quartz/CTFont.pyx
Lines 17 to 27 in bb2c358