Inkscape.org
Beyond the Basics Export a list of applied fonts
  1. #1
    meetdilip meetdilip @meetdilip

    Is there any method I can export the last applied fonts into a text file? I often switch fonts and like to go back to old ones. But usually forget which I used before. Say I can find some method which keeps writing to text file each time a font in applied. Like if I use Poppins, Roboto, Atma, Outfit and again Poppins, any chance I can find them in that order?

  2. #2
    Polygon Polygon @Polygon🌶

    In the Text and Font Panel is a Collections sub menu which can list "Document Fonts" and "Recently Used Fonts" etc. Perhaps that can help.

  3. #3
    inklinea inklinea @inklinea⛰️
    *

    If you have the Simple Inkscape Scripting extension installed

    You should be able to paste the following code into the 'Python Code' box and click apply.

    font_family_elements = svg_root.xpath('//svg:*[contains(@style,"font-family")]')
    font_family_list = [x.style.get('font-family') for x in font_family_elements]
    font_family_no_dupe_list = (list(set(font_family_list)))
    [inkex.errormsg(x.replace('"','')) for x in font_family_no_dupe_list]

  4. #4
    meetdilip meetdilip @meetdilip

    Thanks @Polygon @inklinea :)

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Export a list of applied fonts