User:Humitos/PyGObjectIssues

From Sugar Labs
Jump to navigation Jump to search

Here are listed all the bugs that we fund into PyGObject while we were porting activities to Gtk3:

  • DPI fonts in PangoCairo: https://bugzilla.gnome.org/show_bug.cgi?id=680663
    • Daniel, Martin and I were working on this and Martin told me about trying 133 as the "magic" dpi number. It worked, but Daniel told us that it's not the right way to move on. So we are trying to change the way that we were creating the Pango Layout using:
cr = drawable.get_window().cairo_create()
drawable.create_pango_layout(cairo_context)

instead of:

cr = drawable.get_window().cairo_create()
pango_layout = PangoCairo.create_layout(cr)

I'm not sure if this is definetly solution.