Skip to content

Commit

Permalink
use old fashioned format string to make it work in Glyphs 2
Browse files Browse the repository at this point in the history
  • Loading branch information
schriftgestalt committed May 5, 2024
1 parent 9ac4436 commit a1a3a28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def background(self, layer):
# draw metric names:
if zoomFactor >= 0.07: # only display names when zoomed in enough
self.drawTextAtPoint(
f" {thisMetric} ",
" %s " % thisMetric,
NSPoint(
(xPosition + 80) / zoomFactor,
height + 2 / zoomFactor if "bottom" in alignment else height,
Expand Down

0 comments on commit a1a3a28

Please sign in to comment.