diff options
author | gbrandl <devnull@localhost> | 2009-03-31 10:26:55 -0500 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2009-03-31 10:26:55 -0500 |
commit | 7b95efab48d9ec79e995bf4d6db10fd049e3395a (patch) | |
tree | 48fc9b840dab83976a85af85d1c705dbaa051a0b /pygments/formatters/img.py | |
parent | f12c878ed096137c91658a0f62f0070e08c2afea (diff) | |
download | pygments-7b95efab48d9ec79e995bf4d6db10fd049e3395a.tar.gz |
Port Pygments to Python 3.1.
Diffstat (limited to 'pygments/formatters/img.py')
-rw-r--r-- | pygments/formatters/img.py | 1 |
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 |