Thanks for the reply, Phil. Some comments/additional questions are below
> I'm not sure how you'd expect to see such a capability exposed in the
> APIs we have in current releases. It would seem to imply you are
> in control of the process of generating postscript and so are
> mapping the fonts used in graphics calls on a printer graphics
> to this font you've embedded.
I found the following SDK 1.2 Printing API reference at
http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html
"..., the initial implementation focused upon the creation of a raster print
path and the creation of the new printing API itself. ... The current
implementation of the SDK 1.2 Printing API does not support a printer driver
layer (see Figure 2). Each SDK 1.2 port re-implements the imaging to the
printer translation layer. "
I think that this means that the Printing API rasterizes everything before
sending it to the printer ? I'm using the JDK1.3.1 beta and this appears to
still be the case. Do you know of any plans to change this behavior ? Are
there any workarounds ?
As for the carrot, I think that it will add a lot of flexibility, however, I
think it would also be useful to be able to use "brute force" to let an
installed printer driver generate the postscript instead.
Thanks again for the reply,
Jim
----- Original Message -----
From: "Phil Race" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 5:19 PM
Subject: Re: [JAVA2D] Embedding Fonts in Postscript
> Hi,
> Sorry, no there isn't, other than what the driver may do for you.
> I'm not sure how you'd expect to see such a capability exposed in the
> APIs we have in current releases. It would seem to imply you are
> in control of the process of generating postscript and so are
> mapping the fonts used in graphics calls on a printer graphics
> to this font you've embedded.
> One carrot I can offer is that the next JDK release will provide
> a mechanism for printing document types such as postscript explicitly.
> So you could generate your own postscript and print that when a
> postscript capable printer is detected.
>
> -phil.
>
> > Date: Tue, 24 Apr 2001 13:55:09 -0700
> > From: "Jim O'Neill" <[EMAIL PROTECTED]>
> > Subject: [JAVA2D] Embedding Fonts in Postscript
> > To: [EMAIL PROTECTED]
> >
> > Hi,
> >
> > Is there any way to use the Print APIs to embed fonts when printing to a
> postscript driver ?
> >
> > Any help would be appreciated.
> > Thanks,
> > Jim
> > -------
> > Jim O'Neill
> > Ducat Commerce, LLC
> > [EMAIL PROTECTED]
> >
> >
===========================================================================
> > 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".
>
===========================================================================
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".