LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fixing font cache naming (https://www.linuxquestions.org/questions/linux-software-2/fixing-font-cache-naming-4175639287/)

BW-userx 09-27-2018 08:02 AM

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


ondoho 09-29-2018 03:36 AM

the fc-list command belongs to fontconfig, which has nothing to do with the old X11 fonts.

BW-userx 09-29-2018 07:37 AM

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.


All times are GMT -5. The time now is 04:14 PM.