|
From: Juhász P. <pet...@gm...> - 2014-03-16 01:03:10
|
Recently I get the following messages when I first plot something with the wxt terminal: (gnuplot:19451): Gdk-CRITICAL **: IA__gdk_window_get_visual: assertion `GDK_IS_WINDOW (window)' failed (gnuplot:19451): Gdk-CRITICAL **: IA__gdk_window_get_visual: assertion `GDK_IS_WINDOW (window)' failed (gnuplot:19451): Gdk-CRITICAL **: IA__gdk_window_get_visual: assertion `GDK_IS_WINDOW (window)' failed (gnuplot:19451): Gdk-CRITICAL **: IA__gdk_window_get_visual: assertion `GDK_IS_WINDOW (window)' failed They appear harmless, but they are annoying. Also, much more recently, I suspect since the since the addition of italic and bold font attributes, the appearance of the wxt terminal changed. It uses a different, much thinner and somewhat bigger font for the labels and titles, but not for the key. It might be an OS-specific quirk of the font subsystem, but it also might be a sign of a deeper problem. Peter Juhasz |
|
From: sfeam <sf...@us...> - 2014-03-16 21:24:09
|
On Sunday, 16 March 2014 02:03:01 AM Juhász Péter wrote: > Recently I get the following messages when I first plot something with > the wxt terminal: > > (gnuplot:19451): Gdk-CRITICAL **: IA__gdk_window_get_visual: assertion > `GDK_IS_WINDOW (window)' failed > > They appear harmless, but they are annoying. A bit of googling suggests that for the last year or so a lot of people have seen that message triggered by a variety of programs. I get the impression from browsing the bug reports that they may be coming from the Gnome window manager, but I am not sure of that. I do know that I am using KDE and have never seen any such messages. > Also, much more recently, I suspect since the since the addition of > italic and bold font attributes, the appearance of the wxt terminal > changed. It uses a different, much thinner and somewhat bigger font for > the labels and titles, but not for the key. > Peter Juhasz There has been no change to the wxt terminal code since December. The bold/italic markup included a small change to the shared cairo code, also used by wxt, but I don't know why it would have resulted in changing your default font. Perhaps the change you see is actually due to defaulting to enhanced text mode. Do you see the same thing if you do "set term wxt noenhanced"? Ethan |
|
From: Juhász P. <pet...@gm...> - 2014-03-16 22:07:55
|
On Sun, 2014-03-16 at 14:22 -0700, sfeam wrote: > > Perhaps the change you see is actually due to defaulting to enhanced > text mode. Do you see the same thing if you do "set term wxt noenhanced"? > Bingo! I see no font change in noenhanced mode. I checked with an executable I compiled on 4 March, with that, I don't see any font change even in enhanced mode. > Ethan Peter |
|
From: sfeam <sf...@us...> - 2014-03-16 23:06:42
|
On Sunday, 16 March 2014 11:07:46 PM Juhász Péter wrote: > On Sun, 2014-03-16 at 14:22 -0700, sfeam wrote: > > > > > Perhaps the change you see is actually due to defaulting to enhanced > > text mode. Do you see the same thing if you do "set term wxt noenhanced"? > > > > Bingo! > > I see no font change in noenhanced mode. > > I checked with an executable I compiled on 4 March, with that, I don't > see any font change even in enhanced mode. There are only a few lines in gp_cairo.c that changed. Could you bisect or otherwise debug this? I'm not seeing this happen, so I don't think I can pursue it here. Ethan > > > Ethan > > Peter > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
|
From: Juhász P. <pet...@gm...> - 2014-03-17 13:03:16
|
On Sun, 2014-03-16 at 16:08 -0700, sfeam wrote: > On Sunday, 16 March 2014 11:07:46 PM Juhász Péter wrote: > > On Sun, 2014-03-16 at 14:22 -0700, sfeam wrote: > > > > > > > > Perhaps the change you see is actually due to defaulting to enhanced > > > text mode. Do you see the same thing if you do "set term wxt noenhanced"? > > > > > > > Bingo! > > > > I see no font change in noenhanced mode. > > > > I checked with an executable I compiled on 4 March, with that, I don't > > see any font change even in enhanced mode. > > > There are only a few lines in gp_cairo.c that changed. > Could you bisect or otherwise debug this? > I'm not seeing this happen, so I don't think I can pursue it here. > If I comment line 1169 in gp_cairo.c pango_attr_list_insert (AttrList, p_attr_weight); the problem disappears, that is, the terminal regains its former look. Peter |