make RLString generic
authorrgbecker
Fri, 14 Dec 2012 18:02:40 +0000
changeset 3634 30efff664458
parent 3633 427f295dd7ba
child 3635 5e6f12790777
make RLString generic
src/reportlab/lib/utils.py
--- a/src/reportlab/lib/utils.py	Fri Dec 14 17:58:47 2012 +0000
+++ b/src/reportlab/lib/utils.py	Fri Dec 14 18:02:40 2012 +0000
@@ -1175,9 +1175,9 @@
         self.__inc = inc
         return self
 
-class RLFontName(str):
-    '''allows specification of the properties of a font using a dictionary of extra attributes
-    eg fontName = RLFontName('proxima-nova-bold',
+class RLString(str):
+    '''allows specification of extra properties of a string using a dictionary of extra attributes
+    eg fontName = RLString('proxima-nova-bold',
                     svgAttrs=dict(family='"proxima-nova"',weight='bold'))
     '''
     def __new__(cls,v,**kwds):