Inkscape.org
Creating New Extensions Page Numbering
  1. #1
    inklinea inklinea @inklinea⛰️
    • I've got bored again of writing this extension - but I'll post what I have done so far

    • https://gitlab.com/inklinea/page-numbering

    • Currently supports numbering pages and numbering with watermarking combo

    • and some ropey .csv support

    • The simple numbering will adjust for documents with lots of different sized pages

    • The object ( watermarking ) will not

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    Looks pretty nifty. :)

    I tried changing the font, but must be doing it wrong:

    <frozen importlib._bootstrap>:671: ImportWarning: DynamicImporter.exec_module() not found; falling back to load_module()
    Traceback (most recent call last):
      File "C:\Program Files\Inkscape\lib\python3.10\site-packages\gi\importer.py", line 142, in load_module
        introspection_module = get_introspection_module(namespace)
      File "C:\Program Files\Inkscape\lib\python3.10\site-packages\gi\module.py", line 257, in get_introspection_module
        module = IntrospectionModule(namespace, version)
      File "C:\Program Files\Inkscape\lib\python3.10\site-packages\gi\module.py", line 109, in __init__
        repository.require(namespace, version)
    gi.RepositoryError: Typelib file for namespace 'freetype2', version '2.0' not found
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "C:\Users\Marty\AppData\Roaming\inkscape\extensions\font_chooser.py", line 30, in <module>
        from gi.repository import Gtk
      File "C:\Program Files\Inkscape\lib\python3.10\site-packages\gi\importer.py", line 144, in load_module
        raise ImportError(e)
    ImportError: Typelib file for namespace 'freetype2', version '2.0' not found

     

  3. #3
    inklinea inklinea @inklinea⛰️

    Yes I think it's the same problem as popped up for the extension manager, that you mentioned in the other thread. Seems to be Inkscape 1.2.1 related.