Go back to add_to_cairo_context rather than show_in_cairo_context.
authorCarl Hetherington <cth@carlh.net>
Sun, 27 Sep 2020 20:50:43 +0000 (22:50 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 27 Sep 2020 20:50:43 +0000 (22:50 +0200)
commit72c3a5f0f32f553a1f8abee2494f31d29b976383
tree251ba0bda2df84d8f65cbbfecf782697c0ca9ad8
parent06fd921dd4cac01673183a996feb70a00a1df083
Go back to add_to_cairo_context rather than show_in_cairo_context.

On Linux, at least, doing

add_to_cairo_context()
fill()
add_to_cairo_context()
stroke()

gives a nicer output than

show_in_cairo_context()

It's not clear exactly what the difference is, but the anti aliasing
looks better and the font outlines basically look smoother.

May help with #1815.
src/lib/render_text.cc