>
> May be post a fo snippet showing what you give to fop and then describe your
> expected and the actual output.
>
Thank you for your answer!
I am using FOP 0.95 (latest stable at the time of writing).
I am trying the following fo snippet.
<fo:block>
This is the example with 2011 (as char) non
breaking hyphen:
This‑is‑a‑line‑with‑8209‑characters
</fo:block>
<fo:block>
This is the example with 2011 (as hex) non
breaking hyphen:
This‑is‑a‑line‑with‑8209‑characters
</fo:block>
<fo:block>
This is the example with 2011 (as number) non
breaking hyphen:
This‑is‑a‑line‑with‑8209‑characters
</fo:block>
<fo:block> This is the example ZZZZZZZZZZZZZZ with an
HTML shy hyphen:
Bigandlongwordthatshouldbreakinalogicalplaceandnotgotothenextline
</fo:block>
<fo:block> This is the example ZZZZZZZZZ with non
breaking space :
Big and long word that should break in a logical place and not go to the next line
</fo:block>
Comments:
- The hyphens in the first block are hex 2011 chars inserted directly into the
FO file from the VIM editor
- The hyphens in second block are entities with number 8209
- The hyphens in the third block are entities with hex 2011
- There are hyphens in 4th block with hex AD inserted directly by VIM
- The non-breaking-space in the 5th block are entities with number 160
I run this snippet with FOP using
fop -fo hyphens.xml hyphens.pdf
Expected output
First Block: This-is-a-line-with-8209-characters sentence appearing with
hyphens but it should not break at any point.
Second block: The same as first
Third block: The same as first
Fourth block: The sentence Bigandlong... with no visible hyphens. Only one
visible hyphen when it breaks
Fifth block: The sentence Big and long... with spaces but no break at all
Actual output
First block:The sentence appearing with "#" characters instead of hyphens
Second block: Same as first
Third block same as first
Fourth block: As expected (so this works OK)
Fifth block: As expeected (so this works OK)
Thus the problem is that I get the "#" (sharp symbol) instead of a
non-breaking-hyphen in the PDF output.
I hope this is more clear.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]