author | Edouard Tisserant <edouard@beremiz.fr> |
Wed, 24 Apr 2024 17:02:28 +0200 | |
changeset 3933 | 6750083ae878 |
parent 3932 | 62d04933d569 |
child 3934 | 8072072038d2 |
svghmi/fonts.py | file | annotate | diff | comparison | revisions |
--- a/svghmi/fonts.py Mon Apr 15 09:09:59 2024 +0200 +++ b/svghmi/fonts.py Wed Apr 24 17:02:28 2024 +0200 @@ -56,7 +56,7 @@ "data:", mimetype, ";base64,", - b64encode(data).strip()]) + b64encode(data).decode().strip()]) def GetCSSFontFaceFromFontFile(filename): familyname, uniquename, formatname, mimetype = GetFontTypeAndFamilyName(filename)