[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33118] FLTK and Qt: text rotation fails for a
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #33118] FLTK and Qt: text rotation fails for angles other than 90 degrees |
Date: |
Tue, 20 Dec 2016 21:46:47 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #10, bug #33118 (project octave):
I'm adding Pantxo to the CC list for this 5-year old bug because he often has
a good understanding of OpenGL. In this case, the issue seems to have been
traced back to the function
ft_text_renderer::render (text_element *elt, Matrix& box, int rotation)
which is in libinter/corefcn/ft-text-renderer.cc:1113.
It seems that as a first take, we could just calculate a rotation matrix (R)
and then use
pixels = R * pixels;
since the multiplication operator should be defined for uint8NDArray types.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33118>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/