dash

2011-05-17 Thread Eric Douglas
I ran into a minor issue. I can't get Fop to print dashes. I've tried passing in various codes that look like dashes, like #151; but it just wraps to the next line instead of printing. Other codes just print squares. I would think there should be just a print code. I'll try the workaround

Re: dash

2011-05-17 Thread Michael Rubin
Curious. My FOP 1.0 based installation handles dashes without problem. I transform them from XML and XSLT to XSL-FO with blocks containing text with dashes (space char either side) and it prints exactly as expected. What version of FOP are you using? And what environment? The more details the

Re: dash

2011-05-17 Thread Pascal Sancho
Hi Eric, #151; (AKA #x97;) is the control code for [EPA] (END OF GUARDED AREA). (While in Windows Codepage 1252 this is the code for Dash). With unicode encoding (like UTF-8), you should use the code #x2014; (EM dash) or #x2014; (EN dash). I don't remember if this character is handled with ISO

RE: dash

2011-05-17 Thread Eric Douglas
If I use any character for dash it may print a dash but it follows it with a linefeed. I tried the #x2014; code you mention and it did the same thing. I was not specifying the wrap-option attribute anywhere. I just tried a test adding wrap-option=no-wrap and it printed correctly