Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xscreensaver cannot find font alternatives
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Sun Mar 24, 2019 1:22 pm    Post subject: [SOLVED] xscreensaver cannot find font alternatives Reply with quote

Hi all.

I've just upgraded my Gentoo laptop and now I can see xscreensaver throws the following warnings with my currently selected "module" (flurry):
Code:
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-180-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-courier-medium-r-*-*-*-140-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-medium-r-*-*-*-80-*-*-*-iso8859-1"
xscreensaver: unable to find any alternatives to "-*-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1"

I have seen this issue in arch from the forum but I cannot seem to figure out how to fix this when applying the solution to Gentoo. I have installed package "media-fonts/freefonts" but it doesn't help. I've also tried to tweak /usr/share/fonts/misc/fonts.alias but it didn't help either (I scrapped my changes).

I guess it's all got to do with providing font aliases such as *-helvetica-* or something but I don't really understand how it works. How can I fix those warnings?

Thanks a lot in advance for any hint/suggestion.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!


Last edited by VinzC on Tue Jun 18, 2019 10:15 am; edited 1 time in total
Back to top
View user's profile Send private message
kurisu
Apprentice
Apprentice


Joined: 19 Jan 2011
Posts: 157
Location: Munich, Germany

PostPosted: Wed Mar 27, 2019 2:31 pm    Post subject: Reply with quote

You should install x11-base/xorg-x11[fonts]. Requires some extra disk space, but works.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8205
Location: ~Brussels - Belgique

PostPosted: Thu Mar 28, 2019 6:01 pm    Post subject: Reply with quote

Hi,

Try with media-fonts/font-adobe-100dpi
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Sat Apr 06, 2019 9:12 am    Post subject: Reply with quote

Thanks Xavier and kurisu. Will try that. This said, is it not possible to define aliases for those missing fonts?

EDIT: I tried media-fonts/font-adobe-100dpi but it doesn't seem to work. I ran xset fp rehash as suggested, killed then restarted the screen saver daemon, no change. I find it weird as I have media-fonts/liberation-fonts installed, which provides Helvetica/Times/Courier replacement fonts... I guess the requested sizes (120, 140 & 180) does cause troubles.

kurisu wrote:
You should install x11-base/xorg-x11[fonts]. Requires some extra disk space, but works.

I may be dumb but I don't find such package :?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
paulez
n00b
n00b


Joined: 15 Oct 2009
Posts: 2
Location: Seattle

PostPosted: Thu May 09, 2019 5:07 am    Post subject: Reply with quote

It's the x11-base/xorg-x11 package with the fonts use flag enabled.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Fri May 24, 2019 3:07 pm    Post subject: Reply with quote

paulez wrote:
It's the x11-base/xorg-x11 package with the fonts use flag enabled.

Uh-oh... I see. There's a bunch of dependencies that get pulled by that — I didn't have that package installed on my laptop:
emerge -avq xorg-x11:
[ebuild  N    ] media-fonts/font-bh-type1-1.0.3-r1  USE="X"
[ebuild  N    ] x11-apps/xcmsdb-1.0.5
[ebuild  N    ] media-fonts/font-adobe-utopia-type1-1.0.4-r1  USE="X"
[ebuild  N    ] media-fonts/font-sun-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-bitstream-100dpi-1.0.3-r1  USE="X nls"
[ebuild  N    ] media-fonts/font-misc-meltho-1.0.3-r1  USE="X"
[ebuild  N    ] x11-apps/xwd-1.0.7
[ebuild  N    ] x11-apps/xwud-1.0.5
[ebuild  N    ] x11-themes/xcursor-themes-1.0.5
[ebuild  N    ] media-fonts/font-dec-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-bitstream-speedo-1.0.2-r1  USE="X"
[ebuild  N    ] x11-apps/xmodmap-1.0.9
[ebuild  N    ] media-fonts/font-ibm-type1-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-xfree86-type1-1.0.4-r1  USE="X"
[ebuild  N    ] x11-apps/xhost-1.0.7  USE="ipv6"
[ebuild  N    ] media-fonts/font-bitstream-type1-1.0.3-r1  USE="X"
[ebuild  N    ] x11-apps/x11perf-1.6.0
[ebuild  N    ] x11-apps/xrefresh-1.0.6
[ebuild  N    ] media-fonts/font-bh-75dpi-1.0.3-r1  USE="X nls"
[ebuild  N    ] media-fonts/font-adobe-75dpi-1.0.3-r1  USE="X nls"
[ebuild  N    ] media-fonts/font-bh-100dpi-1.0.3-r1  USE="X nls"
[ebuild  N    ] media-fonts/font-daewoo-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-misc-cyrillic-1.0.3-r1  USE="X nls"
[ebuild  N    ] x11-apps/xkbevd-1.1.4
[ebuild  N    ] x11-apps/xpr-1.0.5
[ebuild  N    ] media-fonts/font-isas-misc-1.0.3-r1  USE="X"
[ebuild  N    ] x11-apps/xlsclients-1.1.4
[ebuild  N    ] x11-apps/xkill-1.0.5
[ebuild  N    ] x11-apps/xsetroot-1.1.2
[ebuild  N    ] media-fonts/font-bh-lucidatypewriter-100dpi-1.0.3-r1  USE="X nls"
[ebuild  N    ] x11-apps/xgamma-1.0.6
[ebuild  N    ] x11-apps/xkbutils-1.0.4
[ebuild  N    ] media-fonts/font-bh-ttf-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-bh-lucidatypewriter-75dpi-1.0.3-r1  USE="X nls"
[ebuild  N    ] x11-apps/xlsatoms-1.1.2
[ebuild  N    ] media-fonts/font-cronyx-cyrillic-1.0.3-r1  USE="X nls"
[ebuild  N    ] x11-apps/smproxy-1.0.6
[ebuild  N    ] x11-apps/bitmap-1.0.8
[ebuild  N    ] media-fonts/font-mutt-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-bitstream-75dpi-1.0.3-r1  USE="X nls"
[ebuild  N    ] media-fonts/font-jis-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-cursor-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-winitzki-cyrillic-1.0.3-r1  USE="X nls"
[ebuild  N    ] media-fonts/font-screen-cyrillic-1.0.4-r1  USE="X nls"
[ebuild  N    ] x11-apps/xev-1.2.2
[ebuild  N    ] media-fonts/font-sony-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-adobe-utopia-75dpi-1.0.4-r1  USE="X nls"
[ebuild  N    ] x11-apps/xvinfo-1.1.3
[ebuild  N    ] x11-apps/sessreg-1.1.1
[ebuild  N    ] media-fonts/font-micro-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-schumacher-misc-1.1.2-r1  USE="X nls"
[ebuild  N    ] media-fonts/font-misc-ethiopic-1.0.3-r1  USE="X"
[ebuild  N    ] x11-apps/xdriinfo-1.0.6
[ebuild  N    ] media-fonts/font-adobe-utopia-100dpi-1.0.4-r1  USE="X nls"
[ebuild  N    ] media-fonts/font-arabic-misc-1.0.3-r1  USE="X"
[ebuild  N    ] media-fonts/font-adobe-100dpi-1.0.3-r1  USE="X nls"
[ebuild  N    ] x11-libs/libXxf86dga-1.1.4-r1  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N    ] x11-apps/xbacklight-1.2.2
[ebuild  N    ] x11-apps/xf86dga-1.0.3
[ebuild  N    ] x11-base/xorg-x11-7.4-r3  USE="fonts"

But it's working (at least seemingly) okay. At least I have some tests ahead before I close this case ;-) .
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Tue Jun 18, 2019 10:14 am    Post subject: Reply with quote

The problem was solved by itself after another upgrade... and a reboot! :-D
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4357
Location: Dallas area

PostPosted: Tue Jun 18, 2019 10:44 am    Post subject: Reply with quote

VinzC wrote:
Thanks Xavier and kurisu. Will try that. This said, is it not possible to define aliases for those missing fonts?

EDIT: I tried media-fonts/font-adobe-100dpi but it doesn't seem to work. I ran xset fp rehash as suggested, killed then restarted the screen saver daemon, no change. I find it weird as I have media-fonts/liberation-fonts installed, which provides Helvetica/Times/Courier replacement fonts... I guess the requested sizes (120, 140 & 180) does cause troubles.

kurisu wrote:
You should install x11-base/xorg-x11[fonts]. Requires some extra disk space, but works.

I may be dumb but I don't find such package :?


If you're running xorg-server you don't need xorg-x11, you just need the fonts installed.

VinzC wrote:
The problem was solved by itself after another upgrade... and a reboot! :-D

Good
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Fri Jun 21, 2019 4:47 pm    Post subject: Reply with quote

Anon-E-moose wrote:
If you're running xorg-server you don't need xorg-x11, you just need the fonts installed.

I forgot to say "thanks"... :oops: :wink:
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1570
Location: Germany

PostPosted: Thu Nov 28, 2019 6:34 am    Post subject: Reply with quote

Anon-E-moose wrote:
If you're running xorg-server you don't need xorg-x11, you just need the fonts installed.
But which of all those fonts are required to get rid of the xscreensaver error message? What is the reason for this message if I have media-fonts/liberation-fonts installed as well like VinzC said.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1902
Location: Frankfurt, Germany

PostPosted: Fri Nov 29, 2019 3:08 am    Post subject: Reply with quote

Massimo B. wrote:
But which of all those fonts are required to get rid of the xscreensaver error message? What is the reason for this message if I have media-fonts/liberation-fonts installed as well like VinzC said.

If you get messages like
Code:
-*-helvetica-bold-r-*-*-*-180-*-*-*-iso8859-1
-*-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
-*-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
-*-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
-*-courier-medium-r-*-*-*-140-*-*-*-iso8859-1
-*-helvetica-medium-r-*-*-*-80-*-*-*-iso8859-1
-*-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1

you're in the domain of old-fashioned bitmap fonts. A TrueType font like 'media-fonts/liberation-fonts' almost certainly won't help. It's time to install 'media-fonts/font-adobe-75dpi' and 'media-fonts/font-adobe-100dpi'... Don't forget to install 'xlsfonts' and 'xfontsel' as well - they will definitely catapult you back into the 90s :-)

In other words: try to avoid programs that print messages like: '-*-helvetica-bold-r-*-*-*-180-*-*-*-iso8859-1'. :-)
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1570
Location: Germany

PostPosted: Fri Nov 29, 2019 6:42 am    Post subject: Reply with quote

Is that because xscreensaver itself is so very 90s, or is this caused by the screensaver "/usr/lib64/misc/xscreensaver/geodesic" I'm using?
I haven't tried all the xfce4-screensaver or gnome-screensaver (dropped from portage?) for a long time now..
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1570
Location: Germany

PostPosted: Fri Nov 29, 2019 8:42 am    Post subject: Reply with quote

mike155 wrote:
you're in the domain of old-fashioned bitmap fonts. A TrueType font like 'media-fonts/liberation-fonts' almost certainly won't help. It's time to install 'media-fonts/font-adobe-75dpi' and 'media-fonts/font-adobe-100dpi'...
I did so, ran 'xset fp rehash', restarted the xscreensaver daemon. But I still get the same errors.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1902
Location: Frankfurt, Germany

PostPosted: Fri Nov 29, 2019 3:07 pm    Post subject: Reply with quote

Massimo B. wrote:
But I still get the same errors.

It's more difficult than I thought...
  1. xscreensaver uses font names like '-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-' in its source code. So it's probably xscreensaver, not geodesic.
  2. When I start xscreensaver from my terminal window, I get a splash screen with some text on it and 2 buttons ('Settings' and 'Help').
  3. If I remove the packages 'font-adobe-75dpi' and 'font-adobe-100dpi' and if I start xscreensaver then, the text on the splash screen is rendered with a different font. So packages 'font-adobe-75dpi' and 'font-adobe-100dpi' make a difference, at least on my machine.
If I understand correctly, your machine behaves differently:
  1. You get error messages instead of a fallback font, right? When exactly? When the splash screen appears?
  2. Installation or removal of the packages 'font-adobe-75dpi' and 'font-adobe-100dpi' doesn't seem to make a difference on the splash screen, right?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Tue Dec 03, 2019 11:43 am    Post subject: Reply with quote

Well, again after upgrading (this time to Xfce 14) the font messages are back. Too bad I didn't take note of what happened last time they went away :? :D . Sure, installing those adobe fonts still didn't help — and I don't remember having done anything about that in the past... :roll: Will investigate again.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Sun Dec 08, 2019 7:02 am    Post subject: Reply with quote

Well, after rebooting the computer I no longer see those messages... go figure :roll: .
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum