• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

download/install font???

 
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!
 
author
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
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
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
Posts: 15385
6
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!