Posted: Fri Jul 29, 2005 1:23 am Post subject: Plans for updating to Java 1.4 / Java 1.5 (EPS issues)
What is the current time frame for moving to a new Java framework? I understand that taking in the openoffice 1.1.5 branch has more priority.
My actual problem is with EPS graphics. I insert these a lot, and NeoOffice (actually Java1.3) has problems printing these, or exporting them to PDF. So I'm stuck with the X11 builds of openoffice 1 / 2beta for now.
Am I right in assuming that Java 1.4 (with its new "CoreGraphics" or sth) will correctly print EPS? or maybe even display it inline?
Posted: Fri Jul 29, 2005 1:46 am Post subject: Re: Plans for updating to Java 1.4 / Java 1.5 (EPS issues)
dutchieman wrote:
What is the current time frame for moving to a new Java framework? I understand that taking in the openoffice 1.1.5 branch has more priority.
Actually, it's the reverse, but work is ongoing on both (poke around this forum and you'll see several topics). The next Release (Neo/J 1.2 Alpha?) will probably feature them both, but there will probably be patches to use Java 1.4 on the existing codebase (change only one variable at a time ) first.
dutchieman wrote:
My actual problem is with EPS graphics. I insert these a lot, and NeoOffice (actually Java1.3) has problems printing these, or exporting them to PDF. So I'm stuck with the X11 builds of openoffice 1 / 2beta for now.
Am I right in assuming that Java 1.4 (with its new "CoreGraphics" or sth) will correctly print EPS? or maybe even display it inline?
I'm glad you brought this up, because I was thinking about it, too. The problem as Patrick diagnosed it in bug 359 was that Java uses CoreGraphics for printing and CoreGraphics does not support EPS printing
I don't believe there's any reason that this will have changed with Java 1.4.2 and the version of CoreGraphics that ships with Mac OS X 10.3.x, but I wanted to ask Patrick to confirm.... (Since QuickDraw is deprecated, one assumes Apple must have to add support for printing EPS to CoreGraphics at some point...when?)
Imported EPS files are now rendered to screen and to printer via CoreGraphics, which means higher quality output. The preview images sometimes added to EPS files are no longer used by DeltaGraph for rendering either to screen or to printer. Rather, the PostScriptâ„¢ code is interpreted for rendering purposes.
Hmm. (Ironically, the top--and most useful-sounding--hits were from neo-related domains--trinity, bugzilla, the wiki--Ed can relate to this! )
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Last edited by sardisson on Fri Jul 29, 2005 2:11 am; edited 1 time in total
Posted: Fri Jul 29, 2005 2:04 am Post subject: Quartz 2D part of CoreGraphics
According to the apple docs, Quartz 2D is a part of coregraphics... the developer docs even mention directly importing .PS and .EPS into a Quartz 2D application (the way Preview is doing it):
So if a jump to quartz2d is made, I guess embedding EPS (even embedding PDF:)) should be ok... What I don't know, is how accessible all this is from Java. Apple claims that Cocoa should be completely accessible from Java, but I haven't found any examples yet...
I am working full time on the Java 1.4. I haven't reimplemented printing support yet, so I don't know if EPS will work when printing. However, I will make sure my existing EPS code is included in any Java 1.4 patch that I release so that people can test it.
[quote="pluby"]I am working full time on the Java 1.4. I haven't reimplemented printing support yet, so I don't know if EPS will work when printing. However, I will make sure my existing EPS code is included in any Java 1.4 patch that I release so that people can test it.{/quote]
Patrick:
If you send me a URL where I can pick up an EPS file, I will definately 'waste some ink' and try and print it at anything higher than 300 dpi.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum