How to use font files in development AND standalones

Bob Sneidar bobsneidar at iotecdigital.com
Fri Dec 9 19:02:31 EST 2022


Hi all. 

I finally figured out how to use font files in a way that works in development AND in a standalone. In the preOpenStack handler in the first card script: 

   -- load fonts
   put specialFolderPath("resources") into tPath
   start using font file tPath &  "/Fonts/Aclonica.ttf"
   start using font file tPath &  "/Fonts/Acme Regular.ttf"
   start using font file tPath &  "/Fonts/Actor Regular.ttf"

Pretty simple really. I would have thought that the standalone builder would have resolved these on it's own, but apparently not. 

Bob S


More information about the use-livecode mailing list