I'm trying to install the liberation fonts in F33. I've run fc-cache after install, but xfontsel does not see the new font.
I have tried different things, all of which either do not work or give unexpected results.
I've copied the liberation fonts to ~/.fonts, run mkfontdir and mkfontscale in the directory, and run "xset +fp ~/.fonts". I can verify that the font path has been updated by running "xset -q fp". When I run fc-cache again, it says that it added the font (or that the cache already contained the font), but xfontsel does not show it. Oddly, after running fc-cache, the fontpath shown by "xset -q fp" is reset and no longer has the entry for ~/.fonts.
(Same more or less if I add /usr/share/fonts/liberation*.)
I've tried to reset the default font path by adding an entry under /etc/X11/xorg.conf.d with a Files section and added FontPath, but that seems to be ignored in xset. There are links under /etc/X11/fontpath.d to the liberation font directories.
I'm running Fedora 33 with KDE. Any suggestions?
On 10/19/21 12:51, Michael Eager wrote:
I'm trying to install the liberation fonts in F33. I've run fc-cache after install, but xfontsel does not see the new font.
Why are you using xfontsel? "fc-cache" is for fontconfig which is the method used for fonts for quite a while now. I assume there is some sort of bridge between the two, but unless you're trying to use a really old program, fontconfig is how fonts are accessed. Is something not working (other than xfontsel)? Gnome has a font viewer. I assume KDE has something similar.
On 10/19/21 2:04 PM, Samuel Sieb wrote:
On 10/19/21 12:51, Michael Eager wrote:
I'm trying to install the liberation fonts in F33. I've run fc-cache after install, but xfontsel does not see the new font.
Why are you using xfontsel? "fc-cache" is for fontconfig which is the method used for fonts for quite a while now. I assume there is some sort of bridge between the two, but unless you're trying to use a really old program, fontconfig is how fonts are accessed. Is something not working (other than xfontsel)? Gnome has a font viewer. I assume KDE has something similar.
I'm trying to revive an old program which uses Motif. It fails exactly the same as xfontsel.
On 10/19/21 2:39 PM, Ed Greshko wrote:
On 20/10/2021 03:51, Michael Eager wrote:
I'm running Fedora 33 with KDE. Any suggestions?
Have you tried using the KDE tools?
System Settings ---> Appearance ---> Font Management
Unfortunately, this doesn't affect X11 fonts.
Le 2021-10-19 21:51, Michael Eager a écrit :
I'm trying to install the liberation fonts in F33. I've run fc-cache after install, but xfontsel does not see the new font.
fc-list | grep -i liberation
I am wondering why you have to install the liberation fonts, for me these fonts are installed by default...
Moreover when you install fonts in ~/.fonts you have nothing else to do! fc-list will show you the newly installed fonts.
On Wed, 20 Oct 2021 at 05:34, François Patte < francois.patte@mi.parisdescartes.fr> wrote:
Le 2021-10-19 21:51, Michael Eager a écrit :
I'm trying to install the liberation fonts in F33. I've run fc-cache after install, but xfontsel does not see the new font.
fc-list | grep -i liberation
I am wondering why you have to install the liberation fonts, for me these fonts are installed by default...
Moreover when you install fonts in ~/.fonts you have nothing else to do! fc-list will show you the newly installed fonts.
I think the OP wants the liberation fonts for a legacy motif app, so wants the font to be supported by X Logical Font Description (XLFD) https://wiki.archlinux.org/title/X_Logical_Font_Description.
On 10/20/21 1:34 AM, François Patte wrote:
Le 2021-10-19 21:51, Michael Eager a écrit :
I'm trying to install the liberation fonts in F33. I've run fc-cache after install, but xfontsel does not see the new font.
fc-list | grep -i liberation
Yes, fc-list shows the Liberation-* fonts.
xfontsel and the X11/Motif application do not find them.
On Wed, 20 Oct 2021 at 14:16, Michael Eager eager@eagercon.com wrote:
On 10/20/21 1:34 AM, François Patte wrote:
Le 2021-10-19 21:51, Michael Eager a écrit :
I'm trying to install the liberation fonts in F33. I've run fc-cache after install, but xfontsel does not see the new font.
fc-list | grep -i liberation
Yes, fc-list shows the Liberation-* fonts.
xfontsel and the X11/Motif application do not find them.
Nor should they, as X11/Motif uses freetype2.
It has been years since I installed scalable fonts (PFB) on SGI IRIX64. The hard part was constructing the XLFD files.
https://twiserandom.com/unix/x11-fonts-a-tutorial/index.html
has a lot of detail that looks familiar.
Your time might better be spent finding a current application for your use case.
On 10/20/21 11:36 AM, George N. White III wrote:
On Wed, 20 Oct 2021 at 14:16, Michael Eager <eager@eagercon.com mailto:eager@eagercon.com> wrote:
On 10/20/21 1:34 AM, François Patte wrote: > Le 2021-10-19 21:51, Michael Eager a écrit : >> I'm trying to install the liberation fonts in F33. >> I've run fc-cache after install, but xfontsel does >> not see the new font. > > fc-list | grep -i liberation Yes, fc-list shows the Liberation-* fonts. xfontsel and the X11/Motif application do not find them.Nor should they, as X11/Motif uses freetype2.
On Fedora 34, xfontsel does find the liberation fonts.
X11/Motif support (or at least, claims to support) Type 1 and TrueType (TTF) as well.
It has been years since I installed scalable fonts (PFB) on SGI IRIX64. The hard part was constructing the XLFD files.
https://twiserandom.com/unix/x11-fonts-a-tutorial/index.html https://twiserandom.com/unix/x11-fonts-a-tutorial/index.html
has a lot of detail that looks familiar.
Thanks. I have seen that.