DIfferent handling of italic texts, depending on the mirroring setting.
This commit is contained in:
parent
24550f3f38
commit
dffacc18ec
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue