Re: [Boost-docs] Generating PDF documentation failure with FOP 1.0

Subject: Re: [Boost-docs] Generating PDF documentation failure with FOP 1.0
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-01-25 22:19:43


On 1/25/2011 1:16 PM, John Maddock wrote:
>> I tried RenderX and it worked mostly fine and produce PDF output. I
>> did get:
>>
>> (generate [output-format
>> pdf][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22][23][24][25][26][27][28][29][30][31][32][33][34][35][36][37][38][39][40][41][42][43][44][45][46]
>>
>> [error] SVG element 'radialGradient' ignored:
>> java.lang.ClassCastException:
>> com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to
>> com.renderx.graphics.vector.Gradient$RadialGradient
>> [error] SVG element 'radialGradient' ignored:
>> java.lang.ClassCastException:
>> com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to
>> com.renderx.graphics.vector.Gradient$RadialGradient
>> [error] SVG element 'radialGradient' ignored:
>> java.lang.ClassCastException:
>> com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to
>> com.renderx.graphics.vector.Gradient$RadialGradient
>> [error] SVG element 'radialGradient' ignored:
>> java.lang.ClassCastException:
>> com.renderx.graphics.vector.Gradient$LinearGradient cannot be cast to
>> com.renderx.graphics.vector.Gradient$RadialGradient
>>
>> but the PDF output occurred nonetheless.
>
> Looks like gradients in the SVG you used are just getting ignored?

I guess so. In the jamfile I have:

path-constant boost-images : $(BOOST_ROOT)/doc/src/images ;

and

<format>pdf:<xsl:param>admon.graphics.extension=".svg"
<format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/

It seems normal enough. $(BOOST_ROOT) is pointing to the latest SVN
trunk on my machine.


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC