User:Humitos/PyGObjectIssues

From Sugar Labs
< User:Humitos
Revision as of 14:21, 27 July 2012 by Humitos (talk | contribs) (Created page with "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=68066...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.