From 8655885818137bc46fca80e4f662bbfb6975f83f Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 13 May 2015 13:35:38 +1000 Subject: Bug [#1703]. Fix bug when drawing text margins in buffered mode which would use default encoding instead of chosen encoding. --- gtk/PlatGTK.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk') diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 1445ac130..f2d8f190e 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -602,6 +602,7 @@ void SurfaceImpl::InitPixMap(int width, int height, Surface *surface_, WindowID cairo_set_line_width(context, 1); createdGC = true; inited = true; + et = surfImpl->et; } void SurfaceImpl::PenColour(ColourDesired fore) { -- cgit v1.2.3