Re: Em Space - UTF8

2007-01-07 Thread Oliver Müller

the problem only appears when it's the first element of a new line.
I tried 2 different methods to get the effect and both fail with fop.

 fo:inline space-start=10pt/fo:inline
 fo:inline font-size=10pt#8195;/fo:inline

Note that this works in Antenna House XSLFormatter.

I need this for my workaround for line indenting, because I want
to indent lines after a xml node called absatz /.

Olli

2007/1/6, Manuel Mall [EMAIL PROTECTED]:

On Saturday 06 January 2007 23:15, Oliver Müller wrote:
 Hi,

 I'm using 0.92 beta and font Minion.
 The problem is: I have an inline element with no other content then
 the Em Space #8195;
 in this case it's not displayed.
 If I put a letter before the space it works.

Olli,

interesting - I can reproduce your problem. Seems fop 0.92beta treats
these spaces as removable at the start/end of a line. Same issue exists
in the upcoming fop 0.93 release. Can you confirm that the problem only
appears if the inline with the single Em Space is the first or last
element in a line? A more recent change to fop (Unicode compliant
linebreaking) appears to have fixed the problem. Unfortunately I don't
have a workaround for you.

Manuel

 Olli

 2007/1/6, Manuel Mall [EMAIL PROTECTED]:
  On Saturday 06 January 2007 03:29, Oliver Müller wrote:
   Hi,
  
   does anyone's got an idea why the Em Space #8195; is
   not displayed in a pdf generated with FOP ?
  
   http://unicode.e-workers.de/unicode3.php
 
  Oliver,
 
  you didn't state the version of fop you have the problem with nor
  the font you are using. I just tested this with the latest fop
  version and all the spaces (#x2000; to #x200b;) display fine
  using the PDF default fonts.
 
  Manuel
 
  ---
 -- 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]

-
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: Em Space - UTF8

2007-01-07 Thread Vincent Hennebert
Oliver Müller a écrit :
 the problem only appears when it's the first element of a new line.
 I tried 2 different methods to get the effect and both fail with fop.
 
  fo:inline space-start=10pt/fo:inline
  fo:inline font-size=10pt#8195;/fo:inline
 
 Note that this works in Antenna House XSLFormatter.
 
 I need this for my workaround for line indenting, because I want
 to indent lines after a xml node called absatz /.

Why can't you use the text-indent property?

Vincent


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Em Space - UTF8

2007-01-07 Thread Abel Braaksma

Oliver Müller wrote:

the problem only appears when it's the first element of a new line.
I tried 2 different methods to get the effect and both fail with fop.

 fo:inline space-start=10pt/fo:inline
 fo:inline font-size=10pt#8195;/fo:inline

Note that this works in Antenna House XSLFormatter.

I need this for my workaround for line indenting, because I want
to indent lines after a xml node called absatz /.


I can hardly believe you need a workaround for spacing text, the last 
time I saw that it was really needed was in the HTML 2.0 time, where 
tables were not yet a part of the standard. However, if you must use 
spaces and cannot use text-indent or the like, consider a workaround 
with either:


#x200C;  -- Zero Width Non-Joiner
#x200D;  -- Zero Width Joiner
#x200E; -- Left-To-Right-Mark
#x200F; -- Right-To-Left-Mark

For example, you could try this:

EM SPACE -- ZWJ -- HAIR SPACE

But if that is still truncated down to nothing (as spaces appear to be 
stripped), you can try holding it into two characters that are not 
spaces, like this:


LRM -- EM SPACE -- LRM

(or if your text is supposed to be right-to-left, replace that with RLM)
(look here for possible candidates that are better suited than a 
character that actually has a function: 
http://www.fileformat.info/info/unicode/category/Cf/list.htm)


But, these seem to me like terrible workarounds: not all fonts support 
them, you should, in any case, use an indentation method or try to apply 
one, and spacing characters are not defined to be of equal width amongst 
fonts, leaving you with unequal indentation when you try to apply this 
techniques with other fonts.


Cheers,
-- Abel Braaksma
  http://www.nuntia.nl






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Em Space - UTF8

2007-01-07 Thread Oliver Müller

Maybe I don't got any other solution because I'm quite new to XSL-FO ...
I would really love to use text-indent, but in my case I don't see a
chance to do so.
This is due to the fact that text-indent only works with fo:block.

my XML doc looks like..

Lorem ipsum dolor sit amet, consectetuer adipiscing elit
absatz /
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
absatz /
Lorem ipsum dolor sit amet, consectetuer adipiscing elit

there shall be a linebreak and text-indent after every occur of absatz /.
I found no possibility to apply a new fo:block to all of the text
before and after
absatz /.
Thats why I'm using fo:block /fo:inline font-size=10pt#8195;/fo:inline
to get my linebreak and indent.

If any of you got a better idea I would love to hear it.

Olli




2007/1/7, Abel Braaksma [EMAIL PROTECTED]:

Oliver Müller wrote:
 the problem only appears when it's the first element of a new line.
 I tried 2 different methods to get the effect and both fail with fop.

  fo:inline space-start=10pt/fo:inline
  fo:inline font-size=10pt#8195;/fo:inline

 Note that this works in Antenna House XSLFormatter.

 I need this for my workaround for line indenting, because I want
 to indent lines after a xml node called absatz /.

I can hardly believe you need a workaround for spacing text, the last
time I saw that it was really needed was in the HTML 2.0 time, where
tables were not yet a part of the standard. However, if you must use
spaces and cannot use text-indent or the like, consider a workaround
with either:

#x200C;  -- Zero Width Non-Joiner
#x200D;  -- Zero Width Joiner
#x200E; -- Left-To-Right-Mark
#x200F; -- Right-To-Left-Mark

For example, you could try this:

EM SPACE -- ZWJ -- HAIR SPACE

But if that is still truncated down to nothing (as spaces appear to be
stripped), you can try holding it into two characters that are not
spaces, like this:

LRM -- EM SPACE -- LRM

(or if your text is supposed to be right-to-left, replace that with RLM)
(look here for possible candidates that are better suited than a
character that actually has a function:
http://www.fileformat.info/info/unicode/category/Cf/list.htm)

But, these seem to me like terrible workarounds: not all fonts support
them, you should, in any case, use an indentation method or try to apply
one, and spacing characters are not defined to be of equal width amongst
fonts, leaving you with unequal indentation when you try to apply this
techniques with other fonts.

Cheers,
-- Abel Braaksma
   http://www.nuntia.nl






-
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: FOP Bridge available for FOP 0.93

2007-01-07 Thread Simon Pepping
On Sat, Jan 06, 2007 at 05:39:53PM -0500, Amin Ahmad wrote:
 Hello FOP and Eclipse Users,
 
 I have updated the FOP Bridge plugin for Eclipse to support FOP 0.93. For
 those who are not familiar, the plugin allows you to transform XSL FO
 documents from within eclipse with a simple right-click. You can download it
 from http://www.ahmadsoft.org/fopbridge.html or you can use the update site
 located at http://www.ahmadsoft.org/update/.

Great, and very speedy.

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Em Space - UTF8

2007-01-07 Thread Manuel Mall
On Monday 08 January 2007 02:21, Oliver Müller wrote:
 Maybe I don't got any other solution because I'm quite new to XSL-FO
 ... I would really love to use text-indent, but in my case I don't
 see a chance to do so.
 This is due to the fact that text-indent only works with fo:block.

 my XML doc looks like..

 Lorem ipsum dolor sit amet, consectetuer adipiscing elit
 absatz /
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit
 absatz /
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit

 there shall be a linebreak and text-indent after every occur of
 absatz /. I found no possibility to apply a new fo:block to all of
 the text before and after
 absatz /.
 Thats why I'm using fo:block /fo:inline
 font-size=10pt#8195;/fo:inline to get my linebreak and indent.

 If any of you got a better idea I would love to hear it.

Olli,

while I am sure there are XSLT solutions which would allow to generate a 
block per absatz / why don't you simply use one or more non breaking 
spaces (#160;)?

Manuel

 Olli

 2007/1/7, Abel Braaksma [EMAIL PROTECTED]:
  Oliver Müller wrote:
   the problem only appears when it's the first element of a new
   line. I tried 2 different methods to get the effect and both fail
   with fop.
  
fo:inline space-start=10pt/fo:inline
fo:inline font-size=10pt#8195;/fo:inline
  
   Note that this works in Antenna House XSLFormatter.
  
   I need this for my workaround for line indenting, because I want
   to indent lines after a xml node called absatz /.
 
  I can hardly believe you need a workaround for spacing text, the
  last time I saw that it was really needed was in the HTML 2.0 time,
  where tables were not yet a part of the standard. However, if you
  must use spaces and cannot use text-indent or the like, consider a
  workaround with either:
 
  #x200C;  -- Zero Width Non-Joiner
  #x200D;  -- Zero Width Joiner
  #x200E; -- Left-To-Right-Mark
  #x200F; -- Right-To-Left-Mark
 
  For example, you could try this:
 
  EM SPACE -- ZWJ -- HAIR SPACE
 
  But if that is still truncated down to nothing (as spaces appear to
  be stripped), you can try holding it into two characters that are
  not spaces, like this:
 
  LRM -- EM SPACE -- LRM
 
  (or if your text is supposed to be right-to-left, replace that with
  RLM) (look here for possible candidates that are better suited than
  a character that actually has a function:
  http://www.fileformat.info/info/unicode/category/Cf/list.htm)
 
  But, these seem to me like terrible workarounds: not all fonts
  support them, you should, in any case, use an indentation method or
  try to apply one, and spacing characters are not defined to be of
  equal width amongst fonts, leaving you with unequal indentation
  when you try to apply this techniques with other fonts.
 
  Cheers,
  -- Abel Braaksma
 http://www.nuntia.nl
 
 
 
 
 
 
  ---
 -- 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]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Em Space - UTF8

2007-01-07 Thread Oliver Müller

I could do so if I knew how the size of a non breaking space is calculated.

cheers,
olli

2007/1/7, Manuel Mall [EMAIL PROTECTED]:

On Monday 08 January 2007 02:21, Oliver Müller wrote:
 Maybe I don't got any other solution because I'm quite new to XSL-FO
 ... I would really love to use text-indent, but in my case I don't
 see a chance to do so.
 This is due to the fact that text-indent only works with fo:block.

 my XML doc looks like..

 Lorem ipsum dolor sit amet, consectetuer adipiscing elit
 absatz /
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit
 absatz /
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit

 there shall be a linebreak and text-indent after every occur of
 absatz /. I found no possibility to apply a new fo:block to all of
 the text before and after
 absatz /.
 Thats why I'm using fo:block /fo:inline
 font-size=10pt#8195;/fo:inline to get my linebreak and indent.

 If any of you got a better idea I would love to hear it.

Olli,

while I am sure there are XSLT solutions which would allow to generate a
block per absatz / why don't you simply use one or more non breaking
spaces (#160;)?

Manuel

 Olli

 2007/1/7, Abel Braaksma [EMAIL PROTECTED]:
  Oliver Müller wrote:
   the problem only appears when it's the first element of a new
   line. I tried 2 different methods to get the effect and both fail
   with fop.
  
fo:inline space-start=10pt/fo:inline
fo:inline font-size=10pt#8195;/fo:inline
  
   Note that this works in Antenna House XSLFormatter.
  
   I need this for my workaround for line indenting, because I want
   to indent lines after a xml node called absatz /.
 
  I can hardly believe you need a workaround for spacing text, the
  last time I saw that it was really needed was in the HTML 2.0 time,
  where tables were not yet a part of the standard. However, if you
  must use spaces and cannot use text-indent or the like, consider a
  workaround with either:
 
  #x200C;  -- Zero Width Non-Joiner
  #x200D;  -- Zero Width Joiner
  #x200E; -- Left-To-Right-Mark
  #x200F; -- Right-To-Left-Mark
 
  For example, you could try this:
 
  EM SPACE -- ZWJ -- HAIR SPACE
 
  But if that is still truncated down to nothing (as spaces appear to
  be stripped), you can try holding it into two characters that are
  not spaces, like this:
 
  LRM -- EM SPACE -- LRM
 
  (or if your text is supposed to be right-to-left, replace that with
  RLM) (look here for possible candidates that are better suited than
  a character that actually has a function:
  http://www.fileformat.info/info/unicode/category/Cf/list.htm)
 
  But, these seem to me like terrible workarounds: not all fonts
  support them, you should, in any case, use an indentation method or
  try to apply one, and spacing characters are not defined to be of
  equal width amongst fonts, leaving you with unequal indentation
  when you try to apply this techniques with other fonts.
 
  Cheers,
  -- Abel Braaksma
 http://www.nuntia.nl
 
 
 
 
 
 
  ---
 -- 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]

-
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: Em Space - UTF8

2007-01-07 Thread Manuel Mall
On Monday 08 January 2007 07:51, Oliver Müller wrote:
 I could do so if I knew how the size of a non breaking space is
 calculated.

With respect to size a non breaking space behaves the same as a normal 
space I believe.

Manuel
 cheers,
 olli

 2007/1/7, Manuel Mall [EMAIL PROTECTED]:
  On Monday 08 January 2007 02:21, Oliver Müller wrote:
   Maybe I don't got any other solution because I'm quite new to
   XSL-FO ... I would really love to use text-indent, but in my case
   I don't see a chance to do so.
   This is due to the fact that text-indent only works with
   fo:block.
  
   my XML doc looks like..
  
   Lorem ipsum dolor sit amet, consectetuer adipiscing elit
   absatz /
   Lorem ipsum dolor sit amet, consectetuer adipiscing elit
   absatz /
   Lorem ipsum dolor sit amet, consectetuer adipiscing elit
  
   there shall be a linebreak and text-indent after every occur of
   absatz /. I found no possibility to apply a new fo:block to all
   of the text before and after
   absatz /.
   Thats why I'm using fo:block /fo:inline
   font-size=10pt#8195;/fo:inline to get my linebreak and
   indent.
  
   If any of you got a better idea I would love to hear it.
 
  Olli,
 
  while I am sure there are XSLT solutions which would allow to
  generate a block per absatz / why don't you simply use one or
  more non breaking spaces (#160;)?
 
  Manuel
 
   Olli
  
   2007/1/7, Abel Braaksma [EMAIL PROTECTED]:
Oliver Müller wrote:
 the problem only appears when it's the first element of a new
 line. I tried 2 different methods to get the effect and both
 fail with fop.

  fo:inline space-start=10pt/fo:inline
  fo:inline font-size=10pt#8195;/fo:inline

 Note that this works in Antenna House XSLFormatter.

 I need this for my workaround for line indenting, because I
 want to indent lines after a xml node called absatz /.
   
I can hardly believe you need a workaround for spacing text,
the last time I saw that it was really needed was in the HTML
2.0 time, where tables were not yet a part of the standard.
However, if you must use spaces and cannot use text-indent or
the like, consider a workaround with either:
   
#x200C;  -- Zero Width Non-Joiner
#x200D;  -- Zero Width Joiner
#x200E; -- Left-To-Right-Mark
#x200F; -- Right-To-Left-Mark
   
For example, you could try this:
   
EM SPACE -- ZWJ -- HAIR SPACE
   
But if that is still truncated down to nothing (as spaces
appear to be stripped), you can try holding it into two
characters that are not spaces, like this:
   
LRM -- EM SPACE -- LRM
   
(or if your text is supposed to be right-to-left, replace that
with RLM) (look here for possible candidates that are better
suited than a character that actually has a function:
http://www.fileformat.info/info/unicode/category/Cf/list.htm)
   
But, these seem to me like terrible workarounds: not all fonts
support them, you should, in any case, use an indentation
method or try to apply one, and spacing characters are not
defined to be of equal width amongst fonts, leaving you with
unequal indentation when you try to apply this techniques with
other fonts.
   
Cheers,
-- Abel Braaksma
   http://www.nuntia.nl
   
   
   
   
   
   
---
    -- 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]
 
  ---
 -- 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]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]