Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

download/install font???

 
joe script
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was wondering if JavaScript is used for allowing users to either download or install a font (by clicking a link).
If so, would anyone know the code for this?
Thanks!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can just link to the file on your server and it should automatically download with a link, if you want to do it automatically, you can try to use it in a pop up method,
Microsoft has documentation on how to embed fonts into a webpage, so it will automatically download.
Eric
 
joe script
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Eric Pascarello:
You can just link to the file on your server and it should automatically download with a link, if you want to do it automatically, you can try to use it in a pop up method,
Microsoft has documentation on how to embed fonts into a webpage, so it will automatically download.
Eric

when i link it, it does bring up the download dialog box..i was wondering if it could automatically be installed as well.
thanks!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would have to embed it....
 
joe script
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Eric Pascarello:
You would have to embed it....


Not exactly sure what u mean...
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On Microsofts documentation site, they have code. Do a search on embed font on google//
 
Eric Pascarello
author
Rancher
Posts: 15385
6
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic