Fixed text display using Cairo.
This commit is contained in:
parent
e3cb0aa36f
commit
e1fcd31381
|
@ -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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue