diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2013-11-21 15:02:15 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2013-11-21 15:02:15 +0000 |
commit | c252be236f240dfa8c0f8cf67386410ccde38d00 (patch) | |
tree | b1067a8749cd13e5a92d398f40bb571255e356f3 | |
parent | a8f6ee444c695c9310871dfcaf4bcc9c1aaf4cd7 (diff) | |
download | xmlgraphics-fop-c252be236f240dfa8c0f8cf67386410ccde38d00.tar.gz xmlgraphics-fop-c252be236f240dfa8c0f8cf67386410ccde38d00.zip |
FOP-2315: Incorrect example for leaders
Patch by Alexey Neyman
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1544205 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | examples/fo/basic/leader.fo | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/fo/basic/leader.fo b/examples/fo/basic/leader.fo index 26ac49005..328d95010 100644 --- a/examples/fo/basic/leader.fo +++ b/examples/fo/basic/leader.fo @@ -2,7 +2,7 @@ <!-- examples for the use of the fo leader --> -<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="sans-serif"> <fo:layout-master-set> @@ -272,7 +272,7 @@ <fo:list-item> <!-- insert a bullet --> <fo:list-item-label end-indent="label-end()"> - <fo:block><fo:inline font-size="10pt" font-family="Symbol">·</fo:inline></fo:block> + <fo:block><fo:inline font-size="10pt">·</fo:inline></fo:block> </fo:list-item-label> <!-- list text --> <fo:list-item-body start-indent="body-start()"> @@ -291,7 +291,7 @@ <fo:list-item> <!-- insert a bullet --> <fo:list-item-label end-indent="label-end()"> - <fo:block><fo:inline font-size="10pt" font-family="Symbol">·</fo:inline></fo:block> + <fo:block><fo:inline font-size="10pt">·</fo:inline></fo:block> </fo:list-item-label> <!-- list text --> <fo:list-item-body start-indent="body-start()"> @@ -391,7 +391,7 @@ <fo:table-row line-height="12pt"> <fo:table-cell><fo:block text-align="end">A) </fo:block></fo:table-cell> - <fo:table-cell><fo:block text-align="start">This is some longer sample text<fo:leader leader-pattern="dots" + <fo:table-cell><fo:block text-align="start" text-align-last="justify">This is some longer sample text<fo:leader leader-pattern="dots" leader-pattern-width="8pt" leader-alignment="reference-area" /></fo:block></fo:table-cell> @@ -401,7 +401,7 @@ <fo:table-row line-height="12pt"> <fo:table-cell><fo:block text-align="end">B) </fo:block></fo:table-cell> - <fo:table-cell><fo:block text-align="start">Some text<fo:leader leader-pattern="dots" + <fo:table-cell><fo:block text-align="start" text-align-last="justify">Some text<fo:leader leader-pattern="dots" leader-pattern-width="8pt" leader-alignment="reference-area" /></fo:block></fo:table-cell> @@ -410,7 +410,7 @@ <fo:table-row line-height="12pt"> <fo:table-cell><fo:block text-align="end" >C) </fo:block></fo:table-cell> - <fo:table-cell><fo:block text-align="start">Text<fo:leader leader-pattern="dots" + <fo:table-cell><fo:block text-align="start" text-align-last="justify">Text<fo:leader leader-pattern="dots" leader-pattern-width="8pt" leader-alignment="reference-area" /></fo:block></fo:table-cell> @@ -419,7 +419,7 @@ <fo:table-row line-height="12pt"> <fo:table-cell><fo:block text-align="end">D) </fo:block></fo:table-cell> - <fo:table-cell><fo:block text-align="start">This text is even longer than the first entry <fo:leader leader-pattern="dots" + <fo:table-cell><fo:block text-align="start" text-align-last="justify">This text is even longer than the first entry <fo:leader leader-pattern="dots" leader-pattern-width="8pt" leader-alignment="reference-area" /></fo:block></fo:table-cell> @@ -428,7 +428,7 @@ <fo:table-row line-height="12pt"> <fo:table-cell><fo:block text-align="end">E) </fo:block></fo:table-cell> - <fo:table-cell><fo:block text-align="start">Shorter text example<fo:leader leader-pattern="dots" + <fo:table-cell><fo:block text-align="start" text-align-last="justify">Shorter text example<fo:leader leader-pattern="dots" leader-pattern-width="8pt" leader-alignment="reference-area" /></fo:block></fo:table-cell> |