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

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

[Octave-bug-tracker] [bug #49216] title texts in qt plots are "ugly"


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #49216] title texts in qt plots are "ugly"
Date: Sun, 9 Oct 2016 20:37:58 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #32, bug #49216 (project octave):

I too think it could be a font-processing problem.  Placing characters isn't
easy.  I can't find verdana in my LibreOffice, but in any case fonts is a main
component of such an app and I'd imagine LibreOffice programmers spent a lot
of time on the system font tools to make that correct.

As an aside, I notice when I set a 'fontname' that isn't recognized, Octave
defaults to some generic font.  On my system it's a mediocre font, but I don't
see any kerning/tracking problems with scaling.  The bogus name remains within
the property.  Should it do that as opposed to changing the string to empty?


octave:43> set(ht,'fontname', 'asdffdsa')
octave:44> get(ht,'fontname')
ans = asdffdsa


What may be a bug, however, is when I type in an empty string for the font
name (thinking that would get me back to the default):


octave:36> set(ht,'fontname', 'courier')
octave:37> set(ht,'fontname', 'times')
octave:38> set(ht,'fontname', 'helvetica')
octave:39> set(ht,'fontname', 'times')
octave:40> set(ht,'fontname', '')
error: ft_text_renderer: invalid bounding box, cannot render
octave:40> set(ht,'fontname', 'fdsasdaf')
octave:41> set(ht,'fontname', '')
error: ft_text_renderer: invalid bounding box, cannot render
octave:41> set(gca, 'xlabel', 'Hi')
octave:42> set(ht,'color','red')
error: ft_text_renderer: invalid bounding box, cannot render




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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