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

This commit is contained in:
Maciej Suminski 2013-12-05 17:00:29 +01:00
parent 24550f3f38
commit dffacc18ec
1 changed files with 4 additions and 1 deletions

View File

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