You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Ernst Abbe (JIRA)" <ji...@apache.org> on 2017/04/24 14:29:04 UTC
[jira] [Comment Edited] (FOP-2671) float in conjunction with
linefeed-treatment=preserve doubles text
[ https://issues.apache.org/jira/browse/FOP-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981224#comment-15981224 ]
Ernst Abbe edited comment on FOP-2671 at 4/24/17 2:28 PM:
----------------------------------------------------------
Still the same in version 2.2:
11 11 11 11 11 11 11 11 11 11.|PicturePicture|
22 22 22 22 22 22 22 22 22 22.|PicturePicture|
33 33 33 33 33..........................|PicturePicture|
44 44 44 44 44 44 44 44 44 44.|PicturePicture|
11 11 11 11 11 11 11 11 11 11 22 22 22
22 22 22 22 22 22 22 33 33 33 33 33
55 55 55 55 55 55 55 55 55 55 66 66
66 66 66
77 77 77 77 77 77 77 77 77 77 77 77 77
88 88 88 88 88 88 88 88
99 99 99 99 99 99 99 99 99 99 99 99
00 00 00 00 00
<?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 page-height="90.0mm" page-width="45mm" master-name="ADVERT-TOP">
<fo:region-body margin="0pt" column-count="1" region-name="PageTop"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="ADVERT-TOP">
<fo:flow flow-name="PageTop">
<fo:block-container>
<fo:block border-width="0.1pt" border-style="solid" border-color="green">
<fo:float float="right">
<fo:block border-width="0.1pt" border-style="solid" border-color="red">
<fo:external-graphic src="x" width="10mm" height="10mm"/>
</fo:block>
</fo:float>
<fo:block text-align="justify" font-size="7.4pt" linefeed-treatment="preserve" border-width="0.1pt" border-style="solid" border-color="blue"
>11 11 11 11 11 11 11 11 11 11 22 22 22 22 22 22 22 22 22 22 33 33 33 33 33
44 44 44 44 44 44 44 44 44 44 55 55 55 55 55 55 55 55 55 55 66 66 66 66 66
77 77 77 77 77 77 77 77 77 77 77 77 77 88 88 88 88 88 88 88 88
99 99 99 99 99 99 99 99 99 99 99 99 00 00 00 00 00
</fo:block>
</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>
was (Author: ernst):
Still the same in version 2.2:
___________
11 11 11 11 11 11 11 11 11 11 | |
22 22 22 22 22 22 22 22 22 22 | |
33 33 33 33 33 | |
44 44 44 44 44 44 44 44 44 44 |___________|
11 11 11 11 11 11 11 11 11 11 22 22 22
22 22 22 22 22 22 22 33 33 33 33 33
55 55 55 55 55 55 55 55 55 55 66 66
66 66 66
77 77 77 77 77 77 77 77 77 77 77 77 77
88 88 88 88 88 88 88 88
99 99 99 99 99 99 99 99 99 99 99 99
00 00 00 00 00
<?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 page-height="90.0mm" page-width="45mm" master-name="ADVERT-TOP">
<fo:region-body margin="0pt" column-count="1" region-name="PageTop"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="ADVERT-TOP">
<fo:flow flow-name="PageTop">
<fo:block-container>
<fo:block border-width="0.1pt" border-style="solid" border-color="green">
<fo:float float="right">
<fo:block border-width="0.1pt" border-style="solid" border-color="red">
<fo:external-graphic src="x" width="10mm" height="10mm"/>
</fo:block>
</fo:float>
<fo:block text-align="justify" font-size="7.4pt" linefeed-treatment="preserve" border-width="0.1pt" border-style="solid" border-color="blue"
>11 11 11 11 11 11 11 11 11 11 22 22 22 22 22 22 22 22 22 22 33 33 33 33 33
44 44 44 44 44 44 44 44 44 44 55 55 55 55 55 55 55 55 55 55 66 66 66 66 66
77 77 77 77 77 77 77 77 77 77 77 77 77 88 88 88 88 88 88 88 88
99 99 99 99 99 99 99 99 99 99 99 99 00 00 00 00 00
</fo:block>
</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>
> float in conjunction with linefeed-treatment=preserve doubles text
> ------------------------------------------------------------------
>
> Key: FOP-2671
> URL: https://issues.apache.org/jira/browse/FOP-2671
> Project: FOP
> Issue Type: Bug
> Components: fo/block
> Affects Versions: 2.1
> Environment: CentOS Linux release 7.2.1511 (Core)
> Reporter: Ernst Abbe
>
> The text {{xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx yy}} in the example below is shown again under the image.
> {quote}
> <?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 page-height="90.0mm" page-width="45mm" master-name="ADVERT-TOP">
> <fo:region-body margin="0" column-count="1" region-name="PageTop"/>
> </fo:simple-page-master>
> </fo:layout-master-set>
> <fo:page-sequence master-reference="ADVERT-TOP">
> <fo:flow flow-name="PageTop">
> <fo:block-container>
> <fo:block border="0.1pt solid green">
> <fo:float float="right">
> <fo:block border="0.1pt solid red">
> <fo:external-graphic src="x" width="10mm" height="10mm"/>
> </fo:block>
> </fo:float>
> <fo:block text-align="justify" font-size="7.4pt" linefeed-treatment="preserve" border="0.1pt solid blue">xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx yy
> oa ob oc od oe of og oh oi oj ok ol om on oo op oq or os ot ou ov ow ox oy
> oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo
> oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo
> oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo
> </fo:block>
> </fo:block>
> </fo:block-container>
> </fo:flow>
> </fo:page-sequence>
> </fo:root>
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)