Skip to main content
Sep 24, 2009 9:31 AM UTC
Question

fxg importer makes extra lines?

Hi,

Im useing TLF build 502 (715519)

I am trying to load a fxg formated text with 3 lines:

<Graphic>

<ns1:TextGraphic xmlns:ns1="http://ns.adobe.com/fxg/2008" whiteSpaceCollapse="preserve">
<ns1:content>
<ns1:p textIndent="0" textAlign="left" marginTop="0" marginRight="0" marginLeft="0" marginBottom="10">
<ns1:span lineThrough="false" fontWeight="normal" fontSize="12" fontFamily="Calibri" color="0x000000">This is first line</ns1:span>
</ns1:p><ns1:p textIndent="0" textAlign="left" marginTop="0" marginRight="0" marginLeft="0" marginBottom="10">
<ns1:span lineThrough="false" fontWeight="normal" fontSize="12" fontFamily="Calibri" color="0x000000">This is second line</ns1:span>
</ns1:p><ns1:p textIndent="0" textAlign="left" marginTop="0" marginRight="0" marginLeft="0" marginBottom="10">
<ns1:span lineThrough="false" fontWeight="normal" fontSize="12" fontFamily="Calibri" color="0x000000">This is third line</ns1:span>
</ns1:p></ns1:content></ns1:TextGraphic></Graphic>

With the demo that on labs i get it right:

This is first line

This is second line

This is third line

but somehow in the last framework i get:

This is first line

This is second line

This is third line

(with extra line betwin the sentences).

Do you have an idea why?

Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Sep 24, 2009 10:16 AM UTC

never mind, its because of whiteSpaceCollapse

Translate