SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
installed a couple things with Winetricks and it told me to uninstall the Samyak/Oriya font because it causes problems with some .net applications. It told me to use
Code:
sudo dpkg -r ttf-oriya-fonts
, but I'm not sure if I should install dpkg specifically to do this, or if there's a native slackware way to remove this. Any help?
nevermind, solved the problem. After removing that package, you have to go through /usr/share/fonts/TTF/fonts.dir and delete the Samyak entry, which is still there after removing the package
I'm aware of this incompatiblity between winetricks and the ttf-indic-fonts package. I'm shocked to see that it's existed at least since 2010.
Yes, you need to both removepkg the package and rebuild the fonts.dir and fonts.scale files (as per SCerovec's instructions) to get Winetricks to work properly.
You could also need, in addition to the steps outlined earlier, to refresh xlsfonts cache, as this is the command used by winetricks to search for the "bad" fonts:
Code:
xlsfonts -l | grep -i samyak # check if samyak font is still in X server cache
xlsfonts -l | grep -i oriya # check if oriya font is still in X server cache
xset fp rehash # recreate font cache
Now the first two commands should not report any of samyak or oriya fonts anymore.
You could also need, in addition to the steps outlined earlier, to refresh xlsfonts cache, as this is the command used by winetricks to search for the "bad" fonts:
Code:
xlsfonts -l | grep -i samyak # check if samyak font is still in X server cache
xlsfonts -l | grep -i oriya # check if oriya font is still in X server cache
xset fp rehash # recreate font cache
Now the first two commands should not report any of samyak or oriya fonts anymore.
Code:
# xset fp rehash
xset: bad font path element (#0), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
$ xset fp rehash
xset: bad font path element (#0), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
why error?
Last edited by SCerovec; 08-18-2016 at 06:03 PM.
Reason: missing <cr>
I haven't got that error both running that command as normal user and as root.
I guess you have something fishy going on in the /usr/share/fonts/TTF directory: have you recreated the fonts.dir and fonts.scale files inside of it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.