Opened 12 years ago

Closed 11 years ago

#35837 closed defect (worksforme)

gnuplot & wxWidgets(-devel): broken fonts

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jyrkiwahlstedt, ryandesign (Ryan Carsten Schmidt)
Port:

Description

I think that this worked some time ago, but I won't swear it. The wxt terminal in gnuplot doesn't show any text labels at all (it seems like broken font initialization) and if I try

set term wxt font "WhateverFont,16"

it crashes with:

(process:3664): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(process:3664): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed

(process:3664): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-CRITICAL **: void pango_fontset_foreach(PangoFontset *, PangoFontsetForeachFunc, gpointer): assertion `PANGO_IS_FONTSET (fontset)' failed

(process:3664): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderCoreText', script='common'

(process:3664): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(process:3664): Pango-WARNING **: couldn't load font "Lucida Not-Rotated 320", modified variant/weight/stretch as fallback, expect ugly output.

(process:3664): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(process:3664): Pango-ERROR **: Could not load fallback font, bailing out.
Trace/BPT trap: 5

I didn't fill the Port in since it is not clear to me at this point if this is gnuplot, wxWidgets or Pango issue. This happens both with wxWidgets and wxWidgets-devel. I didn't play with different versions of pango & glib2.

Change History (4)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

At least some of this should now be fixed; see #37129. Please test again and let us know.

comment:2 Changed 12 years ago by mojca (Mojca Miklavec)

I have some problems properly testing this at the moment. The reason: on two different macs, both running an up-to-date 10.7, up-to-date MacPorts (I didn't sync the commit you mention yet), the only difference being the Xcode version (4.3.3 vs. 4.3.2). On the one I'm working right now (Xcode 4.3.2) the wxWidgets terminal doesn't show any label at all. Just lines and graphics, no text.

comment:3 Changed 12 years ago by mojca (Mojca Miklavec)

On the computer with Xcode 4.3.3 (but maybe there are other differences like a different set of flags on some ports) I don't even see that crash (and labels work) before the upgrade. So I'm in fact totally confused. I definitely volunteer to test, but I'm not sure how to do a reliable test without something reliable to compare with.

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: worksforme
Status: newclosed

It seems that I was the only one bitten by this and I'm not even sure how to reproduce it myself. Let's close it. If anyone else will be bitten by it, please report/reopen the report.

Note: See TracTickets for help on using tickets.