Bob,
Here's how I would probably go about this on XP..
1) Research what registry entries are changed in Windows when installing
a TrueType font
2) Suck up the font into your app:
set the uMyCustomFont of this stack to URL ("binfile:C:/myfont.ttf")
3) On startup spit it back out:
a) find the specialFolder(36) which gives you the current Windows
directory and append it with /Fonts:
put specialFolder(36) & "/Fonts/" into tFontPath
check to see if your font exists
put "myfont.ttf" after tFontPath
if there is not a file tFontPath then
put the uMyCustomFont of this stack into URL ("binfile:" & tFontPath)
--> SET REGISTRY STUFF IF NECESSARY
end if
then check to see if you need a restart, or you can just start using the
font.
As mentioned, I believe there's a DLL somewhere which may make this
easier, but I don't know where.
-Chipp
Bob Earp wrote:
I need this BIG time, and it mnay be a show stopper form me moving a
whole mess of customers form ToolBook (where this isa breeze to do) to
Rev. At RevConWest Andre Garcia said that he thought he had a way of
doing this by using a custom property to store the font, but I haven't
heard from him since then.
Bob Earp - White Rock, BC.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution