RE: Problems using fo:basic-link

2002-03-08 Thread Dunning, John

There was a post on this a while back; I can't remember all the specifics,
but it appears that borders and/or padding was adding up.  When I changed my
'padding-after=5mm' to 'space-after=5mm', the problem disappeared.

HTH,
John

-Original Message-
From: Roland [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 1:08 PM
To: [EMAIL PROTECTED]
Subject: Problems using fo:basic-link


Hello,
I'm using fo:basic-link
to point to a webpage. Now, when I convert it to a PDF document I see the 
following problem:
  fo:basic-link external-destination=www.google.com 
indicate-destination=true font-style=normal color=blue 
font-size=8ptClick here to search the web/fo:basic-link

When I put the mouse over the text that has the link attached to(Click 
here to search the web). The mouse pointer doesn't change. It only changes 
when I move it a little ABOVE the linked text. After it changed to a little 
finger I can click it and it will open the webpage. I also notice that when 
I click, a little box over the text turns black. The size of the box is 
always the size of the word that is below it. You have to try this out 
urself to see what I mean. I will try to describe it here:

[X]
Click here to search the web

So the mouse only changes when I point it above the text. If I'm over the 
word search the marked area([X]) will turn black temporarily. The 
area that turns black always is the size of the underlying word.
What is going on here? It seems that Fop is having a problem with the 
referenced area? The link sensitive area seems to be displaced in relation 
to the corresponding text.
Is this a bug?
I'm using fop-0.20.2.
Has this been fixed in fop-0.20.3 ?

Thanks for any help,
Roland


-
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: Bug report.

2002-03-06 Thread Dunning, John

From a quick glance, it appears that your page-height is not enough for your
content ( page-height=28mm, block height=3cm, plus your margins, padding,
region-*, etc.)

HTH,
J

-Original Message-
From: Olivier Rossel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 11:28 AM
To: [EMAIL PROTECTED]
Subject: Bug report.


I try to generate a PDF from this FO:
--- cut here ---
?xml version=1.0?

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;

 fo:layout-master-set
  fo:simple-page-master master-name=page page-width=297mm 
page-height=28mm margin-left=1cm margin-right=1cm margin-top=1cm 
margin-bottom=1cm
   fo:region-before extent=1cm/
   fo:region-body margin-bottom=1.5cm margin-top=1cm/
   fo:region-after extent=0.5cm/
  /fo:simple-page-master
 /fo:layout-master-set

 fo:page-sequence master-reference=page
  fo:static-content flow-name=xsl-region-before/
  fo:static-content flow-name=xsl-region-after/
  fo:flow flow-name=xsl-region-body
   fo:block width=3cm height=3cmFoo/fo:block   
  /fo:flow
 /fo:page-sequence
/fo:root
--- cut here ---


My command line is:
java -cp 
/opt/COCOON/WEB-INF/lib/batik-libs.jar:/opt/COCOON/WEB-INF/lib/xerces-1.4.4.
jar:/opt/COCOON/WEB-INF/lib/avalon-framework-4.0.jar:/opt/COCOON/WEB-INF/lib
/logkit-1.0.jar:/opt/COCOON/WEB-INF/lib/fop.jar 
org.apache.fop.apps.Fop ~/hello.fo file.pdf

My version of FOP is 0.20.3rc2.

It seems that FOP does not like AT ALL my file. It begins to generate a 
HUGE PDF file, and never ends.


-
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: ZapfDingbats font

2002-01-31 Thread Dunning, John

Thanks for the reply; I didn't think that I have to implement the userconfig
fonts portion, because

quote src=fonts.html
FOP (building PDF files) normally supports only the base 14 font package
defined in the Adobe PDF specification. That includes the following fonts:
Helvetica, Times, Courier, Symbol and ZapfDingbats.
/quote

As stated earlier, certain characters (#x27AA;) work fine with
ZapfDingbats, but others do not.  Do I have to build a font metrics file,
considering the quote above?

Any further ideas/suggestions?

Thanks,
John

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




ZapfDingbats font

2002-01-30 Thread Dunning, John

When using 
fo:block font-family=ZapfDingbats
I get the following error message for the character reference
#x2713;/#10003;
[ERROR]: unknown font ZapfDingbats,normal,bold so defaulted font to any

but not for #x27AA;, which displays correctly. (XEP displays both
correctly). 

I have no idea how fonts work -- does the tool (FOP/XEP) embed a certain
font, or does Acrobat have these embedded within the application?  How might
I proceed to display this character (checkmark)?

Thanks in advance for any assistance,
John

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




Question or request for extension

2002-01-11 Thread Dunning, John



Is 
there a way to get the time a document was rendered and put that in text, 
e.g.,
" 
printed on 11.01.2001 10:16:02 AM "

If 
not, where might a relative java-newbie attempt to add this?

Any 
help always appreciated,
John


RE: which graphic formats are supported ?

2002-01-08 Thread Dunning, John

tiff works

-Original Message-
From: Gus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 10:57 AM
To: [EMAIL PROTECTED]
Subject: Re: which graphic formats are supported ?


I'm using a gif
, so for sure gif!

Nick Winger wrote:

hi !


in the  fo:external-graphic  tag:

which graphic formats are supported ? e.g.: jpg ? and ...


greetings

Nick Winger

(Software-Developer)


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




BUG? - use-attribute-sets

2002-01-04 Thread Dunning, John

Has anyone else experienced 'use-attribute-sets' not working under FOP
0.20.2?  I have both 0.20.1 (in which it works) and 0.20.2 (in which it
doesn't).

Regards,
John

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