Gtk error when I try to open and isntall a new font

Bug #1706452 reported by Juan Gabriel Fraire López
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-font-viewer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I did doble-click on top of a font the font viewer is not open.

When I run from the console the command `gnome-font-viewer in-mono.otf` it shows this error:
⇒ gnome-font-viewer in-mono.otf

(gnome-font-viewer:3639): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-font-viewer:3639): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-font-viewer:3639): Gtk-CRITICAL **: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
[1] 3639 segmentation fault (core dumped) gnome-font-viewer in-mono.otf

If I try with sudo throws this other error:
⇒ sudo gnome-font-viewer in-mono.otf
No protocol specified
Unable to init server: Could not connect: Connection refused

(gnome-font-viewer:3609): Gtk-WARNING **: cannot open display: :0

I tried with different kind of fonts (ttf, otf ...)

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-font-viewer 3.24.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8
Uname: Linux 4.11.0-10-generic x86_64
ApportVersion: 2.20.6-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Jul 25 23:19:53 2017
InstallationDate: Installed on 2017-07-25 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170723)
SourcePackage: gnome-font-viewer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Juan Gabriel Fraire López (groteck) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-font-viewer (Ubuntu):
status: New → Confirmed
Revision history for this message
John Bales (john-w-bales) wrote :

jbales@bales:~/myfonts$ sudo gnome-font-viewer Snell-Roundhand-Script.ttf
[sudo] password for jbales:
No protocol specified
Unable to init server: Could not connect: Connection refused

(gnome-font-viewer:19642): Gtk-WARNING **: cannot open display: :0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.