fo:float

2003-12-09 Thread Bryce Fischer
I know the  tag isn't supported yet. Does anyone have any
suggestions on how to implement flowing text around an image?

I saw some posts about using tables, but I'm a bit foggy on how to do
that. I am guessing there's quite a bit of calculating which text goes
on top, bottom and to the side of the image. 

I took a peek in the font XML file. I'm not sure how to use that data.
One particular font (Courier) had a width of 600 for most of its
characters. I wasn't sure what that 600 meant, and how to transfer that
to pixels, inches, etc (I guess the font size would have to be used too).

Any pointers, suggestions, tips, etc would be helpful.

TIA

-- 
Bryce Fischer <[EMAIL PROTECTED]>


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



RE : PCL + image gif -> BMP !

2003-12-09 Thread Philippe PITHON
indeed in bmp there is something which prints !
but it is illegible! 
there is no level of gray! 
it is is black or white

it is normal?


-Message d'origine-
De : Chris Bowditch [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 8 décembre 2003 17:49
À : [EMAIL PROTECTED]
Objet : Re: PCL + image gif

Philippe PITHON wrote:

> When I print document xslfo (output PCL) with image.gif, the printer 
> (laser format PCL6) send message :
> 
> “unable to print file : client-error-document-format-not-supported”
> 

PCL Renderer is very underdeveloped compared to the PDF Renderer. I have

only ever got it working with BMP graphics.

Chris



-
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: SVG scaling issue (when rendering 2 SVGs of same height)

2003-12-09 Thread Martin Regner
I think, i don't understand fully the problem you have, but since i had to 
embed different sized Logos in some pdf Document and there was a lot of 
problems with transparency with all graphic-formats except svg, i patched th 
PDFRenderer of fop. So i can do something like that.













The Problem may be, that th scaling don't change the ratio of the svg's. So 
the width and height attributes only define a bounding box in which the svg 
is scaled. So if your svg is 15 x 150 then (depending on the sample above) it 
will be scaled to somthing like 5 x 50. I don't know, if that helps you, but 
i can send you my fop.jar if you like.

Martin
-- 
Dievision GmbH | Kriegerstrasse 44 | 30161 Hannover
Telefon: (0511) 288791-0 | Telefax: (0511) 288791-99
http://www.dievision.de | mailto:[EMAIL PROTECTED]


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



Re: fo:float

2003-12-09 Thread Chris Bowditch
Bryce Fischer wrote:
I know the  tag isn't supported yet. Does anyone have any
suggestions on how to implement flowing text around an image?
In general it isnt possible.
I saw some posts about using tables, but I'm a bit foggy on how to do
that. I am guessing there's quite a bit of calculating which text goes
on top, bottom and to the side of the image. 
Yes, you would have to guess (by calculating width of text) at XSLT 
stage what text to put in the cells surrounding the image.

I took a peek in the font XML file. I'm not sure how to use that data.
One particular font (Courier) had a width of 600 for most of its
characters. I wasn't sure what that 600 meant, and how to transfer that
to pixels, inches, etc (I guess the font size would have to be used too).
measurements in FOP are typically 1/1000th of a Point. However, when 
dealing with Fonts the measurements in the metrics need to be adjusted 
according to required Point size. Hence they are unlikely to be physical 
measurements like pt or mm. I would imagine 600 meant 0.6em here.

Perhaps one of the committers can be of more help here.
Chris

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


Graphics resolution

2003-12-09 Thread Gergely Hajdu
I have an XSL-FO transformed document from which I render a TIFF-image.
I wonder, is it possible with any -tag define the DIMENSIONS ( or dpi)
of the TIFF-image to be rendered ? My XSL-FO doc. looks like this :


http://www.w3.org/1999/XSL/Format";
xmlns:fox="http://xml.apache.org/fop/extensions";>













BPOBeanTemplate




TestExample









Payer Identifier
Type
${beanName.PayerIdentifierType}



Payer
Identifier
${beanName.PayerIdentifier}



 


I have seen a tag , , but to
use this, it's
supposed there is an image on the file-system. And since I have the image
AFTER running
this FO-file, I can't see how I could use it ?
Regards
/Gergely




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



Re: SVG scaling issue (when rendering 2 SVGs of same height)

2003-12-09 Thread mathieu . fretiere
>i can send you my fop.jar if you like

thanks but I think it won't help me.

>i don't understand fully the problem you have

I want to insert svg files created with Ilustrator. The dimensions are in 
pt but I want mm so I change the svg's width and height attributes, and 
leave other attributes unchanged. This creates my scaling issue (two 
graphics with the same svg height - but different width - are rendered 
with different height).
I've followed other users advices and remove "strange" (to me) tags and 
attributes in the svg file and it seems to work.


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



Square bullets in pdf

2003-12-09 Thread Lucian Opris
Hi,
Does anybody know the code for square bullets in pdf?
Lucian Opris


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2003 8:26 AM
To: [EMAIL PROTECTED]
Subject: Re: SVG scaling issue (when rendering 2 SVGs of same height)

>i can send you my fop.jar if you like

thanks but I think it won't help me.

>i don't understand fully the problem you have

I want to insert svg files created with Ilustrator. The dimensions are in pt
but I want mm so I change the svg's width and height attributes, and leave
other attributes unchanged. This creates my scaling issue (two graphics with
the same svg height - but different width - are rendered with different
height).
I've followed other users advices and remove "strange" (to me) tags and
attributes in the svg file and it seems to work.


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



Insert rectangle and define color of font in fo-document

2003-12-09 Thread Gergely Hajdu
1.Is it possible with fo-tags to insert a white rectangle into an image that
will be rendered. Something like



2.Is it possible with a fo-tag to define which color the printing of a
rendered
image should have (black in this case) ? Something like :





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



RE: fo:float

2003-12-09 Thread Victor Mote
Chris Bowditch wrote:

> > I took a peek in the font XML file. I'm not sure how to use that data.
> > One particular font (Courier) had a width of 600 for most of its
> > characters. I wasn't sure what that 600 meant, and how to transfer that
> > to pixels, inches, etc (I guess the font size would have to be 
> used too).
> 
> measurements in FOP are typically 1/1000th of a Point. However, when 
> dealing with Fonts the measurements in the metrics need to be adjusted 
> according to required Point size. Hence they are unlikely to be physical 
> measurements like pt or mm. I would imagine 600 meant 0.6em here.
> 
> Perhaps one of the committers can be of more help here.

Yes, that is correct as a practical matter.

Victor Mote

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



Using foreach in FOP

2003-12-09 Thread Manuel Reyes
I am attempting to merge an XSL and XML file to generate a PDF, and I
have encountered a problem that I can't find a solution to.

The XML file that I am working with has the following format:


  

  valA
  valB


  valC
  valD


  valE
  valF


  valG
  valH

  


As you can see there are 2 products of type "Cat 2", now what I am
attempting to achieve is for FOP to create a PDF with 3 tables (one for
each category) and within each table put the values that have that
category.  So something like this:

Cat 1
valA valB

Cat 2
valC valD
valG valH

Cat 3
valE valF

I have managed to do simple foreach merging (i.e. cycling through each
"product" in "products", but I can't seem to find a way of doing this
using the "category" attribute to group items.

One thing that could be an issue here, is that I don't have any control
of the "category" attribute value, so it isn't possible to hardcode the
XSL file to pull out specific values by attribute value.  In other words
this needs to be 100% dynamic, as on 1 run the XML may have 2 categories
and 6 products, on another it may have 40 categories and 500 products.

Regards
Manuel Reyes

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



Re: Using foreach in FOP

2003-12-09 Thread Clay Leeds
Manuel,
I think this is better suited to the XSL list, which you can find more 
info on here:

http://xml.apache.org/fop/maillist.html#xslt-mulberry
But it looks like you want something like this:








 


That is rough and untested, but I believe the idea is there.
Good luck!
Web Maestro Clay
On Dec 9, 2003, at 7:23 AM, Manuel Reyes wrote:
I am attempting to merge an XSL and XML file to generate a PDF, and I
have encountered a problem that I can't find a solution to.
The XML file that I am working with has the following format:

  

  valA
  valB


  valC
  valD


  valE
  valF


  valG
  valH

  

As you can see there are 2 products of type "Cat 2", now what I am
attempting to achieve is for FOP to create a PDF with 3 tables (one for
each category) and within each table put the values that have that
category.  So something like this:
Cat 1
valA valB
Cat 2
valC valD
valG valH
Cat 3
valE valF
I have managed to do simple foreach merging (i.e. cycling through each
"product" in "products", but I can't seem to find a way of doing this
using the "category" attribute to group items.
One thing that could be an issue here, is that I don't have any control
of the "category" attribute value, so it isn't possible to hardcode the
XSL file to pull out specific values by attribute value.  In other 
words
this needs to be 100% dynamic, as on 1 run the XML may have 2 
categories
and 6 products, on another it may have 40 categories and 500 products.

Regards
Manuel Reyes
-
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: Graphics resolution

2003-12-09 Thread Chris Bowditch
Gergely Hajdu wrote:
I have an XSL-FO transformed document from which I render a TIFF-image.
I wonder, is it possible with any -tag define the DIMENSIONS ( or dpi)
of the TIFF-image to be rendered ? My XSL-FO doc. looks like this :
No, it is not possible. I suggest you speak to the author of the TIFF 
generator, or perhaps examine/modify the code yourself.


I have seen a tag , , but to
use this, it's
supposed there is an image on the file-system. And since I have the image
AFTER running
this FO-file, I can't see how I could use it ?
 controls how images will fit into your XSL-FO 
document (the input). It does not affect properties of the output 
medium, which just happens to be an image in your case.

Chris

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


Re: Square bullets in pdf

2003-12-09 Thread Chris Bowditch
Lucian Opris wrote:
Hi,
Does anybody know the code for square bullets in pdf?
I assume by code you mean the entity character reference. Yes its
■
Note; Only Zapf Dingbats in the standard 14 fonts has a glyph for this 
character.

Chris

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


RE: Square bullets in pdf

2003-12-09 Thread George Yi
Or you can use SVG to draw one yourself

-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2003 10:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Square bullets in pdf

Lucian Opris wrote:

> Hi,
> Does anybody know the code for square bullets in pdf?

I assume by code you mean the entity character reference. Yes its

■

Note; Only Zapf Dingbats in the standard 14 fonts has a glyph for this 
character.

Chris



-
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: Insert rectangle and define color of font in fo-document

2003-12-09 Thread Andreas L. Delmelle
> -Original Message-
> From: Gergely Hajdu [mailto:[EMAIL PROTECTED]
>
> 1.Is it possible with fo-tags to insert a white rectangle into an
> image that
> will be rendered. Something like
>
>  y_pos=0>
>

Yes. Use an  with the appropriate dimensions and
background-color.
(since you want the size to be 100%, it's probably best to specify the
dimensions explicitly and give them the same value as the region-body or the
whole page... )

> 2.Is it possible with a fo-tag to define which color the printing of a
> rendered
> image should have (black in this case) ? Something like :
>

If it's the text in the  you're referring to, then this should
be no problem, however, I think 'color' will do just fine (instead of
'font-color').


Cheers,

Andreas


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



RE: Square bullets in pdf

2003-12-09 Thread Lucian Opris
Hi,
Thank you, it worked fine but the bullet is too big. I've tried ▪ but
it's returnig a scissors. I'm using font-family="ZapfDingbats". Any help is
greatly appreciated.
Thanks,
Lucian Opris


-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2003 11:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Square bullets in pdf

Lucian Opris wrote:

> Hi,
> Does anybody know the code for square bullets in pdf?

I assume by code you mean the entity character reference. Yes its

■

Note; Only Zapf Dingbats in the standard 14 fonts has a glyph for this
character.

Chris



-
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: Square bullets in pdf

2003-12-09 Thread Andreas L. Delmelle
> -Original Message-
> From: Lucian Opris [mailto:[EMAIL PROTECTED]
>
> Hi,
> Thank you, it worked fine but the bullet is too big. I've tried
> ▪ but
> it's returnig a scissors. I'm using font-family="ZapfDingbats".
> Any help is
> greatly appreciated.
> Thanks,
> Lucian Opris
>

Hi,

Hmmm... decrease the font-size?

I don't know exactly what bullet you're looking for, but you might want to
check the Unicode charts at : http://www.unicode.org/charts/


Cheers,

Andreas


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



RE: Square bullets in pdf

2003-12-09 Thread Lucian Opris
Thank you very much, it worked fine. 
Lucian Opris 

-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject: RE: Square bullets in pdf

> -Original Message-
> From: Lucian Opris [mailto:[EMAIL PROTECTED]
>
> Hi,
> Thank you, it worked fine but the bullet is too big. I've tried 
> ▪ but it's returnig a scissors. I'm using 
> font-family="ZapfDingbats".
> Any help is
> greatly appreciated.
> Thanks,
> Lucian Opris
>

Hi,

Hmmm... decrease the font-size?

I don't know exactly what bullet you're looking for, but you might want to
check the Unicode charts at : http://www.unicode.org/charts/


Cheers,

Andreas


-
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: Square bullets in pdf

2003-12-09 Thread John Austin
Who was that masked man ?

I don't know but he left me this square bullet.

-- 
John Austin <[EMAIL PROTECTED]>

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



Running junit tests fails

2003-12-09 Thread Simon Pepping
When I try to run the junit tests on the code checked out from CVS
HEAD, I get a failure because ant cannot create task or type of type:
junit. I do not know anything about junit. I had hoped this target
would run out of the box.

What should I do to make it work?

>./build.sh package javadocs junit

...

init-avail:
 [echo] Apache Ant version 1.5.1 compiled on October 2 2002
 [echo] Jimi Support NOT Present
 [echo] JAI Support NOT Present
 [echo] JCE Support PRESENT
 [echo] JUnit Support PRESENT

...

init:
 [echo] --- Fop 1.0dev [1999-2003] 
 [echo] See build.properties and build-local.properties for additional 
build settings

...

junit:
 [echo] Running basic functionality tests for fop-transcoder.jar

BUILD FAILED
file:/fsd/source/xml-fop/build.xml:659: Could not create task or type of type: 
junit.

Ant could not find the task or a class this task relies upon.

junit is version 3.8.1.

-- 
Simon Pepping
email: [EMAIL PROTECTED]
home page: http://www.leverkruid.nl


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



Re: Login problems in the bug database

2003-12-09 Thread Simon Pepping
For completeness, I report herewith the resolution of the login
problem on bugzilla. It turns out to be caused by the proxy program I
use, wwwoffle version 2.7. When I tell Mozilla not to use the proxy
for a bugzilla site, the problem goes away.

See Mozilla bug report 227506,
http://bugzilla.mozilla.org/show_bug.cgi?id=227506.

Regards, Simon

On Thu, Nov 27, 2003 at 10:05:50PM +0100, Simon Pepping wrote:
> Hi,
> 
> When I am logged in in the bug database, I must continually renew my
> login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
> are enabled. I have a cookie from nagoya, called BUGLIST.
> 
> When I use IE on Windows98 all goes well.
> 
> What do I do wrong? Is there a more specific email address for
> questions about bugzilla?
> 
> Regards, Simon
> 
> -- 
> Simon Pepping
> email: [EMAIL PROTECTED]
> home page: http://www.leverkruid.nl
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Simon Pepping
email: [EMAIL PROTECTED]
home page: http://www.leverkruid.nl


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



RE: Problems with absolute positiones block container

2003-12-09 Thread Valeiko, Michael
Has this been fixed or is it slated to be fixed in the re-write?  

Thanks,
-Mike

-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 12:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Problems with absolute positiones block container


> -Original Message-
> From: Bargel, Britta [mailto:[EMAIL PROTECTED]
>
> I've tried this before. But then I had the effect, that sometimes the
> footnote disappears when there were not enough space on the bottom of the
> page.
>
> Is there any posibility to get the position of the table end and
> to insert a
> page break if there isn't enough space left?
>

Don't think so... You could force a page-break after the table, or add one
conditionally during the XSL transform, but as soon as it's FO, you would
probably need a hack (maybe a real ugly one, I'm not sure.)

Cheers,

Andreas


-
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: Square bullets in pdf

2003-12-09 Thread J.Pietschmann
Lucian Opris wrote:
Does anybody know the code for square bullets in pdf?
Ther is no such thing like a "square bullet in PDF".
The Unicode character code database doesn't have a square
bullet either, which is a bit more surprising. The nearest
thing in the symbols area seems to be the hyphen bullet,
U+2043 (‣ in XML). There's also the black square
U+25A0, the small square U+25AA, black diamond U+25C6 and
a variety of other rectangles and squares, some patterned,
in the vincinity.
Neither of these characters is in any of the standard
PDF fonts, not even the Sympol font. The infamous Arial
Unicode has glyphs for them. See
  http://xml.apache.org/fop/fonts.html#custom
and related topics in the FAQ for more information.

-Original Message-
You should not reuse threads for unrelated questions.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RE : PCL + image gif -> BMP !

2003-12-09 Thread J.Pietschmann
Philippe PITHON wrote:
indeed in bmp there is something which prints !
but it is illegible! 
there is no level of gray! 
it is is black or white

it is normal?
I'm afraid it is. PCL can't deal with GIFs directly,
and the transformation to PCL commands is apparently
somewhat lossy.
J.Pietschmann

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


Re: Problems with absolute positiones block container

2003-12-09 Thread J.Pietschmann
Valeiko, Michael wrote:
Has this been fixed or is it slated to be fixed in the re-write?  
Dealing with footnotes is ugly. The code in the maintenance branch
is basically a bunch of hacks. The support in the rewrite is
currently even more rudimentary.
J.Pietschmann

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


Re: Insert rectangle and define color of font in fo-document

2003-12-09 Thread J.Pietschmann
Gergely Hajdu wrote:
1.Is it possible with fo-tags to insert a white rectangle into an image that
will be rendered. Something like

You can overlap images with FO elements, although the lack of
implementation for relative positioned FOs makes this tricky
in the general case. Apart from this, it is almost always bad
to guess at language capabilities, a look at the spec or a good
book will take you much farther.

2.Is it possible with a fo-tag to define which color the printing of a
rendered
image should have (black in this case) ? Something like :

For both your problems I'd suggest to investigate in SVGs. You can
comfortably mix bitmapped images with vector graphic elements in
an SVG, and use the resulting image in FOP.
J.Pietschmann

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