uninstalling a font in Slackware
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 Thanks |
Looks as if the Samyak font is in the ttf-indic-fonts package so 'removepkg ttf-indic-fonts-0.4.7.4-noarch-1.txz'.
|
I did that, but the problem still happens. Is there a different package for Oriya, maybe?
|
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
|
[SOLVED] uninstalling a font in Slackware [updated]
while i hate to drag a thread this old i believe i can help it being better?
the right way seems to be: Code:
# rm -i /usr/share/fonts/TTF/fonts.* |
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 |
Quote:
Code:
# xset fp rehash |
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? Code:
# cd /usr/share/fonts/TTF/ |
Code:
bash-4.3# cd /usr/share/fonts/TTF/ culprit: didn't cd into TTF dir :banghead: |
Strange, for me it also works from outside that directory...
|
FWIW
i just don't know, but we solved it (again?) :hattip: |
All times are GMT -5. The time now is 02:15 PM. |