Fop Logo concept

2003-02-04 Thread Mitchell, Lincoln L.
How about this...

 fop.jpg 
Designer: Lincoln Mitchell
 fop.jpg 
attachment: fop.jpgattachment: fop.jpg-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Fop Logo concept

2003-02-04 Thread J.Pietschmann
Mitchell, Lincoln L. wrote:
How about this...
Great design, but please, no insects anymore. If there is an
animal in the logo, it should be something cute, preferably
furry or at least feathered.
J.Pietschmann


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


Re: How to include an external graphic using a relative path

2003-02-04 Thread Johan Åbrandt
You can define baseDir property (see faq howto) as 
getServletContext().getRealPath(/project/img) 

snip...
Just a reminder that getRealPath( ... ) is allowed to return null if the 
application is deployed for example in a war file, according to the 
servlet spec. This advice is hence likely to work, but it is not portable.

__
This message and its attachments have been found clean from known viruses 
with three different antivirus programs.
__

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


RE: Prb: Using bold fonts with FOP??

2003-02-04 Thread Hugo Oliveira
I' am using version 0.20.5

When I show the result using the -awt switch the two font courier e courier
bold appear OK, but when I send it to the printer the courier new bold
appears like arial bold??

I try to send direct to the printer and the result is the same.

HOliviera

-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: segunda-feira, 3 de Fevereiro de 2003 20:51
To: [EMAIL PROTECTED]
Subject: Re: Prb: Using bold fonts with FOP??


Hugo Oliveira wrote:
 My problem is that I want to use the courier Font, normal and bold.
 
 I get the courier font file from my /WINNT/Fonts/ directory and 
 generate
 the XML file for the two fonts, courier new (cour.ttf) and courier new 
 bold (courbd.ttf).
 
 When I generate the pdf file I have two different fonts in my file, 
 the
 courier new it's OK but the courier new bold is not. The font is 
 different from courier.

You have to have separate entries for the Courier New and the Courier New
bold in your userconfig.xml. Check with the documentation and the sample
(for Arial) in the sample userconfig.

What FOP release are you using?

J.Pietschmann


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

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



RE: FOP logo contest

2003-02-04 Thread Max Dcosta
Guys,

If i have designed a logo, should i mail it to this list itself and if yes
when will it appear in the web poll, so that i know its taken in by the FOP
Team.

Please reply,

Cheers,

Max


-
Max William D'Costa| User Interface Designer| netdecisions
6th Floor, MET Building, Bandra Reclamation, Mumbai-400050
t +(91) 22 2644 /2642 8337 Extn. 153 f +(91) 22 2644
http://www.netdecisions.com
[EMAIL PROTECTED]

-


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



RE: FOP logo contest

2003-02-04 Thread Max Dcosta
Hello Foppers,

Here is my Logo. Hope you find it pleasant.

Please put it on the web poll.

Thanks and best wishes,

Max DCosta :)






-Original Message-
From: Max Dcosta 
Sent: Tuesday, February 04, 2003 4:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: FOP logo contest


Guys,

If i have designed a logo, should i mail it to this list itself and if yes
when will it appear in the web poll, so that i know its taken in by the FOP
Team.

Please reply,

Cheers,

Max


-
Max William D'Costa| User Interface Designer| netdecisions
6th Floor, MET Building, Bandra Reclamation, Mumbai-400050
t +(91) 22 2644 /2642 8337 Extn. 153 f +(91) 22 2644
http://www.netdecisions.com
[EMAIL PROTECTED]

-


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



FOP_logo_MaxDcosta.svg
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Fop Logo concept

2003-02-04 Thread Rob Staveley \(Tom\)
I agree with your sentiments, though it is indeed a nice design. I'm no
artist, but what about a play on the word fop/foppish (as in a dandy)? There
are nice images of fops at http://www.theonion.com/onion3011/foppish.html
and http://www.nadablog.com/blog/98.html which could be inspiration.

-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: 04 February 2003 00:46
To: [EMAIL PROTECTED]
Subject: Re: Fop Logo concept


Mitchell, Lincoln L. wrote:
 How about this...

Great design, but please, no insects anymore. If there is an
animal in the logo, it should be something cute, preferably
furry or at least feathered.

J.Pietschmann





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



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



external-graphic problem

2003-02-04 Thread Mihael Knezevic
hi,

i think i got a simple problem and probably everybody will point me to
the fop faq but i need an example (hopefully a working one).

i want to have one pic on one page.

i got the following xml file:

Bericht
Bild source=wgr-50.jpg /
Bild source=wgr-60.jpg /
Bild source=wgr-70.jpg /
Bild source=wgr-80.jpg /
...
/Bericht

i got the following xsl line in my xsl file:
fo:external-graphic src=@source /

but i get the error message:
[ERROR]: Error while creating area : Error with image URL: @source (Das
System kann die angegebene Datei nicht finden) and no base directory is
specified

can anybody help?

thanx

mk

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



Re: Fop Logo concept

2003-02-04 Thread Oleg Tkachenko
Mitchell, Lincoln L. wrote:
How about this...
 fop.jpg 
Designer: Lincoln Mitchell
 fop.jpg 
Well, actually I believe ant is taken already by ANT project, but anyway I 
have added it to the list.
--
Oleg Tkachenko
Multiconn Technologies, Israel

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


Re: Fop Logo concept

2003-02-04 Thread Oleg Tkachenko
J.Pietschmann wrote:
Great design, but please, no insects anymore. If there is an
animal in the logo, it should be something cute, preferably
furry or at least feathered.
Agree, we are Apache project after all, so it would be nice to have something 
compatible with Apache's feather (http://www.apache.org/images/asf_logo_wide.gif).

--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: external-graphic problem

2003-02-04 Thread Louis . Masters

Here is our working code:


xsl:if test=@isrc!=''
 fo:external-graphic scaling=uniform height=auto width=auto
content-width=auto content-height=auto src=[EMAIL PROTECTED]/
/xsl:if

If I remember right, you also have to set the basedir (either in your
userconfig.xml or via Java):

Configuration.put(baseDir, file: + imgSrcDir);

-Lou






Mihael Knezevic [EMAIL PROTECTED] on 02/04/2003 07:56:52

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  external-graphic problem

hi,

i think i got a simple problem and probably everybody will point me to
the fop faq but i need an example (hopefully a working one).

i want to have one pic on one page.

i got the following xml file:

Bericht
   Bild source=wgr-50.jpg /
   Bild source=wgr-60.jpg /
   Bild source=wgr-70.jpg /
   Bild source=wgr-80.jpg /
   ...
/Bericht

i got the following xsl line in my xsl file:
fo:external-graphic src=@source /

but i get the error message:
[ERROR]: Error while creating area : Error with image URL: @source (Das
System kann die angegebene Datei nicht finden) and no base directory is
specified

can anybody help?

thanx

mk

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









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



Re: FOP logo contest

2003-02-04 Thread Oleg Tkachenko
Max Dcosta wrote:
Here is my Logo. Hope you find it pleasant.
Thank you!
Please put it on the web poll.
Done.
--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: Fop Logo concept

2003-02-04 Thread Ilja Preuss
 Agree, we are Apache project after all, so it would be nice to 
 have something 
 compatible with Apache's feather 
 (http://www.apache.org/images/asf_logo_wide.gif).

What about dipping that feather in an inkpot? :-)

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



Re: Fop Logo concept

2003-02-04 Thread Oleg Tkachenko
Max Dcosta wrote:
Here are two more logo's from myside, one just a color variation of the
earlier.
Added. Actually color variations may overflow the list, but anyway, thank you.
--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Fop Logo concept

2003-02-04 Thread Oleg Tkachenko
Max Dcosta wrote:
Here are two more logo's from myside, one just a color variation of the
earlier.
btw, in the last one string File Object Processor probably should be 
Formatting Objects Processor?

--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AW: Fop Logo concept

2003-02-04 Thread Oleg Tkachenko
Ilja Preuss wrote:
What about dipping that feather in an inkpot? :-)
Actually a brilliant idea. It's a pity I'm not an artist ;)
--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to adjust page layout

2003-02-04 Thread Oleg Tkachenko
Mohamed Abdel Hamid wrote:
i have a problem in page layout when i print my pdf file,
i'm using Fop 0.20.3 my case as following :-
i want to create a page which its content has a distance of 1.6 cm from 
borders.
i make all setting as i know and imagine that everything must work fine 
with this adjustment
but when i print it i found distance is 2.1 cm instead of 1.6 cm my code 
is like this :
Correct me if I'm wrong, but I believe printers have unprintable areas on a 
parer, have you tried to customize printing settings?

--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: single and double column on same single page

2003-02-04 Thread H. krishna
Dear Oleg,

Thanks for your mail. now my problem is solved. once
again thanks for you.

Regards,

H. Balakrishnan


--- Oleg Tkachenko [EMAIL PROTECTED] wrote:
 H. krishna wrote:
 
  i need the single and double column on same single
  page. It is possible in fop-0.20.5.
 You can use span=all to force a block to span over
 all columns, see 
 docs/examples/region_body/simplecol.fo example.
 
 -- 
 Oleg Tkachenko
 Multiconn Technologies, Israel
 
 

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


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: AW: Fop Logo concept

2003-02-04 Thread Oleg Tkachenko
Max Dcosta wrote:
here it is, pls replace the wrong one with this one... thanks my friend.
Done.
--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Converting SVG files to different file formats

2003-02-04 Thread Hans Stoessel
Hi

I have a Java (JDK 1.4.1) standalone application which generates SVG files
(Charts with JFreeChart). This charts should be converted into different
file formats like JPG, PDF and maybe EPS. The converted files must be high
quality files for printing media. I try to do that on different ways, f.e.
with Batik, FOP and Image Magick, but the results are bad. I use Windows
2000 as OS.

- How can I do that?
- Does anybody know a good way to convert files form SVG into different
formats with a high quality?
- Has anybody sample code how to improve the quality when I use Image Magick
or Batik?
- Has anybody sample code how I can convert an SVG file into high quality
PDF using FOP?
- Is there an another good tool or Java library to do that?

Thanks a lot

Regards

Hans


PM Medici AG
Hans Stössel
Maihofstrasse 63
CH-6006 Luzern




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



How to convert XML to RTF?

2003-02-04 Thread Jasmin Mehta








Hi,



Is there any way to convert XML file in to Reach Text
Format? Is there some facility in FOP?



Thanks

Jasmin








RE: external-graphic problem

2003-02-04 Thread Mihael Knezevic
thanx for the response. correct me if i'm wrong, but i thought the base
dir must only be set if i use this in a servlet?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 04, 2003 2:12 PM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic problem



Here is our working code:


xsl:if test=@isrc!=''
 fo:external-graphic scaling=uniform height=auto width=auto
content-width=auto content-height=auto src=[EMAIL PROTECTED]/ /xsl:if

If I remember right, you also have to set the basedir (either in your
userconfig.xml or via Java):

Configuration.put(baseDir, file: + imgSrcDir);

-Lou






Mihael Knezevic [EMAIL PROTECTED] on 02/04/2003 07:56:52

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  external-graphic problem

hi,

i think i got a simple problem and probably everybody will point me to
the fop faq but i need an example (hopefully a working one).

i want to have one pic on one page.

i got the following xml file:

Bericht
   Bild source=wgr-50.jpg /
   Bild source=wgr-60.jpg /
   Bild source=wgr-70.jpg /
   Bild source=wgr-80.jpg /
   ...
/Bericht

i got the following xsl line in my xsl file: fo:external-graphic
src=@source /

but i get the error message:
[ERROR]: Error while creating area : Error with image URL: @source (Das
System kann die angegebene Datei nicht finden) and no base directory is
specified

can anybody help?

thanx

mk

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









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


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



Class not found applet error

2003-02-04 Thread Matthew Lancashire
I have created a htm page..
HTML
HEAD
META NAME=GENERATOR Content=Microsoft Visual Studio 6.0
/HEAD
BODY

Pnbsp;/P


!-- Insert HTML here --
APPLET style=LEFT: 0px; TOP: 0px height=200 width=320
code=IESPrint.class name=IESPrint VIEWASTEXT
PARAM NAME=label VALUE=This string was passed from the HTML
host./APPLET

/BODY
/HTML

containing an applet..
//Java
import java.awt.*;
import java.applet.*;
import java.io.File;
import java.io.IOException;
import java.io.OutputStream;

//JAXP
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.TransformerException;
import javax.xml.transform.Source;
import javax.xml.transform.Result;
import javax.xml.transform.stream.StreamSource;
import javax.xml.transform.sax.SAXResult;

//Avalon
import org.apache.avalon.framework.ExceptionUtil;
import org.apache.avalon.framework.logger.ConsoleLogger;
import org.apache.avalon.framework.logger.Logger;

//FOP
import org.apache.fop.apps.Driver;
import org.apache.fop.apps.FOPException;
import org.apache.fop.messaging.MessageHandler;

/**
 * This class reads PARAM tags from its HTML host page and sets
 * the color and label properties of the applet. Program execution
 * begins with the init() method.
 */
public class IESPrint extends Applet
{
/**
 * The entry point for the applet.
 */
public void init()
{
initForm();

usePageParams();
try
{
System.out.println(FOP ExampleXML2PDF\n);
System.out.println(Preparing...);

//Setup input and output files
File xmlfile = new File(tsectionprint.xml);
File xsltfile = new File( tsectionprint.xsl);
File pdffile = new File(oi.pdff);
//  File xmlfile = new File(args[0]);
//  File xsltfile = new File(args[1]);
//  File pdffile = new File(args[2]);

System.out.println(Input: XML ( + xmlfile + ));
System.out.println(Stylesheet:  + xsltfile);
System.out.println(Output: PDF ( + pdffile + ));
System.out.println();
System.out.println(Transforming...);

IESPrint app = new IESPrint();
app.convertXML2PDF(xmlfile, xsltfile, pdffile);

System.out.println(Success!);
}
catch (Exception e)
{
System.err.println(ExceptionUtil.printStackTrace(e));
System.exit(-1);
}
// TODO: Add any constructor code after initForm call.
}

private final String labelParam = label;

/**
 * Reads parameters from the applet's HTML host and sets applet
 * properties.
 */
private void usePageParams()
{
final String defaultLabel = Default label;
String labelValue;

labelValue = getParameter(labelParam);

if ((labelValue == null))
{
/**
 * There was something wrong with the HTML host tags.
 * Generate default values.
 */
labelValue = defaultLabel;
}

/**
 * Set the applet's string label, background color, and
 * foreground colors.
 */
label1.setText(labelValue);
}

/**
 * External interface used by design tools to show properties of an 
applet.
 */
public String[][] getParameterInfo()
{
String[][] info =
{
{ labelParam, String, Label string to be displayed 
},
};
return info;
}

Label label1 = new Label();

/**
 * Intializes values for the applet and its components
 */
void initForm()
{
label1.setText(label1);
this.setLayout(new BorderLayout());
this.add(North,label1);
}
public void convertXML2PDF(File xml, File xslt, File pdf)
throws IOException, FOPException, TransformerException
{
//Construct driver
Driver driver = new Driver();

//Setup logger
Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO);
driver.setLogger(logger);
MessageHandler.setScreenLogger(logger);

//Setup Renderer (output format)
driver.setRenderer(Driver.RENDER_PDF);

//Setup output
OutputStream out = new java.io.FileOutputStream(pdf);
try
{
driver.setOutputStream(out);

//Setup XSLT
TransformerFactory factory = TransformerFactory.newInstance();
Transformer transformer = factory.newTransformer(new

RE: external-graphic problem

2003-02-04 Thread Mihael Knezevic
thanx. its working now. i should have read the xsl book more carefully.
i missed the part with the braces { }.

sorry and thanx for the help.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 04, 2003 2:12 PM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic problem



Here is our working code:


xsl:if test=@isrc!=''
 fo:external-graphic scaling=uniform height=auto width=auto
content-width=auto content-height=auto src=[EMAIL PROTECTED]/ /xsl:if

If I remember right, you also have to set the basedir (either in your
userconfig.xml or via Java):

Configuration.put(baseDir, file: + imgSrcDir);

-Lou






Mihael Knezevic [EMAIL PROTECTED] on 02/04/2003 07:56:52

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  external-graphic problem

hi,

i think i got a simple problem and probably everybody will point me to
the fop faq but i need an example (hopefully a working one).

i want to have one pic on one page.

i got the following xml file:

Bericht
   Bild source=wgr-50.jpg /
   Bild source=wgr-60.jpg /
   Bild source=wgr-70.jpg /
   Bild source=wgr-80.jpg /
   ...
/Bericht

i got the following xsl line in my xsl file: fo:external-graphic
src=@source /

but i get the error message:
[ERROR]: Error while creating area : Error with image URL: @source (Das
System kann die angegebene Datei nicht finden) and no base directory is
specified

can anybody help?

thanx

mk

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









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


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



RE: How to convert XML to RTF?

2003-02-04 Thread Madhavan Srinivasan




jfor (*) converts XML 
documents conforming to the XSL-FO specification to RTF format, the goal being 
to use the same XSL-FO documents (as often generated using XSLT transforms) to 
generate PDF (using FOP or similar) and 
RTF (using jfor) documents. 
Please 
refer http://www.jfor.org/

-Madhavan

  -Original Message-From: Jasmin Mehta 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, February 04, 2003 8:31 
  AMTo: [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]Subject: How to convert XML to 
  RTF?
  
  Hi,
  
  Is there any way to convert XML 
  file in to Reach Text Format? Is there some facility in 
  FOP?
  
  Thanks
  Jasmin


RE: How to convert XML to RTF?

2003-02-04 Thread Jasmin Mehta









Thanks Madhavan.



-Original Message-
From: Madhavan Srinivasan
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 04, 2003
1:03 PM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: How to convert XML to
RTF?





jfor (*) converts XML
documents conforming to the XSL-FO specification to RTF format, the goal being
to use the same XSL-FO documents (as often generated using XSLT transforms) to
generate PDF (using FOP or similar) and
RTF (using jfor) documents. 





Please refer http://www.jfor.org/











-Madhavan





-Original Message-
From: Jasmin Mehta
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 04, 2003
8:31 AM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: How to convert XML to
RTF?

Hi,



Is there any way to convert XML file
in to Reach Text Format? Is there some facility in FOP?



Thanks

Jasmin










Re: Different JRE versions' affect on extent/margin(s)

2003-02-04 Thread Clay Leeds
Any clues about what I should I look for? I've checked bugzilla (or 
whatever the FOP/Apache version is called), and there's no reference to 
this bug. I've also looked in MARC, but don't see anything relevant.

I guess I'll open up a bug. Expect to see DO NOT REPLY msgs shortly...
Oleg Tkachenko wrote:
Clay Leeds wrote:
Wait. I'm rendering to -print.
Hmmm, -print option uses AWTRenderer actually, so that might have 
something to do with AWT differences in different jdk versions. I 
thought it's fixed in 0.20.5rc aleady :( Search in the archive, there 
were discussion and bug reports and pathes about it. If it doesn't help 
- open a bug.

--
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, e-mail: [EMAIL PROTECTED]


Re: Prb: Using bold fonts with FOP??

2003-02-04 Thread J.Pietschmann
Hugo Oliveira wrote:
When I show the result using the -awt switch the two font courier e courier
bold appear OK, but when I send it to the printer the courier new bold
appears like arial bold??
This could be a problem with Courier Bold not available
on your printer, a problem with printer drivers, settings
or printer specific font mappings, or a problem with the
JDK. First, check your printer settings and font mappings.
It is also said printing is more mature in JDK 1.4.
I try to send direct to the printer and the result is the same.
There is basically no difference between printing from the
AWT renderer and printing directly.
J.Pietschmann

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


Re: Converting SVG files to different file formats

2003-02-04 Thread J.Pietschmann
Hans Stoessel wrote:
- Has anybody sample code how I can convert an SVG file into high quality
PDF using FOP?
FOP uses Batik for rendering SVG, and there isn't much FOP
can do for quality besides
  http://xml.apache.org/fop/faq.html#faq-N1036C
(well, the PDF transcoder is part of FOP, but because PDF is
vector graphics too, I can only imagine very small roundoff
problems (1/1000 pt) and blantant bugs influencing quality).
How do you define high quality, and why do you thing you
aren't getting enough quality now?
BTW: Please don't crosspost.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Class not found applet error

2003-02-04 Thread J.Pietschmann
Matthew Lancashire wrote:
When I access the htm page I get 'Applet notinited' error and the console
displays..
java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger
You'll have to have some more jars beside the fop.jar in the
classpath. Just to be on the sure, use everything you'll find
in the lib directory of the fop distribution.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


White space

2003-02-04 Thread Sal Tarantola
Title: Message



I'm sure this has 
been covered to death. If someone would point me to the right area I'd 
appreciate it greatly.

I need to take a 
string of formatted data from my xml database and present it. I've played 
with white-space-collapse and changing the font around but it still does not 
present correctly so that all dots and spaces line up correctly from line to 
line.

An example below of 
what the pdf document renders as

Invoice... Date.. Cust... Inv amount
02010001 01-01-2002 8 282.10

Any ideas 
would be greatly appreciated.

Sal


RE: White space

2003-02-04 Thread Calero, Roberto
Title: RE: White space





An example below of what the pdf document renders as
Invoice... Date.. Cust... Inv amount
02010001 01-01-2002 8 282.10


:-P Would not be easier just to create a table with 4 columns 1 header and N-Rows?? Each cell can be assigned a particular format option: centered, aligned to left, right etc etc etc etc etc. 

Come on





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



RE: White space

2003-02-04 Thread Sal Tarantola
Title: Message



Actually no

The 
stylesheet would be generic and just there for rendering all the pdf 
document. Predefined columns and row couldn't work as the stylesheet just 
handles preformatted data. All of the actual processing and formatting 
happens on a different server that is character based. This is just a go 
around to get a web presentation look from the system. 




-Original Message-From: Calero, 
Roberto [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 
04, 2003 5:31 PMTo: '[EMAIL PROTECTED]'Subject: RE: 
White spaceImportance: High

  An example below of what the pdf document renders 
  as Invoice... Date.. Cust... Inv 
  amount 02010001 01-01-2002 8 282.10 
  
  :-P Would not be easier just to create a table with 4 columns 
  1 header and N-Rows?? Each cell can be assigned a particular format option: 
  centered, aligned to left, right etc etc etc etc etc. 
  Come on 
  - To 
  unsubscribe, e-mail: [EMAIL PROTECTED] For additional 
  commands, e-mail: [EMAIL PROTECTED]


RE: White space

2003-02-04 Thread Sal Tarantola
Thanks much.  Worked just as I would have expected it to work.

As I said I know that the whole white-space issue has been tackled
before.

-Original Message-
From: Roland Neilands [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 04, 2003 5:23 PM
To: [EMAIL PROTECTED]
Subject: RE: White space


Sal,

I need to take a string of formatted data from my xml database and 
present it.  I've played with white-space-collapse and changing the 
font around but it still does not present correctly so that all dots 
and spaces line up correctly from line to line.

 An example below of what the pdf document renders as
Invoice... Date.. Cust... Inv amount
02010001 01-01-2002 8 282.10

Use a fixed width font for these lines, eg: font-family=Courier

And to quote Oleg, from the last day or two, use all of these:
white-space-collapse=false 
linefeed-treatment=preserve white-space-treatment=preserve 

... formatted data from my xml database ...
What a strange idea. 

Cheers,
Roland.





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


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



RE: White space

2003-02-04 Thread Calero, Roberto
Title: Message



Ok, 
so... what is the point for using FOP then? You could just create a "formated" 
text file and then just simple put it in your website. Your stylesheet is not 
being generic, just simpler. 

  -Original Message-From: Sal Tarantola 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, February 05, 
  2003 9:47 AMTo: [EMAIL PROTECTED]Subject: RE: 
  White space
  Actually no
  
  The 
  stylesheet would be generic and just there for rendering all the pdf 
  document. Predefined columns and row couldn't work as the stylesheet 
  just handles preformatted data. All of the actual processing and 
  formatting happens on a different server that is character based. This 
  is just a go around to get a web presentation look from the system. 
  
  
  
  
  -Original Message-From: 
  Calero, Roberto [mailto:[EMAIL PROTECTED] Sent: 
  Tuesday, February 04, 2003 5:31 PMTo: 
  '[EMAIL PROTECTED]'Subject: RE: White 
  spaceImportance: High
  
An example below of what the pdf document renders 
as Invoice... Date.. Cust... Inv 
amount 02010001 01-01-2002 8 
282.10 
:-P Would not be easier just to create a table with 4 
columns 1 header and N-Rows?? Each cell can be assigned a particular format 
option: centered, aligned to left, right etc etc etc etc etc. 
Come on 
- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For additional 
commands, e-mail: 
[EMAIL PROTECTED]


special characters

2003-02-04 Thread Jon Steeves
Hello:

I want the PDF we generate to be able to print special characters such 
as: ? ? ?.  Right now these are rendered as: P S O.
Do I have to add a font to FOP or is there a simpler method to do this?

Cheers

Jon Steeves
[EMAIL PROTECTED]


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



RE: special characters

2003-02-04 Thread Jon Steeves
Followup:

  The special characters that didn't appear in the previous email are: pi, 
omega, and sigma.

Cheers

-Original Message-
From: Jon Steeves 
Sent: Tuesday, February 04, 2003 3:07 PM
To: '[EMAIL PROTECTED]'
Subject: special characters


Hello:

I want the PDF we generate to be able to print special characters such 
as: ? ? ?.  Right now these are rendered as: P S O.
Do I have to add a font to FOP or is there a simpler method to do this?

Cheers

Jon Steeves
[EMAIL PROTECTED]


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

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



RE: special characters

2003-02-04 Thread Roland Neilands
Jon,

You seem to have the same problem with emailing your characters to the list
as in your PDF.

As well as this:
http://xml.apache.org/fop/faq.html#faq-N10402

the other problem might be not using the correct file encoding declaration
eg.
?xml version=1.0 encoding=ISO-8859-1?

in your XML/XSL to match the actual file encodings(file editor, Save As -
Type).

Regards,
Roland

 -Original Message-
 From: Jon Steeves [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, 5 February 2003 10:07 AM
 To: '[EMAIL PROTECTED]'
 Subject: special characters


 Hello:

   I want the PDF we generate to be able to print special
 characters such as: ? ? ?.  Right now these are rendered as: P S O.
 Do I have to add a font to FOP or is there a simpler method
 to do this?

 Cheers

 Jon Steeves
 [EMAIL PROTECTED]


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


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