Commit dffacc18 authored by Maciej Suminski's avatar Maciej Suminski
Browse files

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

parent 24550f3f
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -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
                    if( m_mirrored )
                        pointPos.x += pointPos.y * 0.1;
                        pointPos.x += pointPos.y * 0.1;
                    else
                        pointPos.x -= pointPos.y * 0.1;
                }
                }


                pointListScaled.push_back( pointPos );
                pointListScaled.push_back( pointPos );