Bug 330185 - Text Brush: Letters are upside down when Rotation is set to Drawing Angle
Summary: Text Brush: Letters are upside down when Rotation is set to Drawing Angle
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 04:11 UTC by Chris Jones
Modified: 2015-02-03 12:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jones 2014-01-20 04:11:59 UTC
If a Text Brush is using Pipe mode and drawing angle is set to control rotation, the letters appear upside down when drawing from left to right.  When drawing right to left the letters are the right way up, but the sequence of letters is reversed.

Steps:

1.  Create a Text Brush and set it to Pipe mode
2.  Under Rotation check "Drawing angle"
3.  Draw

Beta 2 (2.7.9.5), Win 8.1 64 Bit
Comment 1 Aleksander Demko 2015-02-03 12:04:46 UTC
Git commit 8dd5a6c104ab91d2816227c07d34df8f9ee84840 by Aleksander Demko.
Committed on 03/02/2015 at 12:04.
Pushed by ademko into branch 'calligra/2.9'.
Rotation is set to Drawing Angle

This bug was fixed by adding a new feature/parameter "angleOffset"
to the drawing angle option. Settings this new parameter to
180 degrees will give the expected output in this user's case.

The core issue is that when the drawing angle option is enabled,
an angle of 180 it sent when moving the cursor RIGHT.
KisTextBrush could some how test for this case and manually
subtract 180 to get "no rotation" when travelling right, but this
would be an ugly hack.

M  +40   -5    krita/plugins/paintops/libpaintop/sensors/kis_dynamic_sensor_drawing_angle.cpp
M  +3    -0    krita/plugins/paintops/libpaintop/sensors/kis_dynamic_sensor_drawing_angle.h

http://commits.kde.org/calligra/8dd5a6c104ab91d2816227c07d34df8f9ee84840