[layout] When computing empty line extents, use both layout and context fontdesc
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 6 Apr 2009 23:47:40 +0000 (19:47 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 6 Apr 2009 23:47:40 +0000 (19:47 -0400)
commitb6b9a22500c3e760f7c05d6c1fd62ff1529dee1b
tree160f862e46407afa832950f1aa49d0a5ec8daf1a
parent5ea040faf98de83101d50d1dfa141cdaf0cc5c2f
[layout] When computing empty line extents, use both layout and context fontdesc

By merging them.  This is what happens for loading fonts in pango-context.
We should do the same or we'll get zero-size fonts if layout has a font desc
set with no size.
pango/pango-layout.c