[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot |
Date: |
Sat, 16 Feb 2019 12:21:20 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Follow-up Comment #6, bug #53091 (project octave):
Good point. I didn't understand that the Octave print script didn't even
print with the change from bug #55648.
I've done
linux@ gnuplot
linux@ load 'after.gp'
and see no warning on my system. (Perhaps warnings are directed somewhere
else on my system, but I see plenty of warnings coming from GTK+ and the usual
GUI framework, generally speaking, not from this particular Octave/gnuplot
script.) I've replaced "Helvetica" with "Sans", "Times", "BogusFont" and see
no warnings. The "Times" selection results in a font that does have serifs,
so at least the substitution seems to make sense.
I don't think I'd consider this an Octave bug. In fact, it isn't even a
gnuplot bug, as I don't see the phrase "ugly output" in the gnuplot source
tree anywhere. I've cloned the Pango source
https://www.pango.org/Download
git clone https://gitlab.gnome.org/GNOME/pango.git
and here's where I see the phrase 'ugly output':
linux@ ~/src/pango/pango $ grep "ugly output" */*
grep: docs/xml: Is a directory
pango/pangocairo-font.c: g_warning ("failed to create cairo %s, expect
ugly
output. the offending font is '%s'",
pango/pango-context.c: g_warning ("failed to choose a font, expect ugly
output. engine-type='%s', script='%s'",
pango/pangocoretext-fontmap.c: "weight/stretch as
fallback, expect ugly output.",
pango/pango-fontmap.c: "expect ugly output.", ctmp1, ctmp2);
pango/pango-fontmap.c: "expect ugly output.", ctmp1, ctmp2);
pango/pangowin32-fontmap.c: "expect ugly output.", ctmp1,
ctmp2);
pango/pangowin32-fontmap.c: "expect ugly output.", ctmp1,
ctmp2);
pango/shape.c: g_warning ("shaping failure, expect ugly output.
shape-engine='%s', font='%s', text='%.*s'",
So it is a Pango warning.
Why Avinoam sees the warning and I don't, I have no idea. A.K., when you
started seeing this warning, had you just finished a system upgrade or
something? Perhaps a linux bundle decided to compile Pango or gnuplot in some
kind of verbose mode or something.
I've searched the Pango code for g_warning but don't see it inside a header
file, so it's definition must come glib:
https://developer.gnome.org/glib/unstable/glib-Message-Logging.html#g-warning
and I'm guessing there is some way to compile with/without warning messages
and perhaps on Avinoam's system the glib warnings are appearing somehow.
However, I do imagine on my system there is all kinds of font substitution
going on as well.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?53091>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Avinoam Kalma, 2019/02/13
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Dan Sebald, 2019/02/14
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Markus Mützel, 2019/02/16
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot,
Dan Sebald <=
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Markus Mützel, 2019/02/16
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Dan Sebald, 2019/02/16
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Markus Mützel, 2019/02/17
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Avinoam Kalma, 2019/02/17
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Markus Mützel, 2019/02/17
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Avinoam Kalma, 2019/02/17
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Mike Miller, 2019/02/17
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Rik, 2019/02/17
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Markus Mützel, 2019/02/18
- [Octave-bug-tracker] [bug #53091] [MXE-Octave] new warning from gnuplot, Pantxo Diribarne, 2019/02/19