Package: nfoview
Version: 1.28.1-1
Severity: important

Dear Maintainer,

nfoview failed to launch after I configured it to use a custom font (i.e.
Terminus (TTF) Bold 12).

I found a simple workaround, though: putting the font's name between double-
quotes in my '~/.config/nfoview/nfoview.conf' file.

Best regards,

- Nicolas Jeanne.

----
Failed to open None: gtk-css-provider-error-quark: <data>:4:30Junk at end of
value for font-family (1)
Traceback (most recent call last):
  File "/usr/share/nfoview/nfoview/application.py", line 51, in open_window
    window = nfoview.Window(path)
  File "/usr/share/nfoview/nfoview/window.py", line 37, in __init__
    self.view = nfoview.TextView()
  File "/usr/share/nfoview/nfoview/view.py", line 36, in __init__
    self.update_style()
  File "/usr/share/nfoview/nfoview/view.py", line 136, in update_style
    nfoview.util.apply_style(self)
  File "/usr/share/nfoview/nfoview/util.py", line 63, in apply_style
    provider.load_from_data(bytes(css.encode()))
gi.repository.GLib.GError: gtk-css-provider-error-quark: <data>:4:30Junk at end
of value for
font-family (1)
----


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nfoview depends on:
ii  gir1.2-gtk-3.0  3.24.33-2
ii  python3         3.10.4-1+b1
ii  python3-gi      3.42.1-1

Versions of packages nfoview recommends:
ii  fonts-cascadia-code  2102.03-1

nfoview suggests no packages.

-- no debconf information

Reply via email to