Skip to main content
Inspiring
November 3, 2022
Question

Determine if font is type kit font

  • November 3, 2022
  • 1 reply
  • 1177 views

I can determine the number of fonts I have with:

 

var numOfFonts = app.fonts.length;

 

Yay! I have three fonts installed!

 

But I now need a way to determine if that font belong to typekit or not. - This process can be done manually but I'm keen to script this. However, I don't think there are any properties for this in TextItem.

Can it be done with scripting?

 

This topic has been closed for replies.

1 reply

Inspiring
November 9, 2022

Well.. that didn't quite get the response I was hoping for. #wasitsomethingIsaid

c.pfaffenbichler
Community Expert
Community Expert
November 9, 2022

Just to make sure: Are you trying to verify for all installed fonts or only the fonts used in a specific document? 

Legend
November 9, 2022

I didn't go into too much detail, but typekit fonts are not installed into the operating system. They are stored in the Adobe plugin folder, and, as far as I understand, the files are encrypted (at least when looking at them I did not see data typical for the font files).

 

By the way, I have never noticed problems with the disappearance of once installed typekit fonts.


Downloaded TypeKit font files didn't used to be encrypted, but I don't think we can discuss how to turn them back into regular OpenType files.

CC App has a built-in timer where activated fonts are deactivated after an amount of time idle. This would only be a problem if the computer was offline and couldn't connect to reactivate the fonts.