diff options
author | Tim Hatch <tim@timhatch.com> | 2014-04-14 13:43:06 -0400 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-04-14 13:43:06 -0400 |
commit | 5d57fe78405ac06a306f5ed2dd1b630a909cbdfb (patch) | |
tree | b128ec74d0dacfbe0a4e73c0ee38be01ca0521b3 /pygments | |
parent | e5a8211662aff7eb2f4e5413f25af95d4ac60a86 (diff) | |
download | pygments-5d57fe78405ac06a306f5ed2dd1b630a909cbdfb.tar.gz |
Correct doc location for fontsize.
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/formatters/rtf.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pygments/formatters/rtf.py b/pygments/formatters/rtf.py index ce795bb5..9d87e8f1 100644 --- a/pygments/formatters/rtf.py +++ b/pygments/formatters/rtf.py @@ -33,6 +33,12 @@ class RtfFormatter(Formatter): `fontface` The used font famliy, for example ``Bitstream Vera Sans``. Defaults to some generic font which is supposed to have fixed width. + + `fontsize` + Size of the font used. Size is specified in half points. The + default is 24 half-points, giving a size 12 font. + + .. versionadded:: 2.0 """ name = 'RTF' aliases = ['rtf'] @@ -51,9 +57,6 @@ class RtfFormatter(Formatter): and sans serif fonts". Hope every RTF implementation thinks the same about modern... - ``fontsize`` - Size of the font used. Size is specified in half points. The - default is 24 half-points, giving a size 12 font. """ Formatter.__init__(self, **options) self.fontface = options.get('fontface') or '' |