Jim,

Ah, you are not using the PrinterJob API.

That bug talks about "AWT" printing.
That's the old 1.1 "PrintJob" API owned by the AWT group,
not Java 2D printing "java.awt.print.PrinterJob" owned by the 2D group.
In fact "PrintJob" doesn't support 2D graphics (ie Graphics2D).

I realise that can be a distinction that's hard to make from the outside
looking in.

The two APIs are different and in 1.3 and 1.3.1 shared no implementation.
So the problems described in that bug report exist only if you use AWT
(aka 1.1) printing.

So you don't need to wait for merlin beta, just use PrinterJob - which
is what I was assuming you were using since that's what the web page you
referred is all about.

In general I would suggest adopting PrinterJob now as that's the one
that works with all the new APIs in merlin.

-phil.


> X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
> X-Priority: 3
> Date: Wed, 25 Apr 2001 10:49:30 -0400
> From: "Jim O'Neill" <[EMAIL PROTECTED]>
> Subject: Re: [JAVA2D] Embedding Fonts in Postscript
> Comments: To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
>
> Phil,
>
> According to the following:
>
> http://developer.java.sun.com/developer/bugParade/bugs/4291377.html
>
> rasterization of Fonts is fixed in the merlin-beta build. Is there any
> public information on when this beta will be released for evaluation?
>
> Thanks,
> Jim
>
>
>
>
> ----- Original Message -----
> From: "Phil Race" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, April 24, 2001 6:24 PM
> Subject: Re: [JAVA2D] Embedding Fonts in Postscript
>
>
> > 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".

===========================================================================
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