Simplify creation of pango layout in xr driver. 20130112030502/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 11 Jan 2013 14:26:58 +0000 (15:26 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 12 Jan 2013 08:00:57 +0000 (09:00 +0100)
commita50c92abb67c3086a56c754cfb14a8873eaee6eb
treef9f18ebe9248e228a6012435bb69aa1bca41e38f
parentcf334edc03b5898ad364c98dfe22dcf8a634f671
Simplify creation of pango layout in xr driver.

Create the layouts with pango_cairo_create_layout instead of
pango_layout_new.  This seems simpler and avoids a kludge.

Reviewed-By: Ben Pfaff
src/output/cairo.c