From e5259d949415ac65e712756c1abb9b395eba1ea4 Mon Sep 17 00:00:00 2001 From: Frederik Berlaen Date: Wed, 28 Aug 2019 16:27:46 +0200 Subject: [PATCH] py3 only --- Lib/ufo2fdk/fontInfoData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ufo2fdk/fontInfoData.py b/Lib/ufo2fdk/fontInfoData.py index 62f5ddb..1952315 100644 --- a/Lib/ufo2fdk/fontInfoData.py +++ b/Lib/ufo2fdk/fontInfoData.py @@ -202,7 +202,7 @@ def openTypeOS2WinDescentFallback(info): # postscript _postscriptFontNameExceptions = set("[](){}<>/%") -_postscriptFontNameAllowed = set([unichr(i) for i in range(33, 137)]) +_postscriptFontNameAllowed = set([chr(i) for i in range(33, 137)]) def normalizeStringForPostscript(s, allowSpaces=True):