https://bugzilla.redhat.com/show_bug.cgi?id=1654517
Bug ID: 1654517 Summary: lucida not listed in xlsfonts Product: Fedora Version: 28 Component: bitmap-fonts Assignee: psatpute@redhat.com Reporter: rvernica@gmail.com QA Contact: extras-qa@fedoraproject.org CC: fonts-bugs@lists.fedoraproject.org, pnemade@redhat.com, psatpute@redhat.com
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 ```
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
--- Comment #1 from Parag Nemade pnemade@redhat.com --- After installing bitmap-lucida-typewriter-fonts package, I see this on F29 $ xlsfonts | wc -l 1035
$ xlsfonts | grep -i lucida|wc -l 212
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
--- Comment #2 from Parag Nemade pnemade@redhat.com --- Oh no, I can reproduce this on Fresh f29 installation.
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
--- Comment #3 from Parag Nemade pnemade@redhat.com --- 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"
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tagoh@redhat.com
--- Comment #4 from Akira TAGOH tagoh@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
Pravin Satpute psatpute@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |i18n
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
--- Comment #5 from Rares Vernica rvernica@gmail.com --- ```
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 ```
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
--- Comment #6 from Parag Nemade pnemade@redhat.com --- 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...
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
Parag Nemade pnemade@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rvernica@gmail.com Flags| |needinfo?(rvernica@gmail.co | |m)
--- Comment #7 from Parag Nemade pnemade@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
Rares Vernica rvernica@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(rvernica@gmail.co | |m) |
--- Comment #8 from Rares Vernica rvernica@gmail.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
--- Comment #9 from Nicolas Mailhot nicolas.mailhot@laposte.net --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
--- Comment #10 from Rares Vernica rvernica@gmail.com --- 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 ... ```
https://bugzilla.redhat.com/show_bug.cgi?id=1654517
--- Comment #12 from Akira TAGOH tagoh@redhat.com --- 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
fonts-bugs@lists.fedoraproject.org