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

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

[Octave-bug-tracker] [bug #52150] all plot functions throw errors when b


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #52150] all plot functions throw errors when built with --without-fontconfig
Date: Mon, 2 Oct 2017 12:17:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

I think this is a corner case, so I would find option #2 acceptable. We had
these tests all bundled together before in configure and we have successfully
unbundled them. Instead of changing configure, I would change the code, so
that if HAVE_FONTCONFIG is undefined, the OpenGL toolkits are not built.

Let's assume we do that. Do you believe that the gnuplot toolkit should be
able to function normally without fontconfig? Because it doesn't.


$ ../configure --without-fontconfig --without-opengl --without-osmesa
--without-qt --disable-docs
$ make
...
$ ./run-octave -q
>> available_graphics_toolkits 
ans =
{
  [1,1] = gnuplot
}

>> plot (1)
warning: ft_text_renderer: unable to load appropriate font
warning: called from
    axes at line 66 column 10
    newplot at line 158 column 10
    plot at line 222 column 9
warning: ft_text_renderer: unable to load appropriate font
warning: called from
    axes at line 66 column 10
    newplot at line 158 column 10
    plot at line 222 column 9
warning: ft_text_renderer: unable to load appropriate font
warning: called from
    axes at line 66 column 10
    newplot at line 158 column 10
    plot at line 222 column 9
warning: ft_text_renderer: unable to load appropriate font
warning: called from
    axes at line 66 column 10
    newplot at line 158 column 10
    plot at line 222 column 9
warning: ft_text_renderer: unable to load appropriate font
warning: called from
    axes at line 66 column 10
    newplot at line 158 column 10
    plot at line 222 column 9
warning: ft_text_renderer: unable to load appropriate font
warning: called from
    axes at line 66 column 10
    newplot at line 158 column 10
    plot at line 222 column 9
warning: ft_text_renderer: unable to load appropriate font
warning: called from
    axes at line 66 column 10
    newplot at line 158 column 10
    plot at line 222 column 9
error: ft_text_renderer: invalid bounding box, cannot render
error: __goaxes__: unable to create graphics handle
error: called from
    axes at line 66 column 10
    newplot at line 158 column 10
    plot at line 222 column 9


This was the surprising part to me when I originally hit this bug. Is this
also fixable without including some fallback font file? Or should we also
disable the gnuplot toolkit?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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