Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Using Java Web Start to ensure fonts are available
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 25th October 23:46
nathan_jerpe
External User
 
Posts: 1
Default Using Java Web Start to ensure fonts are available



Hello,

I would like my Java application to take advantage of a particular
Lucida font that comes with the JRE: LucidaTypewriterRegular.ttf. Let's
assume for the sake of this thread that it is a REQUIREMENT that I use
this font.

Unfortunately, the following reference:

http://java.sun.com/j2se/1.5.0/docs/guide/intl/font.html#lucida

indicates that, although Lucida fonts are installed as part of the JRE,
there is no guarantee regarding which ones will be installed. So, I
can't assume that LucidaTypewriterRegular.ttf will be there.

It seems one solution is just to package the JRE with my application,
but this bloats my download since I must include the entire JRE. Since
these fonts are listed in the license as SDK components that I am
allowed to add, this approach would allow me to bundle in this font for
JRE's that do not provide it by default.

I was hoping a better solution might be to use Java Web Start, and
somehow detect if this font was not available on the user's system, and
if so, to make it available. Does this violate the licensing agreement?
If not, is it technically possible via JWS, or perhaps some other
means?

Thank you,
Nathan
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666