Clean out duplicate font files

Get help with MainType here. Please do not post feature requests or bug reports here.
Post Reply
cpking
Posts: 39
Joined: Wed Sep 11, 2013 7:51 pm

Clean out duplicate font files

Post by cpking »

I read another thread that was sort of on this topic, but not exactly what I was looking for.

Is there a way for MainType to offer the opportunity to clean up duplicate font FILES. You can see in this screen cap, for example, I have four (yes, FOUR) files for Century Condensed. Of course, this is from years of accumulating files, upgrading computers, etc., and need to be cleaned up - to conserve disk space if nothing else. I just don't know where to start...
Capture.JPG
Capture.JPG (187.48 KiB) Viewed 6767 times
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Clean out duplicate font files

Post by Bhikkhu Pesala »

Nobody else seems to have any suggestions.

The obvious thing to try first would be to look in your DropBox folder for the file names, and delete all but the most recent one, or inspect each of them in FontCreator before deciding which is the best one to keep.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Clean out duplicate font files

Post by Erwin Denissen »

cpking wrote:I read another thread that was sort of on this topic, but not exactly what I was looking for.

Is there a way for MainType to offer the opportunity to clean up duplicate font FILES.
Why would you bother to do this, as MainType will show the font only once anyway?

Is it to save some disk space?
Erwin Denissen
High-Logic
Proven Font Technology
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Clean out duplicate font files

Post by Bhikkhu Pesala »

Erwin Denissen wrote:Is it to save some disk space?
Yes, as stated in the first post. This could certainly be an issue for free users of DropBox with only 1.5 Gbytes available.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Clean out duplicate font files

Post by Erwin Denissen »

There is a fast but unconventional way. I suggest you first make a local backup of all your fonts, just to be sure.

In MainType select all fonts within the font library, and click export. This way you will have all your fonts in a single folder.

Next delete all fonts folders from Dropbox, and copy the exported fonts to Dropbox. You will now have a single resource per font stored in a flat folder.

We could implement some more advanced way of removing duplicates if more people need it.
Erwin Denissen
High-Logic
Proven Font Technology
cpking
Posts: 39
Joined: Wed Sep 11, 2013 7:51 pm

Re: Clean out duplicate font files

Post by cpking »

I very much like MainType, but do think a bit more comprehensive way to delete fonts would be helpful. I have well over 30,000 fonts on my system, sync'd on dropbox and downloaded to three computers. I know for sure, that many of these are duplicates, but manually deleting individual font files would obviously be time prohibitive.

Thanks for your response.

Clayton
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Clean out duplicate font files

Post by Erwin Denissen »

What would you suggest?
Erwin Denissen
High-Logic
Proven Font Technology
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Clean out duplicate font files

Post by Bhikkhu Pesala »

It's not straightforward to do it automatically. Two font files could be duplicates in every respect except that one has a € character while the other does not. One would want to delete the version without the € character, not the one with it.

If, like me, you edit fonts, you can have several versions with exactly the same set of characters, but some minor difference in kerning pairs or OpenType features.

Automatically tagging fonts as duplicates would be useful, then users could manually check which version(s) to delete.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Post Reply