Anglo Regular.otf" it fails.
on startUp
global gFontRef1
put ATSFontActivate(MediaPath(AngloRegular.otf)) into gFontRef1
open wd 2
end startUp
function MediaPath tShortFileName -- returns path to the resources folder
return projectPath(this proj) & "Resources:" & tShortFileName
end MediaPath
on closeProject
global gFontRef1
get ATSFontDeactivate(gFontRef1)
end closeProject
Should the font name be in quotes maybe?
--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-talk+unsubscribe@googlegroups.com.
To post to this group, send email to supercard-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supercard-talk/3af44457-5b4d-446a-b2c7-f4618001d1e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yep. This is something that should be added to the Help docs I think.
--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-talk+unsubscribe@googlegroups.com.
To post to this group, send email to supercard-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supercard-talk/e834a20f-9783-4106-9a1a-b983368d4368%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, but I was constructing a path to the font and I don't normally need to put the final file in quotes (although maybe I should). This is the first time it's failed for me.