Hi, here is a problem I encountered that needs to be solved immediately:
Vault data files cannot be compressed or deleted (otherwise, the MainType cannot be used). As a result, vault data files occupy more space and the system disk space becomes smaller. In addition, in the process of use, it was found that after all fonts were deleted by MainType (including the fonts in the file system and MainType library, except those that have been installed to the operating system), the disk space occupied by these fonts should be released according to normal logic, but it is not.
And these font data stored in vault data files will no longer be accessible through MainType, resulting in wasted disk space. Unless MainType is reinstalled, or backup “data” and “vault” folders (to recover the initial data after the vault data files are deleted) after the MainType is installed and configured for the first time.
Suggestion: Add the following commands to the “font management service configuration” program for MainType:
- Compress vault data, that is, release the space occupied by invalid data (fonts data that has been deleted but cannot be accessed on the MainType).
- Rebuild the vault data, that is, re-initialize the vault data (keep only the data about the MainType configuration) and discard all the data about the user fonts. If you can use this operation, it means that you has made a backup of the font data.
The following is the Chinese description of the above content:
嗨,你好,下面是我遇到的一个即需解决的问题:
vault数据文件无法压缩,也不能被删除(否则MainType将无法使用),导致vault数据文件占用空间越来越大,导致系统盘空间越来越小。另外,在使用过程中发现,通过MainType全部删除所有字体(包括文件系统和MainType库中的,已安装到操作系统的字体除外)后,按正常逻辑来说,这些字体占用的磁盘空间应该被释放,但事实却没有。
并且这些存储在vault数据文件中的字体数据将无法再通过MainType访问,这就造成的磁盘空间的浪费,除非重新安装MainType或在首次安装MainType并配置后备份“data”和“vault”文件夹的数据——用于在删除vault数据文件后恢复这些数据。
建议:为MainType的“font management service configuration”程序增加以下操作命令:
- 压缩vault数据,即释放无效数据(已经全部删除但无法在MainType访问的字体数据)占用的空间。
- 重建vault数据,即重新初始化vault数据(仅保留关于MainType配置的数据),丢弃所有有关用户字体的数据。能够用上这个操作,说明用户已经做好了字体数据的备份。