Re: WebObjects 5.2, JNI, Core Graphics, ATS Server, XServe
Re: WebObjects 5.2, JNI, Core Graphics, ATS Server, XServe
- Subject: Re: WebObjects 5.2, JNI, Core Graphics, ATS Server, XServe
- From: Ulaganathan Sriramulu <email@hidden>
- Date: Thu, 28 Aug 2003 16:22:27 -0700
Hi List,
I am resending this message as I wasn't sure if the first one got
through
Regards
Ulag
On Thursday, August 28, 2003, at 03:13 PM, Ulaganathan Sriramulu wrote:
Hi list,
I have a java based WebObjects application that uses a native library
through a JNI Call to generate fonts. The font generation is done
using the Apple Type Services For unicode Imaging (ATSUI) APIs. The
application works fine in the development environment. The deployment
environment is XServe, running Mac OS 10.2. In this environment, the
font generation works fine as long as some one is logged on to machine
using the loginWindow ( remote login using ssh doesn't cut it). If no
one has logged in, then a call to ATSUSetAttributes fails with a
return code of -8796. According to the documentation, this error code
is returned if "The font ID does not correspond to any installed font
or ATSUI is unable to obtain the font data (as in the case of a
protected font). Available beginning with ATSUI 1.0" . But I see the
font file for the font i am using under /System/Library/Fonts. Hence I
am not sure if I am missing something!. What does "Installed Font"
mean?.
I did of little bit of research to see what the login process is doing
that causes this to work and I kind of think, the login process starts
up the ATSServer and Windows Server in addition to logging the user
in. I tried to start these servers manually as part of my JavaMonitor
startup script at the boot time. But that doesn't help either.
Has anybody had this problem before and have any pointers as to where
I should be looking for possible problems/solutions?
Regards
Ulag
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.