Question
"font family not available" error (15875)
Hi all-
So whenever I place copy into an InDesign document, I've been running a JS script I wrote to find and correct any examples of missing fonts. This has been working fine for me for about a year, but now I've run into a challenge - I'm trying to get the same script to run on a coworker's machine, and it's not working. The line it's choking on is app.findTextPreferences.appliedFont="Helvetica Neue LT Std" - when it hits this spot I get an error "The requested font family is not available." But the thing is, I'm not sure why not - it shows up in the pull-down font list under the same name on both her computer and mine. We're both using the same OS, the same version of InDesign (CS3), the same version of the font, working on the same document, etc. Furthermore, "app.selection[0].appliedFont.postscriptName" and "app.selection[0].appliedFont.postscriptName" return the same results on both machines ("HelveticaNeueLTStd-Roman" and "Helvetica Neue LT Std [tab] 55 Roman", respectively). Anybody have any bright ideas as to why we're then getting an error on one machine but not the other when all other factors appear to be equal?
Thanks,
-Nate
So whenever I place copy into an InDesign document, I've been running a JS script I wrote to find and correct any examples of missing fonts. This has been working fine for me for about a year, but now I've run into a challenge - I'm trying to get the same script to run on a coworker's machine, and it's not working. The line it's choking on is app.findTextPreferences.appliedFont="Helvetica Neue LT Std" - when it hits this spot I get an error "The requested font family is not available." But the thing is, I'm not sure why not - it shows up in the pull-down font list under the same name on both her computer and mine. We're both using the same OS, the same version of InDesign (CS3), the same version of the font, working on the same document, etc. Furthermore, "app.selection[0].appliedFont.postscriptName" and "app.selection[0].appliedFont.postscriptName" return the same results on both machines ("HelveticaNeueLTStd-Roman" and "Helvetica Neue LT Std [tab] 55 Roman", respectively). Anybody have any bright ideas as to why we're then getting an error on one machine but not the other when all other factors appear to be equal?
Thanks,
-Nate
