Search found 2 matches

by matameko
Thu Jul 11, 2013 8:51 pm
Forum: Programming
Topic: How to get text length in (python) extension
Replies: 2
Views: 3846

Re: How to get text length in (python) extension

No. I tried to create a formula editor as inkscape extension but stopped this approach
because I was not able to get the size information.
Now I use another approach that works with pyton and qt text elements:
http://sourceforge.net/projects/ikwed (first version is not finished yet).
by matameko
Wed Aug 08, 2012 4:57 pm
Forum: Programming
Topic: How to get text length in (python) extension
Replies: 2
Views: 3846

How to get text length in (python) extension

Hello, how can I get the pixel length of a text element in an extension? Is it possible to access the svg dom function "getComputedTextLength" ? I found a python example here: http://wiki.inkscape.org/wiki/index.php/PythonEffectTutorial and added a msgbox command to show me some text infor...

Go to advanced search