Re: Em Space - UTF8

2007-01-08 Thread Abel Braaksma

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.
[]
I found no possibility to apply a new fo:block to all of the text
before and after


Normally people choose XSLT to do that task, I assume you do so too. The 
best place to ask that question is on the XSLT list. Try 
http://www.mulberrytech.com/xsl/xsl-list/subscribe-unsubscribe.html to 
subscribe to that list.


Since this is fairly trivial to do in XSLT 1 and 2 (what version do you 
use?), I will give you a solution that works for either version:


INPUT DOC:
root
   Lorem ipsum 1
   absatz /
   Lorem ipsum 2
   absatz /
   Lorem ipsum 3
/root

XSLT DOC:
xsl:stylesheet version=1.0
   xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
   xmlns:fo=http://www.w3.org/1999/XSL/Format;
  
   xsl:output indent=yes/
  
   xsl:template match=root

   fo:root
   xsl:apply-templates /
   /fo:root
   /xsl:template
  
   xsl:template match=text()[preceding-sibling::*[1][self::absatz]]

   fo:block text-indent=6pt
   xsl:value-of select=./
   /fo:block
   /xsl:template
/xsl:stylesheet

OUTPUT:
   fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
   Lorem ipsum 1
   fo:block text-indent=6pt
   Lorem ipsum 2
   /fo:block
   fo:block text-indent=6pt
   Lorem ipsum 3
   /fo:block
   /fo:root


If you want the first textblock to be indented as well, add the 
following to the match of the text-nodes with preceding-sibling:


text()[following-sibling::*[1][local-name() = 'absatz']]

or make a copy of it, and add this:

   xsl:template match=text()[following-sibling::*[1][self::absatz]]
   fo:block text-indent=6pt
   xsl:value-of select=./
   /fo:block
   /xsl:template

which will wrap all text nodes that have either a following node or a 
preceding node that is called absatz. Note that the following 
(seemingly correct) versions do not yield the same results:


text()[preceding-sibling::absatz]

which will match the text-node if somewhere, between all siblings, there 
is a node 'absatz', and


text()[preceding-sibling::absatz[1]]

which will match if there is at least one node, somewhere, that matches 
the name 'absatz' (same as before) and


text()[preceding-sibling::*[1][absatz]]

which will match if the first sibling has a child 'absatz', which is not 
what we want. So, finally, this comes to:


text()[preceding-sibling::*[1][local-name() = 'absatz']]

Please note, that this explicitly does not wrap the text inside an 
fo:block when something else then an absatz / node is preceding or 
following the text node. Also, if the text node you want to match 
contains more nodes (like text in xhtml with strong and em), the 
above solution needs some tweaking (nothing fancy though). In that case, 
I think your chances are better at the XSLT mailing list.


Note, too, that text nodes that do not match the predicate discussed 
above, will simply be output.


Hope this helps!


absatz /.
Thats why I'm using fo:block /fo:inline 
font-size=10pt#8195;/fo:inline

to get my linebreak and indent.


Since you need a linebreak and an indent, you better wrap the texts in a 
fo:block, like you suggested already.


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-08 Thread Oliver Müller

wow- thanks. Thats cool.

Olli

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

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.
 []
 I found no possibility to apply a new fo:block to all of the text
 before and after

Normally people choose XSLT to do that task, I assume you do so too. The
best place to ask that question is on the XSLT list. Try
http://www.mulberrytech.com/xsl/xsl-list/subscribe-unsubscribe.html to
subscribe to that list.

Since this is fairly trivial to do in XSLT 1 and 2 (what version do you
use?), I will give you a solution that works for either version:

INPUT DOC:
root
Lorem ipsum 1
absatz /
Lorem ipsum 2
absatz /
Lorem ipsum 3
/root

XSLT DOC:
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format;

xsl:output indent=yes/

xsl:template match=root
fo:root
xsl:apply-templates /
/fo:root
/xsl:template

xsl:template match=text()[preceding-sibling::*[1][self::absatz]]
fo:block text-indent=6pt
xsl:value-of select=./
/fo:block
/xsl:template
/xsl:stylesheet

OUTPUT:
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
Lorem ipsum 1
fo:block text-indent=6pt
Lorem ipsum 2
/fo:block
fo:block text-indent=6pt
Lorem ipsum 3
/fo:block
/fo:root


If you want the first textblock to be indented as well, add the
following to the match of the text-nodes with preceding-sibling:

text()[following-sibling::*[1][local-name() = 'absatz']]

or make a copy of it, and add this:

xsl:template match=text()[following-sibling::*[1][self::absatz]]
fo:block text-indent=6pt
xsl:value-of select=./
/fo:block
/xsl:template

which will wrap all text nodes that have either a following node or a
preceding node that is called absatz. Note that the following
(seemingly correct) versions do not yield the same results:

text()[preceding-sibling::absatz]

which will match the text-node if somewhere, between all siblings, there
is a node 'absatz', and

text()[preceding-sibling::absatz[1]]

which will match if there is at least one node, somewhere, that matches
the name 'absatz' (same as before) and

text()[preceding-sibling::*[1][absatz]]

which will match if the first sibling has a child 'absatz', which is not
what we want. So, finally, this comes to:

text()[preceding-sibling::*[1][local-name() = 'absatz']]

Please note, that this explicitly does not wrap the text inside an
fo:block when something else then an absatz / node is preceding or
following the text node. Also, if the text node you want to match
contains more nodes (like text in xhtml with strong and em), the
above solution needs some tweaking (nothing fancy though). In that case,
I think your chances are better at the XSLT mailing list.

Note, too, that text nodes that do not match the predicate discussed
above, will simply be output.

Hope this helps!

 absatz /.
 Thats why I'm using fo:block /fo:inline
 font-size=10pt#8195;/fo:inline
 to get my linebreak and indent.

Since you need a linebreak and an indent, you better wrap the texts in a
fo:block, like you suggested already.

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: 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: 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]



Re: Em Space - UTF8

2007-01-06 Thread Oliver Müller

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



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]



Re: Em Space - UTF8

2007-01-06 Thread Manuel Mall
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]



Re: Em Space - UTF8

2007-01-05 Thread Manuel Mall
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]