From 0fef63956fadab854a40ccd852c487c433e34601 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 12 Apr 2013 16:41:31 +0200 Subject: [PATCH] Fixed text display using Cairo. --- common/gal/stroke_font.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/gal/stroke_font.cpp b/common/gal/stroke_font.cpp index a38966b2d1..8125b73a04 100644 --- a/common/gal/stroke_font.cpp +++ b/common/gal/stroke_font.cpp @@ -228,6 +228,8 @@ void STROKE_FONT::Draw( std::string aText, const VECTOR2D& aPosition, double aRo double scaleY = m_scaleFactor * m_glyphSize.y; double scaleX = m_scaleFactor * glyphSizeX; + m_gal->SetIsStroke( true ); + m_gal->SetIsFill( false ); m_gal->SetLineCap( LINE_CAP_ROUND ); m_gal->SetLineJoin( LINE_JOIN_ROUND );