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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48446] uicontrol extent returns sum of glyph


From: Andreas Weber
Subject: [Octave-bug-tracker] [bug #48446] uicontrol extent returns sum of glyph width instead sum of advance width
Date: Fri, 8 Jul 2016 12:59:25 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0

Follow-up Comment #2, bug #48446 (project octave):

The bbox calculations in ft-text-renderer.cc seems fine (the advance is
caluclated in
http://hg.octave.org/octave/file/tip/libinterp/corefcn/ft-text-renderer.cc#l808)

The problem is that the extent property from uicontrol asks ft-text-renderer
but the uicontrol is qt object which doesn't use this renderer to display
text. I only can imagine that there is a fontsize or -name mismatch.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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