[go: up one dir, main page]

Fixed: Missing harfbuzz typelib in gobject introspection (Windows only)

@ede123 Extensions with a user GTK interface are broken in Inkscape 1.0.1 for Windows. Launching such extensions complain as follows:

gi.RepositoryError: Typelib file for namespace 'HarfBuzz', version '0.0' not found

Reason is a missing typelib file in the underlying msys2 distro. The problem has been introduced by the most recent Gtk/Pango version. Other projects are affected by this change too, see e.g. here. This merge request fixes this issue.

It can be easily tested by executing the following code in the Python interpreter packaged in Inkscape for Windows:

    import gi
    gi.require_version("Gtk", "3.0")
    from gi.repository import Gtk
    from gi.repository import Gdk, GdkPixbuf

It fails in Inkscape 1.0.1 and it succeeds with this fix.

It would be nice if this could be included in the Inkscape_1_0_x branch as well so we have it in Inkscape 1.0.2 available.

Maybe we could setup a unit test to avoid such errors in the future. Where do I have to look for in the Inkscape source/ build chain?

Merge request reports

Loading