whilst its still an unfulfilled goal to have a clean "printer driver layer"
for either developers generating printer code from graphics calls, or
for licensees porting, its not correct to assume that this means everything
is rasterised.

this could happen in 1.2 but 1.3 fixed the majority of such cases as well
as improving text to use printer fonts.
So you should almost always get "PDL" output.
You shouldn't get a raster from text on any of the platforms unless you
do something like drawing using an alpha colour where we do still use a
raster internally.

start with an minimal text-only case and see if you really are seeing
a raster and work up from there to see what's tickling it.

that web page pre-dated the shipping of 1.3 and ought to be updated.
I'll mention this to our web/docs group.

-phil.

> Date: Tue, 24 Apr 2001 18:02:00 -0400
> From: "Jim O'Neill" <[EMAIL PROTECTED]>
> Subject: Re: [JAVA2D] Embedding Fonts in Postscript
> To: Phil Race <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
> X-Priority: 3
>
> 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".

Reply via email to