@@ -530,7 +530,7 @@ def _get_glyph(self, fontname, font_class, sym):
530
530
except ValueError :
531
531
uniindex = ord ('?' )
532
532
found_symbol = False
533
- _log .warning (f "No TeX to Unicode mapping for { sym !a } ." )
533
+ _log .warning ("No TeX to Unicode mapping for %a." , sym )
534
534
535
535
fontname , uniindex = self ._map_virtual_font (
536
536
fontname , font_class , uniindex )
@@ -576,9 +576,9 @@ def _get_glyph(self, fontname, font_class, sym):
576
576
if (fontname in ('it' , 'regular' )
577
577
and isinstance (self , StixFonts )):
578
578
return self ._get_glyph ('rm' , font_class , sym )
579
- _log .warning (f "Font { new_fontname !r } does not have a glyph "
580
- f"for { sym !a } [U+ { uniindex :x } ], substituting "
581
- "with a dummy symbol." )
579
+ _log .warning ("Font %r does not have a glyph for %a [U+%x], "
580
+ "substituting with a dummy symbol." ,
581
+ new_fontname , sym , uniindex )
582
582
font = self ._get_font ('rm' )
583
583
uniindex = 0xA4 # currency char, for lack of anything better
584
584
slanted = False
0 commit comments