This commit is contained in:
Kovid Goyal 2019-03-22 23:48:01 +05:30
parent 5755625d1e
commit 930624d2be
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 3 deletions

View File

@ -239,7 +239,7 @@ class FontManager(object):
if name not in STANDARD_FONTS:
raise ValueError('%s is not a standard font'%name)
if name not in self.std_map:
self.std_map[name] = self.objects.add(Dictionary({
self.std_map[name] = self.objects.add(Dictionary({
'Type':Name('Font'),
'Subtype':Name('Type1'),
'BaseFont':Name(name)

View File

@ -12,8 +12,7 @@ Utilities to help with developing coffeescript based apps.
A coffeescript compiler and a simple web server that automatically serves
coffeescript files as javascript.
'''
import sys, traceback, io
import time, os, sys, re
import sys, traceback, io, time, os, re
from threading import Lock, local
from polyglot import socketserver