Skip to content

Commit 54f055b

Browse files
committed
you can't fight city hall...
1 parent 62b71b8 commit 54f055b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

plotdevice/gfx/typography.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def find(cls, like=None, encoding="western"):
280280
try:
281281
return regions[encoding.title()]
282282
except:
283-
nosuchzone = "Couldn't find any fonts with an encoding of %r, choose from: %r" % (encoding, regions.keys())
283+
nosuchzone = "Couldn't find any matching fonts with an encoding of %r, choose from: %r" % (encoding, regions.keys())
284284
raise DeviceError(nosuchzone)
285285

286286

plotdevice/lib/foundry.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,7 @@ def __setitem__(self, key, val):
645645
self._lib[key] = val
646646

647647
def refresh(self):
648-
_fm._reactToFontSetChange() # ugh, private api...
649648
if self._hash != _fm.availableFonts():
650-
print "RESET"
651649
self.__init__()
652650

653651
_FAMILIES = FontLibrary()

0 commit comments

Comments
 (0)