*
The moose likes JSP and the fly likes Font installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Font installation" Watch "Font installation" New topic
Author

Font installation

Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 125
I have some characters in my HTML that need some fonts to be present on the user's machine, so that they display appropriately in the user's browser.
Is it possible to check in JSP (or javascipt) whether the fonts exist on the machine or not and if they are not present to give an option to install the fonts. If the user clicks yes then start the font installation.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

This is the sort of thing the client's browser should take care of. If you have properly encoded your page, and the browser needs to install a new character set to render it it should just do exactly what you want.

Its worth reading this.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 125
Originally posted by Paul Sturrock:
This is the sort of thing the client's browser should take care of. If you have properly encoded your page, and the browser needs to install a new character set to render it it should just do exactly what you want.

Its worth reading this.

Thanks a lot for replying.

Say I have an HTML page in the form of
(Please put an & before every # sign. I have removed it so that its not converted to a corresponding character)


(#58670; needs to be converted to &(no space here)#58670; )
Now this is not getting displayed in my IE6 even though I have given the encoding. The browser is neither asking to install relevant fonts not is it displaying these values.
Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 125
My problem is with character references. There are several character references in my HTML, either in hex code or decimal code which I need to display in the browser. But many of them dispaly as junk characters both in IE6 and Firefox2
Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 125
Anyone please
 
jQuery in Action, 2nd edition
 
subject: Font installation
 
Similar Threads
Font problem
font portability
use fonts that is not installed on client pc
Unicode in TextArea
Does anybody know how to print \u2064 and \u2065?