Inkscape.org
Creating New Extensions (engraving) Create an extension which split a text into one part the font/typeface and the other part the text
  1. #1
    Baflagade Baflagade @Baflagade

    Hello,

    I'm beginner in python and i need to create an extension. 

    I scan a datamatrix which give me a MAIN text like : " Arial\I love you " 

    I want to define the first part as font/typeface (Arial) and second in an text area (I love you).

    Could you give me some advice for writing it ?

     I think i have to get back the MAIN text and put it in a variable 

    then with the function split("\") i sould get my 2 parts. 

    But how i explain to inkscape that one is the Fonts and the other is the text ?

    I thank you in advance for the help.

     

Inkscape Inkscape.org Inkscape Forum Creating New Extensions (engraving) Create an extension which split a text into one part the font/typeface and the other part the text