Re: Wrong operand type error in ASV 3.0

2003-03-02 Thread Swapan Golla
The error still persists even after I changed the
width to 1.

Swapan.


--- Keiron Liddle [EMAIL PROTECTED] wrote:
 
  !-- If I remove this line, everything seems to
 work
  fine --
  svg:line x1=58 y1=179 x2=403 y2=179
  stroke=#00 stroke-
  width=0.5 /
 
 IIRC It is probably an error caused by this line
 being 0.5 width. In PDF lines can 
 only be whole numbers and it might wrongly be
 inserting 0.5 in the PDF causing 
 the error.
 Try making it width 1.
 
 If you need a 0.5 width line it can be scaled.
 
 

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


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Wrong operand type error in ASV 3.0

2003-02-27 Thread Swapan Golla
Hi All,
I have written a small svg document and embedding this
svg 
document in an FO document to covert to pdf. I guess
the FOP 
completely depends on batik for SVG2PDF conversion.
When I try to 
open the resulting pdf, it says wrong operand type.
Can anybody help ?

Thanks in advance,
Swapan.

?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master
margin-right=1.5cm
margin-left=1.5cm
margin-bottom=2cm
margin-top=1cm
page-width=21cm
page-height=29.7cm
master-name=first
fo:region-body margin-top=0cm margin-bottom=0cm/
fo:region-before extent=0cm/
fo:region-after extent=0cm/
/fo:simple-page-master
/fo:layout-master-set

fo:page-sequence master-reference=first
fo:static-content flow-name=xsl-region-before
fo:block line-height=14pt font-size=10pt
text-align=endEmbedding SVG examples/fo:block
/fo:static-content
fo:static-content flow-name=xsl-region-after
fo:block line-height=14pt font-size=10pt
text-align=endPage fo:page-number//fo:block
/fo:static-content

fo:flow flow-name=xsl-region-body
fo:block
fo:instream-foreign-object


svg:svg width=16.1925cm height=20.955cm
viewBox=0 0 8.5 11 
version=1.1 xmlns:svg=http://www.w3.org/2000/svg;
svg:g transform=matrix(1 0 0 1 0 0)
/svg:g
svg:g transform=matrix(0.01041667 0 0 0.01041667 0
0)
svg:text x=48 y=108 font-family=Times New Roman
font-
size=20pt font-weight=bold fill=#00
stroke=none text-
anchor=start 
svg:tspan x=48 y=108 textLength=57
ABC/svg:tspan
svg:tspan x=116 y=108 textLength=114
Company/svg:tspan
/svg:text
svg:text x=628 y=66.53516 font-family=Times New
Roman font-
size=15.6pt fill=#00 stroke=none
text-anchor=start 
svg:tspan x=628 y=66.53516 O/svg:tspan
/svg:text
svg:text x=644 y=66.53516 font-family=Times New
Roman font-
size=12pt fill=#00 stroke=none
text-anchor=start 
svg:tspan x=644 y=66.53516 textLength=107 
RGANIZATION/svg:tspan
/svg:text
!-- If I remove this line, everything seems to work
fine --
svg:line x1=58 y1=179 x2=403 y2=179
stroke=#00 stroke-
width=0.5 /

/svg:g
/svg:svg

/fo:instream-foreign-object
/fo:block 
/fo:flow
/fo:page-sequence
/fo:root


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Re: Wrong operand type error in ASV 3.0

2003-02-27 Thread Keiron Liddle

 !-- If I remove this line, everything seems to work
 fine --
 svg:line x1=58 y1=179 x2=403 y2=179
 stroke=#00 stroke-
 width=0.5 /

IIRC It is probably an error caused by this line being 0.5 width. In PDF lines can 
only be whole numbers and it might wrongly be inserting 0.5 in the PDF causing 
the error.
Try making it width 1.

If you need a 0.5 width line it can be scaled.


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