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

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

[Octave-bug-tracker] [bug #43907] OpenGL render code called even when gn


From: Rik
Subject: [Octave-bug-tracker] [bug #43907] OpenGL render code called even when gnuplot is graphics_toolkit
Date: Wed, 01 Jul 2015 18:54:13 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #20, bug #43907 (project octave):

It's annoying, but I'm not sure its worth the programmer time.  The warning is
issued from deep within the C++ code and finding out at that point whether
gnuplot is the active toolkit by querying the figure's __graphic_toolkit__
property seems like a pain.

On the other hand, maybe you could cheat a little.  The code in txt-eng-ft.cc
for emitting the warning is


static void
gripe_missing_glyph (FT_ULong c)
{
  warning_with_id ("Octave:missing-glyph",
                   "ft_render: skipping missing glyph for character '%x'",
                   c);
}


Maybe when the toolkit is switched to gnuplot, the warning ID
Octave:missing-glyph is turned off.  This would be on a global, not a
per-figure, basis but it could be done quickly in an m-file and would only be
called once per session.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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