inkscape-applytransforms icon indicating copy to clipboard operation
inkscape-applytransforms copied to clipboard

Fix for text transformation

Open baldale opened this issue 1 year ago • 1 comments

baldale avatar Oct 05 '22 15:10 baldale

Hi. Thanks for commiting. That commit does not work for me: grafik

Traceback (most recent call last):
  File "/home/himbeere/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/apply_transformations/apply_transformations.py", line 211, in <module>
    ApplyTransformations().run()
  File "/usr/share/inkscape/extensions/inkex/base.py", line 231, in run
    self.save_raw(self.effect())
  File "/home/himbeere/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/apply_transformations/apply_transformations.py", line 24, in effect
    self.recursiveFuseTransform(shape)
  File "/home/himbeere/.config/inkscape/extensions/mightyscape-1.2/extensions/fablabchemnitz/apply_transformations/apply_transformations.py", line 191, in recursiveFuseTransform
    p = transf.apply_to_point((float(element.attrib['x']),float(element.attrib['y'])))
  File "src/lxml/etree.pyx", line 2494, in lxml.etree._Attrib.__getitem__
KeyError: 'x'

can you provide some example where a text has x y attributes? if i create some new, there are no x/y attribs. Cheers, Mario

vmario89 avatar Oct 08 '22 19:10 vmario89