S
Sameer
Hello,
In JDK1.5.0 there is a static method in Font class having syntax
Font.createFont(int fontFormat, File fontFile).
This let you create a font using the supplied font file.
Thus it is not necessary whether a particular font is installed on the
machine, we can use font created by this method(?).
The method available previously (in 1.3) has the syntax:
Font.createFont(int fontFormat, InputStream fontStream).
Can we use the functionality of JDK 1.5 in JDK 1.3?
i.e Can we get the InputStream from the TTF file and pass it to the
function to work it like the function available in 1.5 and create a new
Font?
If it is possible, how to do it?
Please help me ASAP.
-Sameer
In JDK1.5.0 there is a static method in Font class having syntax
Font.createFont(int fontFormat, File fontFile).
This let you create a font using the supplied font file.
Thus it is not necessary whether a particular font is installed on the
machine, we can use font created by this method(?).
The method available previously (in 1.3) has the syntax:
Font.createFont(int fontFormat, InputStream fontStream).
Can we use the functionality of JDK 1.5 in JDK 1.3?
i.e Can we get the InputStream from the TTF file and pass it to the
function to work it like the function available in 1.5 and create a new
Font?
If it is possible, how to do it?
Please help me ASAP.
-Sameer