You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. lets say I installed Shabnam font using Kateb kateb install shabnam
Now I want to delete Shabnam. If i delete the folder ~/.local/share/fonts/farsifreefont, Shabnam is deleted from my system but when I run kateb list it still shows the font in installed fonts.
The text was updated successfully, but these errors were encountered:
Because the fonts are downloaded directly from versions released on GitHub, kateb needs to know the tags of the latest downloads, so kateb uses a small file in the XDG_CONFIG_HOME directory, to maintain the font versions installed.
When you delete a font file directly, its information remains in the data file.
This is the weakness of kateb, which has no option to uninstall fonts.
I suggest to modify the json file that stores the data related to the fonts to also store the path and the name of the files that are installed for each font. This way when running kateb list the code can check whether these files exist or not. Also for uninstall option using this method kateb can knows which files need to be removed.
Hello. lets say I installed Shabnam font using Kateb
kateb install shabnam
Now I want to delete Shabnam. If i delete the folder
~/.local/share/fonts/farsifreefont
, Shabnam is deleted from my system but when I runkateb list
it still shows the font in installed fonts.The text was updated successfully, but these errors were encountered: