The Gtk port doesn't currently draw text shadows for text decorations such as underlines.
Created attachment 21849 [details] patch to implement drawing shadows for lines
Created attachment 21914 [details] Updated patch due to changes from bug #19727
Comment on attachment 21914 [details] Updated patch due to changes from bug #19727 Isn't "drawLineForText" used for drawing underlines? Also this seems like kinda a gross hack. But maybe this is the cleanest way to do this with Cairo. Also, you don't respect Shadow-blur. I think that we should come up with a better way of drawing Cairo shadows instead of this. A shadow is a second copy of the entire image drawn at an offset and blurred.
*** This bug has been marked as a duplicate of bug 48074 ***