Commit e1fcd313 authored by Maciej Suminski's avatar Maciej Suminski

Fixed text display using Cairo.

parent e3cb0aa3
...@@ -228,6 +228,8 @@ void STROKE_FONT::Draw( std::string aText, const VECTOR2D& aPosition, double aRo ...@@ -228,6 +228,8 @@ void STROKE_FONT::Draw( std::string aText, const VECTOR2D& aPosition, double aRo
double scaleY = m_scaleFactor * m_glyphSize.y; double scaleY = m_scaleFactor * m_glyphSize.y;
double scaleX = m_scaleFactor * glyphSizeX; double scaleX = m_scaleFactor * glyphSizeX;
m_gal->SetIsStroke( true );
m_gal->SetIsFill( false );
m_gal->SetLineCap( LINE_CAP_ROUND ); m_gal->SetLineCap( LINE_CAP_ROUND );
m_gal->SetLineJoin( LINE_JOIN_ROUND ); m_gal->SetLineJoin( LINE_JOIN_ROUND );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment