Re: Getting Font File Path

new topic     » goto parent     » topic index » view thread      » older message » newer message

try this, i think it'll work on any windows:


function get_font_path()
object windir

    windir = getenv("windir")

    -- make sure the variable exists
    if atom(windir) then
        return ""
    end if

    -- make sure the path ends in a backslash
    if windir[length(windir)] != '\\' then
        windir &= '\\'
    end if

    return windir & "fonts\\"

end function


----- Original Message -----
From: "C. K. Lester" <euphoric at cklester.com>
To: <EUforum at topica.com>
Sent: Friday, March 19, 2004 12:30 PM
Subject: Getting Font File Path


>
>
> What are some methods I can use to retrieve the font file path for a
> version of windows (such as "c:\winnit\fonts")?
>
>
>
> For Topica's complete suite of email marketing solutions visit:
> http://www.topica.com/?p=TEXFOOTER
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu