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 today to just set the attribute to no wrap.


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 
better. Can you also supply a sample .FO file that reproduces the issue?

Thanks.

-Mike

On 17/05/11 13:30, Eric Douglas wrote:

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 today to just set the 
attribute to no wrap.




Michael Rubin


Developer


[http://thunderhead.com/email_signature/images/Thunderhead-logo.png]
[http://thunderhead.com/email_signature/images/make-every-communication-count.png]
  [http://thunderhead.com/email_signature/images/triangles.png]

T

F

M

E

W


+44 20 8238 7400

+44 20 8238 7401



mru...@thunderhead.commailto:mru...@thunderhead.com

www.thunderhead.comhttp://www.thunderhead.com



Thunderhead featured in The Sunday Times Profit Track 100 league table of companies 
with fastest-growing profits. Click 
herehttp://www.fasttrack.co.uk/fasttrack/press/pt11-lon.pdf to read more.


[http://thunderhead.com/email_signature/images/linkedin.png]http://www.linkedin.com/companies/25033/Thunderhead
 [http://thunderhead.com/email_signature/images/twitter.png] http://twitter.com/Thunderheadon 
[http://thunderhead.com/email_signature/images/rss.png] http://www.thunderhead.com/rss/rss.php 
[http://thunderhead.com/email_signature/images/youtube.png] http://www.youtube.com/user/ThunderheadOn 
[http://thunderhead.com/email_signature/images/theblog.png] http://thunderheadinnovate.wordpress.com/  
[http://thunderhead.com/email_signature/images/werehiring.png] http://thunderhead.com/about/careers.php

The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it.






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 8851-1.

Le 17/05/2011 14:30, Eric Douglas a écrit :
 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 today to just set the attribute to no wrap.
 

-- 
Pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



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.
 

-Original Message-
From: Pascal Sancho [mailto:pascal.san...@takoma.fr] 
Sent: Tuesday, May 17, 2011 8:49 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: dash

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 8851-1.

Le 17/05/2011 14:30, Eric Douglas a écrit :
 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 today to just set the attribute to no wrap.
 

--
Pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org