You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jim Quest <qu...@gmail.com> on 2013/02/08 13:20:55 UTC
Re: when writing-mode="rl", after spanning block, following contents
start on left column instead of right column
have raised the issue on jira bugs site.
i am currently unable to use bidi support with fop without this issue resolved.
any advise on potential workarounds until the issue is resolved?
regards
jim
> this appears to be a bug; please file an issue at
> https://issues.apache.org/jira/browse/FOP and be sure to attach the test
> input FO file and output PDF file
>> On Tue, Jan 29, 2013 at 11:14 AM, Jim Quest <qu...@gmail.com> wrote:
>> hi all,
>>
>> when writing-mode="rl" in a 2 column page, the first column is on the
>> right.
>> however, when there is a spanning block, the following contents are on the
>> left column instead of the right column!
>> please find attached the pdf output
>>
>> here is the fo. is there something i am doing wrong, or is this a critical
>> issue?
>>
>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
>> writing-mode="rl-tb">
>> <fo:layout-master-set>
>> <fo:simple-page-master page-height="30mm" page-width="50mm"
>> master-name="page">
>> <fo:region-body column-count="2"/>
>> </fo:simple-page-master>
>> </fo:layout-master-set>
>>
>> <fo:page-sequence master-reference="page">
>> <fo:flow flow-name="xsl-region-body">
>> <fo:block background-color="yellow">para 1</fo:block>
>> <fo:block background-color="gray">para 2</fo:block>
>> <fo:block background-color="yellow">para 3</fo:block>
>> <fo:block background-color="gray">para 4</fo:block>
>> <fo:block background-color="yellow">para 5</fo:block>
>> <fo:block background-color="gray">para 6</fo:block>
>> <fo:block background-color="yellow">para 7</fo:block>
>> </fo:flow>
>> </fo:page-sequence>
>> <fo:page-sequence master-reference="page">
>> <fo:flow flow-name="xsl-region-body">
>> <fo:block background-color="yellow" span="all">para 1a, spanned
>> column</fo:block>
>> <fo:block background-color="gray">para 2a in wrong column</fo:block>
>> <fo:block background-color="gray">para 3a</fo:block>
>> <fo:block background-color="gray">para 4a</fo:block>
>> <fo:block background-color="gray">para 5a</fo:block>
>> </fo:flow>
>> </fo:page-sequence>
>> </fo:root>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
Re: when writing-mode="rl", after spanning block, following contents
start on left column instead of right column
Posted by Glenn Adams <gl...@skynav.com>.
presumably, you can use one column or don't use a spanning block until this
is fixed
On Fri, Feb 8, 2013 at 5:20 AM, Jim Quest <qu...@gmail.com> wrote:
>
> have raised the issue on jira bugs site.
>
> i am currently unable to use bidi support with fop without this issue resolved.
>
> any advise on potential workarounds until the issue is resolved?
>
> regards
>
>
>
> jim
>
> > this appears to be a bug; please file an issue at
> > https://issues.apache.org/jira/browse/FOP and be sure to attach the test
> > input FO file and output PDF file
>
> >> On Tue, Jan 29, 2013 at 11:14 AM, Jim Quest <qu...@gmail.com> wrote:
>
> >> hi all,
> >>
> >> when writing-mode="rl" in a 2 column page, the first column is on the
> >> right.
> >> however, when there is a spanning block, the following contents are on the
> >> left column instead of the right column!
> >> please find attached the pdf output
> >>
> >> here is the fo. is there something i am doing wrong, or is this a critical
> >> issue?
> >>
> >> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
> >> writing-mode="rl-tb">
> >> <fo:layout-master-set>
> >> <fo:simple-page-master page-height="30mm" page-width="50mm"
> >> master-name="page">
> >> <fo:region-body column-count="2"/>
> >> </fo:simple-page-master>
> >> </fo:layout-master-set>
> >>
> >> <fo:page-sequence master-reference="page">
> >> <fo:flow flow-name="xsl-region-body">
> >> <fo:block background-color="yellow">para 1</fo:block>
> >> <fo:block background-color="gray">para 2</fo:block>
> >> <fo:block background-color="yellow">para 3</fo:block>
> >> <fo:block background-color="gray">para 4</fo:block>
> >> <fo:block background-color="yellow">para 5</fo:block>
> >> <fo:block background-color="gray">para 6</fo:block>
> >> <fo:block background-color="yellow">para 7</fo:block>
> >> </fo:flow>
> >> </fo:page-sequence>
> >> <fo:page-sequence master-reference="page">
> >> <fo:flow flow-name="xsl-region-body">
> >> <fo:block background-color="yellow" span="all">para 1a, spanned
> >> column</fo:block>
> >> <fo:block background-color="gray">para 2a in wrong column</fo:block>
> >> <fo:block background-color="gray">para 3a</fo:block>
> >> <fo:block background-color="gray">para 4a</fo:block>
> >> <fo:block background-color="gray">para 5a</fo:block>
> >> </fo:flow>
> >> </fo:page-sequence>
> >> </fo:root>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>
>
>
>