I came up with this strange behavior using using rl-tb writing mode in a PDF output:
in case of an horizontal merged cell in a table, the table border for that cell is placed in the middle of the cell. Attached is an FO file that reproduces the issue. I'm using FOP 2.1 (from https://xmlgraphics.apache.org/fop/download.html) under Ubuntu 14.04 LTS Linux. I don't know if I'm doing something wrong, if there is a way around it or if this is a bug. -- -- *NeoDoc* *Maxime Bégnis* max...@neodoc.fr Tél: +33 (0)4.42.52.24.20 789 Rue de La Gare 13770 Venelles France http://www.neodoc.fr/
<?xml version="1.0" encoding="utf-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:d="http://docbook.org/ns/docbook" font-family="Arial" font-size="11pt" writing-mode="rl-tb"> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-width="210mm" page-height="297mm" margin="15mm"> <fo:region-body /> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4"> <fo:flow flow-name="xsl-region-body"> <fo:table table-layout="fixed" width="100%" border="1pt solid red"> <fo:table-column column-number="1" column-width="proportional-column-width(2)" /> <fo:table-column column-number="2" column-width="proportional-column-width(1)" /> <fo:table-column column-number="3" column-width="proportional-column-width(2)" /> <fo:table-body> <fo:table-row> <fo:table-cell padding="2mm"> <fo:block> <fo:block> ت٠ÙÙد Ø¥Øتار Ù٠طاÙبة غÙر Ø£Ù. ÙÙص٠بتخصÙص إذ ØÙÙ, Ùرس٠ÙتتØÙ ÙÙ ÙباÙتØدÙØ¯Ø Ù Ø¯Ù Ø¨Ù. ÙÙÙ ÙÙ ØاÙ٠إستÙÙاء, Ùد ÙØ¥Ùا٠ة اÙتØاÙÙ ÙصÙ, ب٠ØÙÙ ÙÙرÙسا اÙإتÙاÙÙØ©. Ù Ù ÙØ°Ù ÙبدÙ٠اÙØ«ÙÙÙ, ٣٠أخذ اÙØÙÙÙ Ø© اÙجدÙØ¯Ø©Ø Ø§Ø³ØªØ·Ø§Ø¹Ùا, Ù ÙÙد ÙعÙÙ ÙÙÙÙØ© اسبÙعÙÙ. أراض Ùرتبط ÙاÙÙساد Ùد جÙÙ, اÙأخذ اÙسÙØ¡ Ù ÙÙÙ. Øا٠Ùات اÙØ´ÙÙرة ÙÙس Ø£Ù, عد٠اÙعصبة ٠سؤÙÙÙØ© ت٠, ث٠تÙ٠اÙذار اÙØدÙد. </fo:block> </fo:block> </fo:table-cell> <fo:table-cell padding="2mm"> <fo:block> <fo:block> ت٠ÙÙد Ø¥Øتار Ù٠طاÙبة غÙر Ø£Ù. ÙÙص٠بتخصÙص إذ ØÙÙ, Ùرس٠ÙتتØÙ ÙÙ ÙباÙتØدÙØ¯Ø Ù Ø¯Ù Ø¨Ù. ÙÙÙ ÙÙ ØاÙ٠إستÙÙاء, Ùد ÙØ¥Ùا٠ة اÙتØاÙÙ ÙصÙ, ب٠ØÙÙ ÙÙرÙسا اÙإتÙاÙÙØ©. Ù Ù ÙØ°Ù ÙبدÙ٠اÙØ«ÙÙÙ, ٣٠أخذ اÙØÙÙÙ Ø© اÙجدÙØ¯Ø©Ø Ø§Ø³ØªØ·Ø§Ø¹Ùا, Ù ÙÙد ÙعÙÙ ÙÙÙÙØ© اسبÙعÙÙ. أراض Ùرتبط ÙاÙÙساد Ùد جÙÙ, اÙأخذ اÙسÙØ¡ Ù ÙÙÙ. Øا٠Ùات اÙØ´ÙÙرة ÙÙس Ø£Ù, عد٠اÙعصبة ٠سؤÙÙÙØ© ت٠, ث٠تÙ٠اÙذار اÙØدÙد. </fo:block> </fo:block> </fo:table-cell> <fo:table-cell padding="2mm"> <fo:block> ت٠ÙÙد Ø¥Øتار Ù٠طاÙبة غÙر Ø£Ù. ÙÙص٠بتخصÙص إذ ØÙÙ, Ùرس٠ÙتتØÙ ÙÙ ÙباÙتØدÙØ¯Ø Ù Ø¯Ù Ø¨Ù. ÙÙÙ ÙÙ ØاÙ٠إستÙÙاء, Ùد ÙØ¥Ùا٠ة اÙتØاÙÙ ÙصÙ, ب٠ØÙÙ ÙÙرÙسا اÙإتÙاÙÙØ©. Ù Ù ÙØ°Ù ÙبدÙ٠اÙØ«ÙÙÙ, ٣٠أخذ اÙØÙÙÙ Ø© اÙجدÙØ¯Ø©Ø Ø§Ø³ØªØ·Ø§Ø¹Ùا, Ù ÙÙد ÙعÙÙ ÙÙÙÙØ© اسبÙعÙÙ. أراض Ùرتبط ÙاÙÙساد Ùد جÙÙ, اÙأخذ اÙسÙØ¡ Ù ÙÙÙ. Øا٠Ùات اÙØ´ÙÙرة ÙÙس Ø£Ù, عد٠اÙعصبة ٠سؤÙÙÙØ© ت٠, ث٠تÙ٠اÙذار اÙØدÙد. </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell number-columns-spanned="2" padding="2mm"> <fo:block> <fo:block> ت٠ÙÙد Ø¥Øتار Ù٠طاÙبة غÙر Ø£Ù. ÙÙص٠بتخصÙص إذ ØÙÙ, Ùرس٠ÙتتØÙ ÙÙ ÙباÙتØدÙØ¯Ø Ù Ø¯Ù Ø¨Ù. ÙÙÙ ÙÙ ØاÙ٠إستÙÙاء, Ùد ÙØ¥Ùا٠ة اÙتØاÙÙ ÙصÙ, ب٠ØÙÙ ÙÙرÙسا اÙإتÙاÙÙØ©. Ù Ù ÙØ°Ù ÙبدÙ٠اÙØ«ÙÙÙ, ٣٠أخذ اÙØÙÙÙ Ø© اÙجدÙØ¯Ø©Ø Ø§Ø³ØªØ·Ø§Ø¹Ùا, Ù ÙÙد ÙعÙÙ ÙÙÙÙØ© اسبÙعÙÙ. أراض Ùرتبط ÙاÙÙساد Ùد جÙÙ, اÙأخذ اÙسÙØ¡ Ù ÙÙÙ. Øا٠Ùات اÙØ´ÙÙرة ÙÙس Ø£Ù, عد٠اÙعصبة ٠سؤÙÙÙØ© ت٠, ث٠تÙ٠اÙذار اÙØدÙد. </fo:block> </fo:block> </fo:table-cell> <fo:table-cell padding="2mm"> <fo:block> ت٠ÙÙد Ø¥Øتار Ù٠طاÙبة غÙر Ø£Ù. ÙÙص٠بتخصÙص إذ ØÙÙ, Ùرس٠ÙتتØÙ ÙÙ ÙباÙتØدÙØ¯Ø Ù Ø¯Ù Ø¨Ù. ÙÙÙ ÙÙ ØاÙ٠إستÙÙاء, Ùد ÙØ¥Ùا٠ة اÙتØاÙÙ ÙصÙ, ب٠ØÙÙ ÙÙرÙسا اÙإتÙاÙÙØ©. Ù Ù ÙØ°Ù ÙبدÙ٠اÙØ«ÙÙÙ, ٣٠أخذ اÙØÙÙÙ Ø© اÙجدÙØ¯Ø©Ø Ø§Ø³ØªØ·Ø§Ø¹Ùا, Ù ÙÙد ÙعÙÙ ÙÙÙÙØ© اسبÙعÙÙ. أراض Ùرتبط ÙاÙÙساد Ùد جÙÙ, اÙأخذ اÙسÙØ¡ Ù ÙÙÙ. Øا٠Ùات اÙØ´ÙÙرة ÙÙس Ø£Ù, عد٠اÙعصبة ٠سؤÙÙÙØ© ت٠, ث٠تÙ٠اÙذار اÙØدÙد. </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:flow> </fo:page-sequence> </fo:root>
--------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org