LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2018, 08:02 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
fixing font cache naming


one dockapp, and I've ad others give me this error about a specific font. On this distro I actually found the font it was looking for so I installed it. But, still it fails due to how it is written being case sensitive.

So I was wondering if there is a way to fix this in the font cache in how it is written instead of always having to fix it in the calling end on the program side.

it looks for a lower case, and is upper case in the cache, and then I still do not know if this will work because it is looking for a medium and cache does not say medium.

(I hate this specific named font programming without a fall back font, wmsystemtray has a similar issue about a font error)

Code:
userx@manjaroieo:~
$ wmbutton
wmbutton: couldn't allocate font '-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*'.
wmbutton: Use option -F <font>

userx@manjaroieo:~
$ fc-list | grep helvetica


userx@manjaroieo:~
$ fc-list | grep Helvetica
/usr/share/fonts/Type1/phvb8a.pfb: Helvetica:style=Bold
/usr/share/fonts/Type1/phvbo8a.pfb: Helvetica:style=Bold Oblique
/usr/share/fonts/Type1/phvro8a.pfb: Helvetica:style=Oblique
/usr/share/fonts/Type1/phvr8a.pfb: Helvetica:style=Regular
 
Old 09-29-2018, 03:36 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,616
Blog Entries: 9

Rep: Reputation: 4515Reputation: 4515Reputation: 4515Reputation: 4515Reputation: 4515Reputation: 4515Reputation: 4515Reputation: 4515Reputation: 4515Reputation: 4515Reputation: 4515
the fc-list command belongs to fontconfig, which has nothing to do with the old X11 fonts.
 
Old 09-29-2018, 07:37 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Original Poster
Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
well it was a shot in the dark. using dockapps that have not been updated in years. As far as I know. oh well thanks for the update.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error occured in execution of /var/cache/alps/scripts/icon-naming-utils.sh FredBezies AryaLinux 2 05-11-2016 12:04 PM
Fixing garbled screen font smeezekitty General 1 01-18-2010 11:19 PM
[SOLVED] Fixing Font Sizes in Firefox Woodsman Linux - Desktop 4 12-10-2009 07:10 PM
fc-cache shows error installing artwiz font yougene Slackware 4 03-28-2006 09:14 AM
fixing font size irvken Linux - Software 1 08-13-2004 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration