Re: logo contest

2003-03-21 Thread Clay Leeds
I continually have problems viewing SVG in Mozilla. I can see it OK in 
M$IE but I hate using it. What would it take to create JPG versions of 
the SVG submissions?

rantI definitely think that a requirement for the logo is an SVG 
version (scalability, blah blah...), but shouldn't we have the LOGO 
submissions be in JPG or GIF so that we can view them all on the same 
page without resorting to the monopoly browser? Having to go to 
Netscape.com and try to find an SVG plugin (which I never got to work 
in my browser) is a bit annoying. Every time someone e-mailed a JPG or 
GIF file, I looked at it and thought... cool. Every time someone 
e-mailed an SVG, I thought $#%! I can't view the darn thing! I 
must've gone to the Netscape plugin page 5 times trying to get SVG to 
work in Mozilla's browser/Messenger but to no avail. My $.02/rant

p.s. Please forgive the rant! The coffee's still brewing... ;-)

J.Pietschmann wrote:
Peter B. West wrote:

This will have to wait until Joerg gets back from London.


...and until a SVG viewer is up and running :-/

J.Pietschmann


--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Embedding Printer Control parameters

2003-03-21 Thread IvanLatysh
Hi all.

We are using this kind of transformation:
XSL+XML = PS
It works fine with no problem.

And I need to embedd PCL command for duplex on PostScript printer.
How can I do it ?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



RE: FOText constructor (trunk)

2003-03-21 Thread Victor Mote
Jeremias Maerki wrote:

 Hmm, I'm no specialist in this area but wouldn't this be part of the
 property refinement which lies within the scope of Peter's work to be
 integrated with the trunk? I just hope you guys don't do the work twice.
 You two better stick your heads together. Just a thought.

I don't think it is related to property refinement, although it could/should
be related to the formatting object tree and refined formatting object
tree, which have already been well-documented not to exist in their
entirety under our processing model before layout starts. If they did exist,
then text-transform could be done as part of the transformation from one to
the other. However, under our model, it has to be done on the fly. More on
this in my response to Keiron to follow.

Peter, if you are addressing text-transform as part of your property
refinement work, please do let me know.

Victor Mote


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



RE: FOText constructor (trunk)

2003-03-21 Thread Victor Mote
Keiron Liddle wrote:

 This sounds more like a layout thing.
 If you are going to find complete words to do some manipulation
 then I would
 suggest taking a look at the getWordChars method in the layout
 managers. This
 is used to gather together all strings in from different layout
 managers, eg. when
 there is a inline fo. At the moment it is meant for hyphenation.
 The exact implementation for this may change but that is the general idea.

I'll look at this further, but I suspect that by the time it gets to layout,
its identity as part of a specific FOText object is lost (this was true in
maintenance). In the maintenance branch, the /only/ place where the FOText
object identity was retained /and/ you could find a way to see text in
adjoining nodes (actually only preceding nodes) was in the FOText
constructor, as part of the constructor passed the text off to be laid out.
If the layout is less eager in the trunk, then maybe there is another way to
do this.

Victor Mote


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: Embedding Printer Control parameters

2003-03-21 Thread IvanLatysh
Hello, Jeremias!
You wrote to [EMAIL PROTECTED] on Fri, 21 Mar 2003 18:38:15 +0100:

 JM Two possibilities:
 JM - Subclass the PostScript renderer and try to find the right place
 JM for   your special commands. You can then set the subclassed
 JM renderer in the
 JM   Driver using setRenderer(Renderer).
 JM - Post-process the generated file. If it's just a few leading and  
 JM trailing comments, this is extremely easy. Open a new
 JM FileOutputStream,   create a Writer on that stream, send your
 JM leading commands, pipe the   whole PS file through to the
 JM OutputStream, then add trailing commands   via the Writer and close
 JM the OutputStream.

 JM I hope that helps.

Thank you for fast response.
Is there are somehow possible to embedd PS command in XSL file, and this command will 
be included in resulting PS file.
This approach will be very useful.

And by the way,
Almost all renderer have a bug.
Logger is not setting when renderer is creting.

I would suggest to change setRenderer methods in Driver and set the logger for 
renderer.
Or each renderer should set the default logger, as it doing PDFRenderer.
If you run a transformation and do not set a logger for Renderer NullPointerException 
thrown in the method: 
public void startRenderer(OutputStream outputStream)
...
log.debug(rendering areas to PostScript); // here

---
Yours sincerely, Ivan Latysh.
Ivan[a]yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: Embedding Printer Control parameters

2003-03-21 Thread Jeremias Maerki

On 21.03.2003 19:06:54 IvanLatysh wrote:
 Is there are somehow possible to embedd PS command in XSL file, and this command 
 will be included in resulting PS file.
 This approach will be very useful.

In the redesign that should be relatively simple. Can't say offhand how
difficult this would be in the old FOP. The way to go is to implement an
extension. See the website and mailing list archives for more
information.

 And by the way,
 Almost all renderer have a bug.
 Logger is not setting when renderer is creting.

The code says something else. The Driver.setRenderer() method sets the
logger. Maybe you didn't set the logger on the Driver before calling
setRenderer.

 I would suggest to change setRenderer methods in Driver and set the logger for 
 renderer.
 Or each renderer should set the default logger, as it doing PDFRenderer.
 If you run a transformation and do not set a logger for Renderer 
 NullPointerException thrown in the method: 
 public void startRenderer(OutputStream outputStream)
 ...
 log.debug(rendering areas to PostScript); // here


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: Embedding Printer Control parameters

2003-03-21 Thread IvanLatysh
Hello, Jeremias!
You wrote to [EMAIL PROTECTED] on Fri, 21 Mar 2003 20:14:59 +0100:

 JM In the redesign that should be relatively simple. Can't say offhand
 JM how difficult this would be in the old FOP. The way to go is to
 JM implement an extension. See the website and mailing list archives
 JM for more information.
When the new FOP could be available ? :-)

  And by the way,
  Almost all renderer have a bug.
  Logger is not setting when renderer is creting.

 JM The code says something else. The Driver.setRenderer() method sets
 JM the logger. Maybe you didn't set the logger on the Driver before
 JM calling setRenderer.
fop-0.20.5rc2 - Driver.java,v 1.36.2.9 2002/12/09 00:34:56

Method
public void setRenderer(String rendererClassName)
try {
_renderer =
(Renderer)Class.forName(rendererClassName).newInstance();
_renderer.setProducer(Version.getVersion());
} catch (ClassNotFoundException e) {
...

Method
public void setRenderer(int renderer) throws IllegalArgumentException {

switch (renderer) {
case RENDER_PS:
setRenderer(new org.apache.fop.render.ps.PSRenderer());
break;
...

I am reusing the Driver. I did set the Logger before I set the renderer.

---
Yours sincerely, Ivan Latysh.
Ivan[a]yourmail.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: Embedding Printer Control parameters

2003-03-21 Thread Jeremias Maerki

On 21.03.2003 21:21:46 IvanLatysh wrote:
 Hello, Jeremias!
 You wrote to [EMAIL PROTECTED] on Fri, 21 Mar 2003 20:14:59 +0100:
 
  JM In the redesign that should be relatively simple. Can't say offhand
  JM how difficult this would be in the old FOP. The way to go is to
  JM implement an extension. See the website and mailing list archives
  JM for more information.
 When the new FOP could be available ? :-)

Immediately, if you download from CVS. Seriously, a release is still
some time away. We don't know when that will be. Depends on the help we
get and how much time we have to work on FOP. Maybe you should have a
look at the redesign and see what it can already do.

   And by the way,
   Almost all renderer have a bug.
   Logger is not setting when renderer is creting.
 
  JM The code says something else. The Driver.setRenderer() method sets
  JM the logger. Maybe you didn't set the logger on the Driver before
  JM calling setRenderer.
 fop-0.20.5rc2 - Driver.java,v 1.36.2.9 2002/12/09 00:34:56
 
 Method
 public void setRenderer(String rendererClassName)
 try {
 _renderer =
 (Renderer)Class.forName(rendererClassName).newInstance();
 _renderer.setProducer(Version.getVersion());
 } catch (ClassNotFoundException e) {
 ...

Ah yes, this is bad. But I meant setRenderer(Renderer), not 
setRenderer(String). So instantiate your sublassed renderer yourself and
pass it to FOP. It will be assigned a logger.

 Method
 public void setRenderer(int renderer) throws IllegalArgumentException {
 
 switch (renderer) {
 case RENDER_PS:
 setRenderer(new org.apache.fop.render.ps.PSRenderer());
 break;
 ...
 
 I am reusing the Driver. I did set the Logger before I set the renderer.

You're doing everything right.


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: Embedding Printer Control parameters

2003-03-21 Thread IvanLatysh
Hello, Jeremias!
You wrote to [EMAIL PROTECTED] on Fri, 21 Mar 2003 21:30:34 +0100:

 JM Immediately, if you download from CVS. Seriously, a release is still
 JM some time away. We don't know when that will be. Depends on the help
 JM we get and how much time we have to work on FOP. Maybe you should
 JM have a look at the redesign and see what it can already do.
I will have a look.

For now, I changed PSRenderer and add method writeFeatures(), which simply write my 
futures.
It does fine with duplex.

 JM Ah yes, this is bad. But I meant setRenderer(Renderer), not 
 JM setRenderer(String). So instantiate your sublassed renderer yourself
 JM and pass it to FOP. It will be assigned a logger.
This is a single method which have it :-)
We are using a custom FOPEmmiter for Saxon.
And emitter do not instantiate the Renderer, it simply reading a renderer class from 
XSL and pass it to the Driver.
For us, this is a best way to perform a transformation.

And thank you again for your help.
---
Yours sincerely, Ivan Latysh.
Ivan[a]yourmail.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Re: logo contest SVG question

2003-03-21 Thread J.Pietschmann
Clay Leeds wrote:
As a side note, does anyone know how to get SVG to display in Mozilla 
(1.3b). I tried installing the SVG plugin, but I can't get it to work.
Works with 1.2.1: copy NPSVGvw.dll, SVGView.dll and SVGViewer.zip into
the Mozilla plugins folder and restart. There's still the license screen
I have to get rid of.
J.Pietschmann



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: logo contest

2003-03-21 Thread J.Pietschmann
Peter B. West wrote:
This will have to wait until Joerg gets back from London.
Ok, my favorites:
#7, although I'd like it much more with a more classic typeface
  (a serif font, or even Fractur).
#10 nice and clean
#2 the foparrot :-)
J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]