(st2:dict, kwargs:dict, p:P, funcs)
| 3 | |
| 4 | |
| 5 | def modify(st2:dict, kwargs:dict, p:P, funcs): |
| 6 | #font = Font.Find(st2.font_path) |
| 7 | #axis1_tag = list(font.variations().values())[0].get("axisTag") |
| 8 | |
| 9 | oidx = kwargs.get("idx", 0) |
| 10 | |
| 11 | return (Glyphwise((st2.text+"\n")*1, lambda x: |
| 12 | Style(st2.font_path, 2, **{"wdth":ez(funcs.fe(-x.i*(11-(oidx*5))), "seio", 1)})) |
| 13 | .lead(0.1) |
| 14 | .xalign() |
| 15 | .pen() |
| 16 | .unframe() |
| 17 | .centerZero()) |