From da7d8df1c503a929fc1bde000a9a4ca77223f728 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Sun, 10 Jul 2016 06:45:56 +0000 Subject: [PATCH] reactivate the pfb to pfa fallback (was likely checked in by accident during bug hunting) git-svn-id: http://svn.code.sf.net/p/pyx/code/trunk/pyx@3681 a4f5e268-e194-4f32-bce1-d30804cbbcc5 --- pyx/font/t1file.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyx/font/t1file.py b/pyx/font/t1file.py index 1b1a8dc8..aac69786 100644 --- a/pyx/font/t1file.py +++ b/pyx/font/t1file.py @@ -1229,10 +1229,10 @@ def from_PFB_filename(filename): return t1file def from_PF_bytes(bytes): - #try: + try: return from_PFB_bytes(bytes) - #except FontFormatError: - # return from_PFA_bytes(bytes) + except FontFormatError: + return from_PFA_bytes(bytes) def from_PF_filename(filename): """create a T1file instance from PFA or PFB font file of given name""" -- 2.11.4.GIT