@@ -326,13 +326,10 @@ class StyleMixin(Grob):
326326 """Mixin class for text-styling support.
327327 Adds the stylesheet, fill, and font attributes to the class."""
328328 ctxAttrs = ('_font' , '_stylesheet' , '_fillcolor' )
329- opts = ('face' ,'family' ,'size' ,'weight' ,'width' ,'variant' ,'italic' , # font selection
330- 'lig' ,'sc' ,'osf' ,'tab' ,'vpos' ,'frac' , 'ss' , # aat features
331- 'leading' , 'tracking' , 'indent' , 'align' , 'hyphenate' , # layout
332- 'fontname' ,'fontsize' ,'lineheight' ,'font' , # nodebox compat
333- 'style' , # use named style as baseline
334- 'fill' , # color override
335- )
329+ layoutOpts = ('leading' ,'spacing' ,'margin' ,'indent' ,'align' ,'hyphenate' ,'lineheight' )
330+ fontOpts = ('face' ,'family' ,'size' ,'weight' ,'width' ,'variant' ,'italic' ,'tracking' ,'fontname' ,'fontsize' ,'font' )
331+ aatOpts = ('lig' ,'sc' ,'osf' ,'tab' ,'vpos' ,'frac' , 'ss' )
332+ opts = fontOpts + layoutOpts + aatOpts + ('style' , 'fill' )
336333
337334 def __init__ (self , ** kwargs ):
338335 super (StyleMixin , self ).__init__ (** kwargs )
0 commit comments