revFontLoad
Björnke von Gierke
bvg at mac.com
Sat Jun 18 10:25:06 EDT 2011
basically it's like this:
put the fontNames into theCompare
answer file ""
if it = "" then
beep
exit to top
end if
put it into thePath
revFontLoad thePath
if the fontNames <> theCompare then
answer "success!"
revFontUnload thePath
--not unloading before quitting your app can lead to crashes
--depending on the version of LC/Rev you use
else
answer ":("
end if
now some fonts don't work, depending on the type of fontfile. if your font doesn't work, try to use a font format convertor to convert to a different type of font.
On 18 Jun 2011, at 15:42, Lars Brehmer wrote:
> For years now I have from time to time tried to get revFontLoad to work in Windows. This particular font requires no licensing.
>
> I have spent the day trying one more time. I have read and re-read every post to this list that contains either "revFontLoad" or "embedding fonts." and I still cannot figure it out. Is there a step-by-step explanation anywhere (for dummies), or a turorial (for dummies?) I simply want to avoid making a user install the font.
>
> Cheers!
>
> Lars
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list