Changes

Jump to navigation Jump to search
No change in size ,  20:07, 26 July 2012
Line 354: Line 354:  
pango_layout = PangoCairo.create_layout(cairo_context)
 
pango_layout = PangoCairo.create_layout(cairo_context)
 
fd = Pango.FontDescription('Sans')
 
fd = Pango.FontDescription('Sans')
fd.set_size(12 * pango.SCALE)
+
fd.set_size(12 * Pango.SCALE)
 
pango_layout.set_font_description(fd)
 
pango_layout.set_font_description(fd)
 
pango_layout.set_text('Hello World', -1)
 
pango_layout.set_text('Hello World', -1)
266

edits

Navigation menu