Description of problem: After installing `bitmap-lucida-typewriter-fonts-0.3-28.fc28.noarch` and restarting X, Lucida font does not show up in `xlsfonts`. Version-Release number of selected component (if applicable): bitmap-lucida-typewriter-fonts-0.3-28.fc28.noarch How reproducible: Always Steps to Reproduce: 1. `dnf install bitmap-lucida-typewriter-fonts` 2. `xlsfonts | grep -i lucida` Actual results: `xlsfonts | grep -i lucida` produces no output Expected results: `xlsfonts | grep -i lucida` lists the Lucida font Additional info: `xlsfonts` works fine otherwise and lists ~580 fonts: ``` xlsfonts | wc -l 584 ```
After installing bitmap-lucida-typewriter-fonts package, I see this on F29 $ xlsfonts | wc -l 1035 $ xlsfonts | grep -i lucida|wc -l 212
Oh no, I can reproduce this on Fresh f29 installation.
Can you provide output of below command? $ rpm -qa | grep xorg-x11-fonts You can get Lucida font from xorg-x11-fonts-* packages. Install them and then "xlsfonts". No need then to install "bitmap-lucida-typewriter-fonts"
Apparently bitmap-fonts has never provided fonts.dir file which is required to provide the meta data for X Core fonts system. and xorg-x11-fonts packages also provides lucida typewriter bitmap fonts too for legacy system.
``` > rpm -qa | grep xorg-x11-fonts xorg-x11-fonts-misc-7.5-19.fc28.noarch ``` It seems that Lucida is only provided by `bitmap-lucida-typewriter-fonts` package: ``` > dnf whatprovides \*lucida\* bitmap-lucida-typewriter-fonts-0.3-28.fc28.noarch : Selected CJK bitmap fonts : for Anaconda Repo : fedora Matched from: Provide : font(lucidatypewriter) Provide : bitmap-lucida-typewriter-fonts = 0.3-28.fc28 Provide : config(bitmap-lucida-typewriter-fonts) = 0.3-28.fc28 ... texlive... FlightGear... ``` I can't find a `xorg-x11-fonts` package, but there are many similar ones: ``` > dnf search xorg-x11-fonts Last metadata expiration check: 0:43:11 ago on Thu 29 Nov 2018 07:59:57 AM -02. ========================= Name Matched: xorg-x11-fonts ========================= xorg-x11-fonts-misc.noarch : misc bitmap fonts for the X Window System xorg-x11-fonts-75dpi.noarch : A set of 75dpi resolution fonts for the X Window : System xorg-x11-fonts-Type1.noarch : Type1 fonts provided by the X Window System xorg-x11-fonts-100dpi.noarch : A set of 100dpi resolution fonts for the X Window : System xorg-x11-fonts-cyrillic.noarch : Cyrillic fonts for X xorg-x11-fonts-ethiopic.noarch : Ethiopic fonts xorg-x11-fonts-ISO8859-1-75dpi.noarch : A set of 75dpi ISO-8859-1 fonts for X xorg-x11-fonts-ISO8859-2-75dpi.noarch : A set of 75dpi Central European language : fonts for X xorg-x11-fonts-ISO8859-9-75dpi.noarch : ISO8859-9-75dpi fonts xorg-x11-fonts-ISO8859-1-100dpi.noarch : A set of 100dpi ISO-8859-1 fonts for X xorg-x11-fonts-ISO8859-14-75dpi.noarch : ISO8859-14-75dpi fonts xorg-x11-fonts-ISO8859-15-75dpi.noarch : ISO8859-15-75dpi fonts xorg-x11-fonts-ISO8859-2-100dpi.noarch : A set of 100dpi Central European : language fonts for X xorg-x11-fonts-ISO8859-9-100dpi.noarch : ISO8859-9-100dpi fonts xorg-x11-fonts-ISO8859-14-100dpi.noarch : ISO8859-14-100dpi fonts xorg-x11-fonts-ISO8859-15-100dpi.noarch : ISO8859-15-100dpi fonts ```
Please note bitmap-fonts package has not changed majorly since many years. This package got updated only when mass-rebuild happened or spec file got updated as per latest packaging guidelines. (Nice to see someone reported bug against bitmap-fonts package :) This package got only 7 bugs reported including this since last 18 years!!) I think you are right Lucida is only coming from bitmap-lucida-typewriter-fonts package. Checking more on it...
So I installed bitmap-lucida-typewriter-fonts and tried "xlsfonts|grep lucida" no output but $ sudo dnf install xorg-x11-fonts-ISO8859-1-100dpi-7.5-20.fc29.noarch Last metadata expiration check: 0:43:19 ago on Thu 29 Nov 2018 05:34:22 PM IST. Dependencies resolved. =============================================================================== Package Arch Version Repository Size =============================================================================== Installing: xorg-x11-fonts-ISO8859-1-100dpi noarch 7.5-20.fc29 fedora 1.1 M Transaction Summary =============================================================================== Install 1 Package Total download size: 1.1 M Installed size: 1.0 M Is this ok [y/N]: y Downloading Packages: xorg-x11-fonts-ISO8859-1-100dpi-7.5-20.fc29.no 330 kB/s | 1.1 MB 00:03 ------------------------------------------------------------------------------- Total 196 kB/s | 1.1 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : xorg-x11-fonts-ISO8859-1-100dpi-7.5-20.fc29.noarch 1/1 Running scriptlet: xorg-x11-fonts-ISO8859-1-100dpi-7.5-20.fc29.noarch 1/1 Verifying : xorg-x11-fonts-ISO8859-1-100dpi-7.5-20.fc29.noarch 1/1 Installed: xorg-x11-fonts-ISO8859-1-100dpi-7.5-20.fc29.noarch Complete! $ xlsfonts |grep lucida|wc 106 106 5414 So, Can you try installing any of below package and check output of "xlsfonts|grep lucida" ? xorg-x11-fonts-100dpi-7.5-20.fc29.noarch xorg-x11-fonts-75dpi-7.5-20.fc29.noarch xorg-x11-fonts-cyrillic-7.5-20.fc29.noarch xorg-x11-fonts-ethiopic-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-1-100dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-14-100dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-14-75dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-15-100dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-15-75dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-1-75dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-2-100dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-2-75dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-9-100dpi-7.5-20.fc29.noarch xorg-x11-fonts-ISO8859-9-75dpi-7.5-20.fc29.noarch
Interesting. I did: ``` > dnf install xorg-x11-fonts-100dpi ... Downloading Packages: xorg-x11-fonts-100dpi-7.5-19.fc28.noarch.rpm... ``` And `xlsfonts` outputs Lucida: ``` > xlsfonts | grep -i lucida | wc -l 70 ``` So, it looks like the `xorg-x11-fonts-100dpi` package does provide the Lucida font but `dnf whatprovides \*lucida\*` does *not* list this package as one of the provides.
xlsfonts is the old X11 core fonts subsystem, it has been deprecated for ~15 years now, anything still using it is on death row and is expected to break without warning. No fonts except those provided by legacy xorg font packages are supposed to be exposed in the X11 core fonts subsystem nowadays. (The X11 core fonts system has been deprecated by its maintainers because it broke on any non trivial modern font, and they gave up on trying to make it work). That's why xorg*fonts* will add to xlsfonts and any normal clean Fedora *-fonts package won’t. Conversely, things that feed the X11 core fonts subsystem should not advertise any particular font support because X11 core fonts are unusable in pretty much all current apps.
I see, but Emacs and XTerm use font specifications from `xlsfonts`, like: ``` > cat .Xdefaults Emacs.font: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1 XTerm*font: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1 ... ```
xterm has the same status as the core fonts subsystem – deprecated and waiting for death. Its maintainers didn't see the point of modernizing it given the large number of unicode-ready terminal alternatives. emacs only uses core fonts as a fallback, it has been able to use xft instead for quite a long time (even though xft is also deprecated, though it has a little more life left than the X11 core fonts subsystem) So, you don't need xlsfonts unless you don't want to change circa 2000 habits. And if you live in the past, don't be surprised present tech disagrees.
The modern fonts can be used in even both apps. For Emacs, you can define own fontset with (new-fontset ...) and (set-fontset-font ...) functions. google it. you may see some examples. For xterm, you can specify a font with -fa option like -fa "DejaVu Sans Mono:size=10" or in X resources: xterm*faceName: DejaVu Sans Mono:size=10
Please reopen if you think there is some bug that need to be fixed.