Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Plans for updating to Java 1.4 / Java 1.5 (EPS issues)
Plans for updating to Java 1.4 / Java 1.5 (EPS issues)
 
   NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
dutchieman
Blue Pill


Joined: May 18, 2005
Posts: 3

PostPosted: 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?
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: 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 Smile) 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 Exclamation

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?)

Edit: Some googling reveals this interesting tidbit from the DeltaGraph 5.6 Readme:
Quote:
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! Very Happy)

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
Back to top
dutchieman
Blue Pill


Joined: May 18, 2005
Posts: 3

PostPosted: 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):

http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/index.html#//apple_ref/doc/uid/TP30001066

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

Anyway, keep up the good work!
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Jul 29, 2005 8:12 am    Post subject:

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.

Patrick
Back to top
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Fri Jul 29, 2005 10:11 pm    Post subject:

[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.

James
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Fri Jul 29, 2005 11:16 pm    Post subject:

jjmckenzie51 wrote:
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.


Here's a random EPS: http://ooodocs.sourceforge.net/graphics/1.1/ooo1.1-cdenvelope_v1.eps

Not sure whether EPS files get printed on inkjets on Mac OS X under normal circumstances (i.e., by apps that can otherwise print EPS), though.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Page 1 of 1

 
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

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.