Commit dffacc18 authored by Maciej Suminski's avatar Maciej Suminski

DIfferent handling of italic texts, depending on the mirroring setting.

parent 24550f3f
...@@ -297,7 +297,10 @@ void STROKE_FONT::drawSingleLineText( const wxString& aText ) ...@@ -297,7 +297,10 @@ void STROKE_FONT::drawSingleLineText( const wxString& aText )
{ {
// FIXME should be done other way - referring to the lowest Y value of point // FIXME should be done other way - referring to the lowest Y value of point
// because now italic fonts are translated a bit // because now italic fonts are translated a bit
pointPos.x += pointPos.y * 0.1; if( m_mirrored )
pointPos.x += pointPos.y * 0.1;
else
pointPos.x -= pointPos.y * 0.1;
} }
pointListScaled.push_back( pointPos ); pointListScaled.push_back( pointPos );
......
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