Fixed text display using Cairo.

This commit is contained in:
Maciej Suminski 2013-04-12 16:41:31 +02:00
parent e3cb0aa36f
commit e1fcd31381
1 changed files with 2 additions and 0 deletions

View File

@ -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 );