octave-bug-tracker
[Top][All Lists]
Advanced

[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: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #33118] FLTK and Qt: text rotation fails for angles other than 90 degrees
Date: Thu, 22 Dec 2016 09:53:30 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #11, bug #33118 (project octave):

@Rik:
>> It seems that as a first take, we could just calculate a rotation matrix
(R) and then use ...

Yes, one could try this approach but I fear that the result would be of poor
quality. Freetype initially applies antialiasing on glyphs so that they are
rasterized smoothly on the original grid. After rotation one would have to
interpolate pixels colors to make them fit into the output pixmap (see
"imtransform" in the image package) and antialiasing would then be lost.

Freetype has tools to rotate/transform glyphs before rasterization but it
would be a deeper change into txt-renderer.cc

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33118>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]