Mirrored text display bugfix.

This commit is contained in:
Maciej Suminski 2013-07-01 14:06:38 +02:00
parent a73216fc95
commit 8a44751b61
1 changed files with 4 additions and 1 deletions

View File

@ -183,10 +183,13 @@ void STROKE_FONT::Draw( std::string aText, const VECTOR2D& aPosition, double aRo
break;
case GR_TEXT_HJUSTIFY_RIGHT:
m_gal->Translate( VECTOR2D( -textsize.x, 0 ) );
if( !m_mirrored )
m_gal->Translate( VECTOR2D( -textsize.x, 0 ) );
break;
case GR_TEXT_HJUSTIFY_LEFT:
if( m_mirrored )
m_gal->Translate( VECTOR2D( -textsize.x, 0 ) );
break;
default: