I am not very familiar with the jdk 1.4 beta up to now (not fast and stable
enough), btu I know that java is not pulling out the fonts directly from the
xfs.
I am not sure if this is changed in the latest greatest release.

Java is going directly to the font server and is ignoring some settings.
Especially if your xfs is put to a different location/install-dir you usually
have problems.
There is an internal environment variable which can be used to point to font
directories:
i.e.:    export JAVA_FONTS=/usr/local/fonts/
(multiple path are allowed)

A good book for programming with java on linux systems is:
    Java programming on Linux by Nathan Meyers
It covers in a chapter the font problems that can occure.

Karsten

> I have been trying to get Indic (indian language) TTFs on Windows to work on
> Linux using Java 1.4.0 Beta. It doesnt seem to be a simple - Copy the fonts,
> ttmkfdir, and mkfdir, Restart xfs on my Redhat 7.1 ....
>
> Java 1.4 as stated uses T2k Rasterization - which is supposed to be OS
> independent,
> as I understand. However, for the three fonts that I am interested in,
> namely, mangal.ttf,
> tunga.ttf and ArialUni.ttf - I am unable to display fonts under Java for
> Linux.
> The same Java Program works very well for MS Windows XP/2000/98.
> I picked the above fonts from MS Windows XP.
>
> I have been using the test program given for 2D fonts @
> http://java.sun.com/docs/books/tutorial/2d/textandfonts/fontselection.html
>
> Could someone please give me some pointers/info on what could be the prob ?
>
> Best Regards,
> Sastry RVS
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

--
Karsten Trott
Technical Lead, Intuitive Design Interface , Get2Chip.com, Inc.
Staff R&D Engineer
Phone: +49-89-5908-2333
Fax:   +49-89-5908-1328

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to