Here's a challenge for you. I have an app which depends on a font (PowerTab Editor), and I'm interested in making it portable (personal use only, of course). Is there any way I can do this? The app won't run without this font because the symbols in it are crucial to the function. There's no way to configure the location of the font within the application or in configuration files, so it's a case of temporarily installing the font, or somehow making the application think the font is installed. Any ideas?
placing the font into the app-dir wont work?
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Try copying the font over to 'windows/fonts' or 'fonts' at runtime, and deleting it on exit.
> placing the font into the app-dir wont work?
Nope. I read somewhere on one of the many google hits that putting it in [app-dir]/windows/fonts would do the job, but that doesn't either. I didn't think it would when I read it.
but instead I needed fonts for all my documents. I solved this problem with the help of a little program called fontloader, which allows you to load and unload fonts. I made a launcher and the font directory can read relative paths. Use the Portable App Template to make the program portable, it works perfectly.
http://www.portablefreeware.com/forums/viewtopic.php?p=3880#3880
I'll give that FontLoader thing a try, and let you know how it goes.