My web site will be on their hard disk, but the font I use will not be added to their
C:\WINDOWS\FONTS
But I want them to be able to see my non default font, Though I can put the font in the directory of the web page.

Can this be done, can it be made to work. Can we have the user have a web site used offline and they can have fonts in that web page working, but they don't have to download the font and added it to their fonts directory, in my case its C:\WINDOWS\FONTS.
I want them to be able to just open my web site on their hard drive and not have to manually install fonts to get the site to display the fonts.

Recommended Answers

All 2 Replies

it says do this

<STYLE TYPE="text/css">
<--!
@font-face {
  font-family: Arial;
  font-style:   normal;
  font-weight: normal;
  src:url(http://www.SiteAddress.htm/EOTfileName.eot);
}
-->
</STYLE>

Ill add my own font

DicotMedium
though when its not in its windows fonts directory it changes its name to this
DICOTME_.TTF

anyway Ill put its name

<STYLE TYPE="text/css">
<--!
@font-face {
  font-family: DicotMedium;
  font-style:   normal;
  font-weight: normal;
  src:url(fonts);
}
-->
</STYLE>

I made a folder called it fonts and put it the same directory as the rest of the web page.

End result, it doesnt work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.