I am by no means familiar with Google Apps scripts, but I can see the detection of Courier New fonts doesn't work for me unless I put the explicit name "Courier New".
Also, this page seems to say that the enum is deprecated anyway: https://developers.google.com/apps-script/reference/document/font-family
This proposed fix did the job for me but please comment if a better alternative exists!
Hi!
I am by no means familiar with Google Apps scripts, but I can see the detection of Courier New fonts doesn't work for me unless I put the explicit name "Courier New". Also, this page seems to say that the enum is deprecated anyway: https://developers.google.com/apps-script/reference/document/font-family
This proposed fix did the job for me but please comment if a better alternative exists!
Thanks for the great job anyway.