Re: SoftHyphen
You might be able to insert a zero-width space like this: http://xmlgraphics.apache.org/fop/faq.html#cells-overflow HTH! On Jun 16, 2006, at 12:58 AM, Dirk Bromberg wrote: Hi, i wants to have a resolution for this scenario: I've a long word "thisismyword" and it is in two cells with hyphen on. 1. Now, in the first cell the word fits and all is fine. 2. The word does not fit in the second cell and the hyphen breaks - > all is fine. I've no chance to enable or disable the hyphen (must always be enabled). In the second cell i want to force the hyphen mechanism to break the word at a special char. Can i use the soft-hyphens like the "U+00AD" for this, like thisis(U+00AD)myword? Is the priority for this soft hyphen higher as for the hyphen pattern from the hyphen-file? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Clay Leeds [EMAIL PROTECTED] My religion is simple. My religion is kindness. -- HH Dalai Lama of Tibet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SoftHyphen
Hi, i wants to have a resolution for this scenario: I've a long word "thisismyword" and it is in two cells with hyphen on. 1. Now, in the first cell the word fits and all is fine. 2. The word does not fit in the second cell and the hyphen breaks -> all is fine. I've no chance to enable or disable the hyphen (must always be enabled). In the second cell i want to force the hyphen mechanism to break the word at a special char. Can i use the soft-hyphens like the "U+00AD" for this, like thisis(U+00AD)myword? Is the priority for this soft hyphen higher as for the hyphen pattern from the hyphen-file? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SoftHyphen
Hi, i wants to have a resolution for this scenario: I've a long word "thisismyword" and it is in two cells with hyphen on. 1. Now, in the first cell the word fits and all is fine. 2. The word does not fit in the second cell and the hyphen breaks -> all is fine. I've no chance to enable or disable the hyphen (must always be enabled). In the second cell i want to force the hyphen mechanism to break the word at a special char. Can i use the soft-hyphens like the "U+00AD" for this, like thisis(U+00AD)myword? Is the priority for this soft hyphen higher as for the hyphen pattern from the hyphen-file? Thanks Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: absolutely positioned block-container issue
Martin Zak wrote: Hi all, I'm using the absolutely positioned block-container for a side-note. The page body has left margin defined while block-container has start-indent set to 0pt. (so the block-container is rendered in a "column" left to the rest of the text on page like this: [abs] lorem ipsum dolores... Whats happening here is the rules of conditional spacing. If a space is the first in the reference area (fo:flow in your example) then the default is to discard the space. If the space is not the first thing in a reference area then its is retained. It seems the block-container fools FOP into thinking that there is something before the space in the reference area and it is therefore retained. Without knowing the full context of your application I'm not sure of a wrokaround. Specifying space-before.conditionality="retain" will ensure the space is always shown, regardless of whether there is a block container or not. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java.lang.ArrayIndexOutOfBoundsException
On Friday 16 June 2006 19:57, christophe deniard wrote: > Hi all, > > I use the 0.92 version of fop and I have an exception for one of my > file. > > I try to debug and find that when I have a with more than > 32 KByte of data there's an exception in fop 0.92. > > The same file with fop 0.20 not generate an exception. > > I put my file in attachment. > > Do you already show this ? Thank you, but this is a known problem: http://issues.apache.org/bugzilla/show_bug.cgi?id=39414 > > Do you think I mpust enter a bug for this ? > > > Best Regards > > Christophe Manueel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
absolutely positioned block-container issue
Hi all, I'm using the absolutely positioned block-container for a side-note. The page body has left margin defined while block-container has start-indent set to 0pt. (so the block-container is rendered in a "column" left to the rest of the text on page like this: Page Heading [side-note]page text sample page text sample page text sample page text and more page text more page text It works nice, until following situation occurs: the block following the absolutely positioned block-container has space-before property defined. Then this property applies and the (second) block is shifted down from the block-container. When I remove the block-container, this property doesn't apply any more... It seems the absolutely positioned block-container affects the layout in normal text flow. Is it a bug or I just miss something in layout rules? I would be happy for any help as my big project is stuck due to this issue :( Thanks Martin Zak fop 0.92beta -- code snippet: flow-name="xsl-region-body" margin-left="1.37in"> start-indent="0pt" absolute-position="absolute"> [abs] lorem ipsum dolores... --- attachments: absolute-position_no-container.pdf absolute-position_with-container.pdf absolute-position.fo --- -- Martin Zak project manager, developer Ginger Alliance, s.r.o. Otakarova 15 140 00 Prague Czech Republic Office: tel +420 241 741 406 : fax +420 241 740 398 YM ID : zakmart Email : [EMAIL PROTECTED] http://www.gingerall.com http://www.ga-mme.com absolute-position_no-container.pdf Description: Adobe PDF document absolute-position_with-container.pdf Description: Adobe PDF document http://www.w3.org/1999/XSL/Format";> [abs] lorem ipsum dolores... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: margins
Indeed, that was the problem. Thank you Andreas! I use "Page scaling - None" and I get margins that correlate with my FO. Rick -Original Message- From: Andreas L Delmelle [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 3:10 AM To: fop-users@xmlgraphics.apache.org Subject: Re: margins Nothing really, AFAICT. Before we start looking any further, can you do us a favor and check the settings when printing the PDF? Could be that Adobe Reader is performing stretching/shrinking. If there is a shrink to printable-page-width going on, that could explain a few things... 1cm right/left shrinks to 'approx. 1cm', plus the 0.5cm printer-margin. HTH! Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: margins
On Jun 16, 2006, at 03:25, Rick Roen wrote: Hi, FOP trunk I’m confused by the page margins I am getting with the xslt below. I would like to get 1cm margins on all sides with the footer taking 5mm and the body above that by 5mm. What I am getting when I render to a pdf is 1cm top, approx 1.5cm right and left, and about 2.5cm bottom. The printer has a small margin, but it is an ink-jet, so it is minimal. ... about 0.5cm sounds minimal enough to me, for a decent inkjet ;) Can someone tell me where I am going wrong? Nothing really, AFAICT. Before we start looking any further, can you do us a favor and check the settings when printing the PDF? Could be that Adobe Reader is performing stretching/shrinking. If there is a shrink to printable-page-width going on, that could explain a few things... 1cm right/left shrinks to 'approx. 1cm', plus the 0.5cm printer-margin. HTH! Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]