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: Sun, 1 Oct 2017 19:18:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

                 Summary: all plot functions throw errors when built with
--without-fontconfig
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Sun 01 Oct 2017 04:18:17 PM PDT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Building Octave with the '--without-fontconfig' option seems to work, but it
produces an Octave that can't do any plotting.

When I have more time I can go through historical versions of Octave to see
how they behaved, but in the current development branch, only a warning is
shown that says "features that depend on fontconfig will be disabled". Then
when attempting to plot anything, a runtime error is thrown:


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 is with any toolkit.

Can someone more familiar with the plotting system help determine how this
should be addressed? Is fontconfig now a hard requirement for any plotting
function using any of the toolkits? For the OpenGL toolkits only? Should there
be a fallback path that allows gnuplot to be used without fontconfig support?
Or should all plotting be disabled?




    _______________________________________________________

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]