summaryrefslogtreecommitdiff
path: root/pygments/formatters/img.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2009-03-31 10:26:55 -0500
committergbrandl <devnull@localhost>2009-03-31 10:26:55 -0500
commit7b95efab48d9ec79e995bf4d6db10fd049e3395a (patch)
tree48fc9b840dab83976a85af85d1c705dbaa051a0b /pygments/formatters/img.py
parentf12c878ed096137c91658a0f62f0070e08c2afea (diff)
downloadpygments-7b95efab48d9ec79e995bf4d6db10fd049e3395a.tar.gz
Port Pygments to Python 3.1.
Diffstat (limited to 'pygments/formatters/img.py')
-rw-r--r--pygments/formatters/img.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py
index 31f43c30..91bf5179 100644
--- a/pygments/formatters/img.py
+++ b/pygments/formatters/img.py
@@ -61,6 +61,7 @@ class FontManager(object):
self.font_name = font_name
self.font_size = font_size
self.fonts = {}
+ self.encoding = None
if sys.platform.startswith('win'):
if not font_name:
self.font_name = DEFAULT_FONT_NAME_WIN