RE: XSL-FO Engine comparisons

2001-08-03 Thread Rybin, Steve

I have used GhostScript for awhile. And it works great for that purpose.

Steve Rybin.

-Original Message-
From: Elliotte Rusty Harold [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 7:19 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: XSL-FO Engine comparisons


At 10:28 PM +0100 7/31/01, Sebastian Rahtz wrote:
Elliotte Rusty Harold writes:
  The downside to this otherwise excellent engine is that it's Windows
  only and based on Windows graphics primitives rather than PostScript or
  PDF. It displays on the screen very nicely, and prints nicely too.
  However, it does not produce a PDF document that I can send to my editor
  or a typesetter.
Cant you print PS to file and Distill it?


I suppose I could, but only if somebody knows of an open source tool for
distilling files. After the Skylarov fiasco, I'll be damned if I'm going to
give Adobe one more penny. 

Hmm, after a little hunting around with Google it looks like GhostScript
might actually do that. I'll have to give it a try. 
-- 

+---++---+
| Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer |
+---++---+ 
|  The XML Bible, 2nd Edition (Hungry Minds, 2001)   |
|  http://www.ibiblio.org/xml/books/bible2/  |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+--+-+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/  | 
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ |
+--+-+

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

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




FOP install problem

2001-08-03 Thread Patel, Mike

Hi,

I  have install FOP version 0.19.0 and when I try to build I am having
problem.  I am not sure if you are part of news group or not but if I can
get some help I will really appreciate.

BUILD FAILED

/Work/download/Fop/Fop-0.19.0-CVS/build.xml:542: Error starting classic
compiler
:

Thanks,

Mike Patel
[EMAIL PROTECTED]
949-219-3539

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




Re: Mailing list

2001-08-03 Thread Martin Stricker

Jim Urban wrote:
 
 I need to suspend my membership in this group because I will be on
 vacation for a week starting tomorrow.  What is the address to email
 to suspend mail delivery?
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

Look here:^^^
):(

Best regards,
Martin Stricker
-- 
Homepage: http://www.martin-stricker.de/
Registered Linux user #210635: http://counter.li.org/

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




RE: XSL-FO Engine comparisons

2001-08-03 Thread KRUMPOLEC Martin

 Hmm, after a little hunting around with Google it looks like 
 GhostScript might actually do that. I'll have to give it a try. 

  Yes, I do it this way, I print into virtual postscript printer
  and convert resulting .ps to .pdf via ghostview (File/Convert)

Martin

-- 
Martin Krumpolec [EMAIL PROTECTED]

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




slovak hyphenation

2001-08-03 Thread KRUMPOLEC Martin

Hi,

  Please can you add slovak hyphenation patterns (attached) to the 
  CVS and build ? It is converted from skhyphen.tex (from csplain) ...

Thank you

Martin

-- 
Martin Krumpolec [EMAIL PROTECTED]


 sk.xml

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


RE: FOP failure

2001-08-03 Thread COFFMAN Steven

Hi Dane,
The XSL-FO specification has changed a great deal, as has FOP in the
interim between FOP 0.12 and FOP 0.19. You will need to either extensively
update your FO document to conform to the specification, or downgrade to the
old version of FOP.

The latest spec (Candidate Recommendation) is here:
http://www.w3.org/TR/xsl/
-Steve

-Original Message-
From: Dane Foster [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 12:58 PM
To: [EMAIL PROTECTED]
Subject: FOP failure


Hello.  I have an .fo file that fop 0.19 refuses to work with.  The file was
originally created against the 0.12 version of FOP.  The document that the
.fo file represents has been changed so I figured I should update FOP since
I'm updating the .fo document.  Any help would be greatly appreciated.

Dane Foster
Equity Technology Group, Inc
http://www.equitytg.com.
954.360.9800

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




Re: XSL-FO Engine comparisons

2001-08-03 Thread Elliotte Rusty Harold

At 10:28 PM +0100 7/31/01, Sebastian Rahtz wrote:
Elliotte Rusty Harold writes:
  The downside to this otherwise excellent engine is that it's Windows
  only and based on Windows graphics primitives rather than PostScript or
  PDF. It displays on the screen very nicely, and prints nicely too.
  However, it does not produce a PDF document that I can send to my editor
  or a typesetter.
Cant you print PS to file and Distill it?


I suppose I could, but only if somebody knows of an open source tool for distilling 
files. After the Skylarov fiasco, I'll be damned if I'm going to give Adobe one more 
penny. 

Hmm, after a little hunting around with Google it looks like GhostScript might 
actually do that. I'll have to give it a try. 
-- 

+---++---+
| Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer |
+---++---+ 
|  The XML Bible, 2nd Edition (Hungry Minds, 2001)   |
|  http://www.ibiblio.org/xml/books/bible2/  |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+--+-+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/  | 
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ |
+--+-+

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




Mailing list

2001-08-03 Thread Jim Urban

I need to suspend my membership in this group because I will be on vacation
for a week starting tomorrow.  What is the address to email to suspend mail
delivery?

Thanks,
Jim Urban
Product Manager
Netsteps Inc.
Suite 505E
1 Pierce Pl.
Itasca, IL  60143
Voice:  (630) 250-3045 x2164
Fax:  (630) 250-3046


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




Editor Worth Looking At

2001-08-03 Thread Arved Sandstrom

Hi, all

Given the recent discussion over formatting, I thought it was worth pointing 
out the existence of the jEdit text editor, in case you are unaware of it, or 
haven't really looked at it, or looked at an early version and became 
disillusioned.

I am neither a knee-jerk proponent of Java nor an evangelist of any 
particular text editor. I tend to prefer UltraEdit on Windows, Alpha on MacOS 
(BBEdit ain't bad), and jEdit on UNIX/Linux, but sometimes use vi, emacs, or 
anything else that works.

Version 3.1final for jEdit has some really cool features and I recommend 
checking it out. Get as many of the plugins as you can; chief among them is 
the 'astyle' plugin, which is set up as a bean and therefore can have its 
properties edited (changed). So you can immediately beautify/format your code 
in your editor.

jEdit is also one of the few editors I have found (ColdFusion is another) 
which is set up to do 'collapse' right out of the box.

There is also a Java Class Wizard plugin; couple that with the Get/Set Method 
macros and the CodeAid plugin, and you will improve your productivity a lot. 
In fact, if you happen to be an aficionado of JBuilder then you will be 
getting a lot of familiar editing features in a package that is much smaller 
and appreciably faster.

The other features are on a par with other leading text editors.

Regards,
Arved Sandstrom
-- 
Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Halifax, Nova Scotia
Wireless * B2B * J2EE * XML

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




Re: PDF2PS

2001-08-03 Thread Christian Geisert

[EMAIL PROTECTED] wrote:
 
 hi all,
 
 I have generated pdf file from xml by using FOP-0.19.0-CVS,  but I don't
 know how to use Ghostscript to convert the pdf file to postscript file
 under Windows environment, can you help me?

You do not need Ghostscript, FOP has a Postscript renderer !
Try  'fop test.fo -ps test.ps' from the commandline.
 
 Thanks for any help you can give.
 
 best rgds,
 ektan

Christian

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




[Bug 2987] New: - Large graphics put FOP 0.19 into an infinite loop

2001-08-03 Thread bugzilla

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2987

*** shadow/2987 Fri Aug  3 18:27:09 2001
--- shadow/2987.tmp.6099Fri Aug  3 18:27:09 2001
***
*** 0 
--- 1,20 
+ ++
+ | Large graphics put FOP 0.19 into an infinite loop  |
+ ++
+ |Bug #: 2987Product: Fop |
+ |   Status: NEW Version: all |
+ |   Resolution:Platform: Sun |
+ | Severity: Normal   OS/Version: Solaris |
+ | Priority: Other Component: general |
+ ++
+ |  Assigned To: [EMAIL PROTECTED]   |
+ |  Reported By: [EMAIL PROTECTED]   |
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |
+ When FOP attempts to render a large external graphic, it appears to enter an
+ infinite loop in the Formatting FOs into areas stage.  It outputs area numbers
+ until it runs out of memory.  Shrinking the offending file fixes the problem. 
+ The limit appears to be the size of the area available on the page.
\ No newline at end of file

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




Re: Fix (not Patch) to changes on 26 July that broke Embedded Fontlayout

2001-08-03 Thread Tore Engvig



You're quite right, the characters was mapped twice.
I removed the boolean doMap argument to getWordWidth because it's not used
anymore. Then we don't need the getMappedCharWidth/getCharWidth
distinction.

Thanks

Tore


On Wed, 1 Aug 2001, Struan Judd wrote:

 I've tracked down the reason for the problem I reported below.

 Unfortunately, I've done this in the pre-codeformat sources and I don't have
 access to a patch generator (well maybe but it's a minor fix).

 In org.apache.fop.layout.LineArea towards the end of the function:
 private int getWordWidth(String word, boolean doMap)
 the line (992 in old code) was changed to be:
 width += getCharWidth(currentChar);

 This caused some characters to be mapped twice.

 The fix I'm suggesting is to split the function:
 private int getCharWidth(char c)
 which begins
 int width = currentFontState.width(currentFontState.mapChar(c));
 if (width = 0) {
 ...

 into two functions as follows:

 private int getCharWidth(char c) {
 return getMappedCharWidth(currentFontState.mapChar(c));
 }

 private int getMappedCharWidth(char c) {
 int width = currentFontState.width(c);
 if (width = 0) {
 ...

 and then changed the above mentioned line in getWordWidth() to be:
 width += getMappedCharWidth(currentChar);


 I hope this can be checked and committed soon.

 TTFN
 
 Struan Judd * And so it begins ...ICQ: 4498196
 http://neongraal.sf.org.nz
 mailto:[EMAIL PROTECTED]   Voicemail and Fax: +1 (201) 305-1011 
x1006


  -Original Message-
  From: Struan Judd [mailto:[EMAIL PROTECTED]]
  Sent: Friday, 27 July 2001 12:53
  To: [EMAIL PROTECTED]
  Subject: The current CVS version seems to be seriously broken
 
 
  It builds fine but the finally laid out PDF has overlapping areas and
  non-lined up leading edges of table columns.
 
  I am using an embedded font but that's all I can think of that different
  from defaults.
 
  If I checkout as at 25th of July it works fine.
 
  So what's been checked in recently that might affect that.
 
  TTFN
  
  Struan Judd * And so it begins ...  ICQ: 4498196
  http://neongraal.sf.org.nz
  mailto:[EMAIL PROTECTED] Voicemail and Fax:
  +1 (201) 305-1011 x1006
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 


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




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




Re: logging

2001-08-03 Thread Carlos Villegas


Keiron Liddle wrote:
 
 On Thu, 02 Aug 2001 17:45:56 Carlos Villegas wrote:
  I think it's possible to do in FOP what was done in Velocity. They have
  a middleware that decouples Velocity from the specific logging toolkit.
  So they have drivers for logkit and log4j and you can even write your
  own one. This is a better choice when embedding FOP since you'd want to
  use whatever logging system you've already have in place. I think it's
  worth taking a look at the Velocity log package, we might be able to
  reuse it.
 
 That would work, but I have a few problems with it.
 - We would need to copy their code (and hence create two diverging
 versions) because it has dependancies
 - It adds an extra 3 layers to every log call, also has extra logic
 - a logging system should do all of the targetting things itself (instead
 of having an interface with multiple targets to an interface with multiple
 targets that writes the logging)
 - I want to avoid having extra code that only adds complexity

Well, it was just an idea. I don't think it's that much extra code
anyway, or that extra code necessarily adds complexity. My post was
motivated from my experience with Velocity. We're using Velocity in a
servlet environment. Our system already had its own logging system.
Velocity as shipped, logs to its own file, but we wanted to use our same
configuration file to configure Velocity logging as well and to merge
logs onto a single destination. It was very easy, all you you to do is
implement a very simple interface, basically:

interface VelocityLog {

   void debug(String message);
   void info(String message);
   void error(String message);
   ...

}
and set a property in Velocity to point to your logging implementation
class.

Yes, it adds an extra layer and notice that some nice features of
systems like log4j are not used, like categories. It all depends of
course on your needs. Velocity is intended primarily to be embedded, so
you'd want that flexibility.

Nevertheless, I don't neccessarily think it's the best choice for FOP.

This is also related to a recent post about FOP APIs, there were some
complains about how inflexible FOP is when trying to embed it. 

Carlos

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