The situtation:
My coworker has a Mac and I work in Windows. We both use PS 5.1. Whenever I get a document from her PS will say that not all the fonts were found. I'm making a script that goes through all the textlayers and finds these missing fonts.
My problem:
The script which loops through all the textlayers, finds the font and checks using Application.fonts.getByName() if the font exists. The problem is that Application.fonts.getByName() always succeeds and returns the font even when it's not installed on my system. How is this possible? (When I try with a completely bogus name like "jklm" it will fail as expected)
(In the future I would like to extend my script so it can replace these fonts with another font of my choice.)