Zero width space is displayed as junk character [â€] in PDF

View: New views
17 Messages — Rating Filter:   Alert me  

Zero width space is displayed as junk character [â€] in PDF

by sudhir543-dev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (​ ) to the long string.. how ever Instead of breaking at zero width space.. it displays ​ as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required
 
<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>   
    <xsl:choose>
        <xsl:when test="string-length($data) &lt; $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "&#x200B;")'/>   
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                           
        </xsl:otherwise>
    </xsl:choose>   
</xsl:template> 
 

Any ideas why is it happening ?

Thanks
SN


Personally I'm always ready to learn, although I do not always like being taught
 



The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.

AW: Zero width space is displayed as junk character [â€] in PDF

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (​ ) to the long string.. how ever Instead of breaking at zero width space.. it displays ​ as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required

 
<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>    
    <xsl:choose>
        <xsl:when test="string-length($data) < $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "​")'/>    
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                            
        </xsl:otherwise>
    </xsl:choose>    
</xsl:template>  
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .

Re: AW: Zero width space is displayed as junk character [â€] in PDF

by sudhir543-dev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Files is saved with UTF-8 .. that doesnt solve problem.. a
And why would I need UTF-8 to store "&#x200B;" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too

Thanks
SN
 
 
 

Personally I'm always ready to learn, although I do not always like being taught
 



From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (&#x200B; ) to the long string.. how ever Instead of breaking at zero width space.. it displays &#x200B; as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>   
    <xsl:choose>
        <xsl:when test="string-length($data) &lt; $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "&#x200B;")'/>   
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                           
        </xsl:otherwise>
    </xsl:choose>   
</xsl:template> 
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


Try the new Yahoo! India Homepage. Click here.

AW: AW: Zero width space is displayed as junk character [â€] in PDF

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi SN,

Nope, what I meant is: Reading and writing has to happen with the same encoding. You could use UTF-8 for both or some ISO-Latin for both, but not write with one and read with another.

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 14:18
An: fop-users@...
Betreff: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Files is saved with UTF-8 .. that doesnt solve problem.. a And why would I need UTF-8 to store "​" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too

Thanks
SN

 
 
 

Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (​ ) to the long string.. how ever Instead of breaking at zero width space.. it displays ​ as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>    
    <xsl:choose>
        <xsl:when test="string-length($data) < $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "​")'/>    
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                            
        </xsl:otherwise>
    </xsl:choose>    
</xsl:template>  
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


________________________________

Try the new Yahoo! India Homepage. Click here <http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew> .

Re: AW: Zero width space is displayed as junk character [â€] in PDF

by Tobias van Treeck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

>And why would I need UTF-8 to store "&#x200B;"
you would need UTF-8 because the sign you are using is unicode....

did you set the following line in your xsl file?
<?xml version="1.0" encoding="UTF-8"?>

I also use for instance:
<xsl:text>&#x20;</xsl:text>

and it is working fine...
Regards,
ToM

2009/11/6 <sudhir543-dev@...>
Files is saved with UTF-8 .. that doesnt solve problem.. a
And why would I need UTF-8 to store "&#x200B;" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too


Thanks
SN
 
 
 

Personally I'm always ready to learn, although I do not always like being taught
 



From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (&#x200B; ) to the long string.. how ever Instead of breaking at zero width space.. it displays &#x200B; as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>   
    <xsl:choose>
        <xsl:when test="string-length($data) &lt; $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "&#x200B;")'/>   
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                           
        </xsl:otherwise>
    </xsl:choose>   
</xsl:template> 
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


Try the new Yahoo! India Homepage. Click here.


Re: AW: AW: Zero width space is displayed as junk character [â€] in PDF

by sudhir543-dev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Still I don't understand...

How do I do this.. I use eclipse for reading and writing and every thing.. I have edit plus too and I tried by setting file encoding in preference..

Thanks
SN
 
 
 


Personally I'm always ready to learn, although I do not always like being taught
 



From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 6:52:49 PM
Subject: AW: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

Nope, what I meant is: Reading and writing has to happen with the same encoding. You could use UTF-8 for both or some ISO-Latin for both, but not write with one and read with another.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 14:18
An: fop-users@...
Betreff: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Files is saved with UTF-8 .. that doesnt solve problem.. a And why would I need UTF-8 to store "&#x200B;" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too

Thanks
SN


 
 

Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (&#x200B; ) to the long string.. how ever Instead of breaking at zero width space.. it displays &#x200B; as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>   
    <xsl:choose>
        <xsl:when test="string-length($data) &lt; $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "&#x200B;")'/>   
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                           
        </xsl:otherwise>
    </xsl:choose>   
</xsl:template> 
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


________________________________

Try the new Yahoo! India Homepage. Click here <http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew> .


From cricket scores to your friends. Try the Yahoo! India Homepage!

AW: AW: AW: Zero width space is displayed as junk character [â€] in PDF

by Georg Datterl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, I don't use Eclipse with fop, but if you write the file with UTF-8 encoding and then it's wrong in Eclipse, I guess it's a different problem. Well, it was worth a try, I guess. Sorry I can't help more.

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 14:39
An: fop-users@...
Betreff: Re: AW: AW: Zero width space is displayed as junk character [â€] in PDF

Still I don't understand...

How do I do this.. I use eclipse for reading and writing and every thing.. I have edit plus too and I tried by setting file encoding in preference..

Thanks
SN

 
 
 



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 6:52:49 PM
Subject: AW: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

Nope, what I meant is: Reading and writing has to happen with the same encoding. You could use UTF-8 for both or some ISO-Latin for both, but not write with one and read with another.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 14:18
An: fop-users@...
Betreff: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Files is saved with UTF-8 .. that doesnt solve problem.. a And why would I need UTF-8 to store "​" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too

Thanks
SN


 
 

Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (​ ) to the long string.. how ever Instead of breaking at zero width space.. it displays ​ as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>    
    <xsl:choose>
        <xsl:when test="string-length($data) < $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "​")'/>    
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                            
        </xsl:otherwise>
    </xsl:choose>    
</xsl:template>  
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


________________________________

Try the new Yahoo! India Homepage. Click here <http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew> .


________________________________

From cricket scores to your friends. Try the Yahoo! India Homepage! <http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew>

Re: AW: AW: Zero width space is displayed as junk character [â€] in PDF

by Tobias van Treeck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

a) So your workspace encoding is also UTF-8? (Preferences-General-Workspace?)
b) Set the encoding directly:

// Setup XSLT
        TransformerFactory factory = TransformerFactory.newInstance();      
        Transformer transformer = factory.newTransformer(new StreamSource(xsltin));
        transformer.setOutputProperty("encoding", "UTF-8");

c) What font you are using? Maybe the font doesn't support the char...

Regards,
ToM

2009/11/6 <sudhir543-dev@...>
Still I don't understand...

How do I do this.. I use eclipse for reading and writing and every thing.. I have edit plus too and I tried by setting file encoding in preference..

Thanks
SN
 
 
 


Personally I'm always ready to learn, although I do not always like being taught
 



From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 6:52:49 PM
Subject: AW: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

Nope, what I meant is: Reading and writing has to happen with the same encoding. You could use UTF-8 for both or some ISO-Latin for both, but not write with one and read with another.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 14:18
An: fop-users@...
Betreff: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Files is saved with UTF-8 .. that doesnt solve problem.. a And why would I need UTF-8 to store "&#x200B;" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too

Thanks
SN


 
 

Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (&#x200B; ) to the long string.. how ever Instead of breaking at zero width space.. it displays &#x200B; as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>   
    <xsl:choose>
        <xsl:when test="string-length($data) &lt; $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "&#x200B;")'/>   
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                           
        </xsl:otherwise>
    </xsl:choose>   
</xsl:template> 
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


________________________________

Try the new Yahoo! India Homepage. Click here <http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew> .


From cricket scores to your friends. Try the Yahoo! India Homepage!


Re: AW: AW: AW: Zero width space is displayed as junk character [â€] in PDF

by Pascal Sancho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,
Eclipse or whatever tool you use can make many things, and the encoding
may depend on what OS you use.
My  colleague uses eclipse on Windows Vista, and he can create a XML
encoded in Ansi (french codepage), while the XML PI says that UTF-8 is used.

You should analyze the produced XML to determine the actual used
encoding (if you are on Windows system, you can use Babelpad , see [1]).

[1] http://www.babelstone.co.uk/Software/BabelPad.html

SP

Georg Datterl a écrit :
> Well, I don't use Eclipse with fop, but if you write the file with UTF-8 encoding and then it's wrong in Eclipse, I guess it's a different problem. Well, it was worth a try, I guess. Sorry I can't help more.
> Regards,
> Georg Datterl
> -----Ursprüngliche Nachricht-----
> Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
> Still I don't understand...
> How do I do this.. I use eclipse for reading and writing and every thing.. I have edit plus too and I tried by setting file encoding in preference..
> Thanks
> SN


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: AW: Zero width space is displayed as junk character [â€] in PDF

by sudhir543-dev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,

<xsl:text>&#x20;</xsl:text> works for me too but not <xsl:text>&#x200B;</xsl:text>
 
I am using sans-serif fonts   <xsl:attribute name="font-family">sans-serif</xsl:attribute>

Any idea...

 
Thanks
SN

Personally I'm always ready to learn, although I do not always like being taught
 



From: Tobias van Treeck <tvtreeck@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 7:01:50 PM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Hi,

>And why would I need UTF-8 to store "&#x200B;"
you would need UTF-8 because the sign you are using is unicode....

did you set the following line in your xsl file?
<?xml version="1.0" encoding="UTF-8"?>

I also use for instance:
<xsl:text>&#x20;</xsl:text>

and it is working fine...
Regards,
ToM

2009/11/6 <sudhir543-dev@...>
Files is saved with UTF-8 .. that doesnt solve problem.. a
And why would I need UTF-8 to store "&#x200B;" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too


Thanks
SN
 
 
 

Personally I'm always ready to learn, although I do not always like being taught
 



From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (&#x200B; ) to the long string.. how ever Instead of breaking at zero width space.. it displays &#x200B; as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>   
    <xsl:choose>
        <xsl:when test="string-length($data) &lt; $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "&#x200B;")'/>   
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                           
        </xsl:otherwise>
    </xsl:choose>   
</xsl:template> 
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


Try the new Yahoo! India Homepage. Click here.



Add whatever you love to the Yahoo! India homepage. Try now!

Re: AW: Zero width space is displayed as junk character [â€] in PDF

by Tobias van Treeck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

several possibilities:

1.) try using: font-family="serif,Symbol" or font-family="Helvetica">
2.) Why do you still use that old FOP Version? Try upgrading...
3.) I tried the zero space character and for me it is working however i use FOP 0.95 and the default font which is Helvetica (ArialMT?)
4.) Try to load the font you are using: http://xmlgraphics.apache.org/fop/0.95/fonts.html

Regards,
ToM



2009/11/9 <sudhir543-dev@...>
Hi,

<xsl:text>&#x20;</xsl:text> works for me too but not <xsl:text>&#x200B;</xsl:text>
 
I am using sans-serif fonts   <xsl:attribute name="font-family">sans-serif</xsl:attribute>

Any idea...


 
Thanks
SN

Personally I'm always ready to learn, although I do not always like being taught
 



From: Tobias van Treeck <tvtreeck@...>Sent: Fri, 6 November, 2009 7:01:50 PM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Hi,

>And why would I need UTF-8 to store "&#x200B;"
you would need UTF-8 because the sign you are using is unicode....

did you set the following line in your xsl file?
<?xml version="1.0" encoding="UTF-8"?>

I also use for instance:
<xsl:text>&#x20;</xsl:text>

and it is working fine...
Regards,
ToM

2009/11/6 <sudhir543-dev@...>
Files is saved with UTF-8 .. that doesnt solve problem.. a
And why would I need UTF-8 to store "&#x200B;" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too


Thanks
SN
 
 
 

Personally I'm always ready to learn, although I do not always like being taught
 



From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (&#x200B; ) to the long string.. how ever Instead of breaking at zero width space.. it displays &#x200B; as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>   
    <xsl:choose>
        <xsl:when test="string-length($data) &lt; $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "&#x200B;")'/>   
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                           
        </xsl:otherwise>
    </xsl:choose>   
</xsl:template> 
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


Try the new Yahoo! India Homepage. Click here.



Add whatever you love to the Yahoo! India homepage. Try now!


Re: AW: Zero width space is displayed as junk character [â€] in PDF

by sudhir543-dev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Seems that it is the problem of font..

I am doing this on Windows XP.

I have attached the generated xml file here for review.

when I open this file in text editor with arial or any other font other than "Arial Unicode MS"
I see a junk character ​​like a cube in text file at the place of zero width space.. when I change the font to Arial Unicode MS.. the cube disappears

The lines which is creating problem is

<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Customer IO No.</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">NGT-LGT-15​8-01-IWCNG​T-LGT-158-​01-IWCNGT-​LGT-158-01​-IWCNGT-LG​T-158-01-I​WCNGT-LGT-​158-01-IWC​NGT-LGT-15​</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Customer PO No.</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">NGT-LGT-15​8-01-IWCNG​T-LGT-158-​01-IWCNGT-​LGT-158-01​-IWCNGT-LG​T-158-01-I​WCNGT-LGT-​158-01-IWC​NGT-LGT-15​</fo:block>
</fo:table-cell>
</fo:table-row> 


I have added zero width spaces to this line NGT-LGT-15​8-01-IWCNG​T-LGT-158-​01-IWCNGT-​LGT-158-01​-IWCNGT-LG​T-158-01-I​WCNGT-LGT-​158-01-IWC​NGT-LGT-15


Please look at generated xml file and the portion of resulting PDF which has junk characters

Thanks
SN
 
 

Personally I'm always ready to learn, although I do not always like being taught
 



From: Tobias van Treeck <tvtreeck@...>
To: fop-users@...
Sent: Mon, 9 November, 2009 4:24:45 PM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Hi,

several possibilities:

1.) try using: font-family="serif,Symbol" or font-family="Helvetica">
2.) Why do you still use that old FOP Version? Try upgrading...
3.) I tried the zero space character and for me it is working however i use FOP 0.95 and the default font which is Helvetica (ArialMT?)
4.) Try to load the font you are using: http://xmlgraphics.apache.org/fop/0.95/fonts.html

Regards,
ToM



2009/11/9 <sudhir543-dev@...>
Hi,

<xsl:text>&#x20;</xsl:text> works for me too but not <xsl:text>&#x200B;</xsl:text>
 
I am using sans-serif fonts   <xsl:attribute name="font-family">sans-serif</xsl:attribute>

Any idea...


 
Thanks
SN

Personally I'm always ready to learn, although I do not always like being taught
 



From: Tobias van Treeck <tvtreeck@...>Sent: Fri, 6 November, 2009 7:01:50 PM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Hi,

>And why would I need UTF-8 to store "&#x200B;"
you would need UTF-8 because the sign you are using is unicode....

did you set the following line in your xsl file?
<?xml version="1.0" encoding="UTF-8"?>

I also use for instance:
<xsl:text>&#x20;</xsl:text>

and it is working fine...
Regards,
ToM

2009/11/6 <sudhir543-dev@...>
Files is saved with UTF-8 .. that doesnt solve problem.. a
And why would I need UTF-8 to store "&#x200B;" other encoding would also handle it correctly.. I have no special characters in my xsl that may need UTF-8.
Any way.. it does not work with UTF-8 too


Thanks
SN
 
 
 

Personally I'm always ready to learn, although I do not always like being taught
 



From: Georg Datterl <georg.datterl@...>
To: fop-users@...
Sent: Fri, 6 November, 2009 4:04:35 PM
Subject: AW: Zero width space is displayed as junk character [â€] in PDF

Hi SN,

That's most likely an encoding problem. I have seen a similar effect with the latest trunk, if I open the fo file in XMLSpy. Have a look at your application and make sure it saves the fo file with the same encoding you use for reading. Preferably UTF-8, I guess.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                www.willmycc.de
-----Ursprüngliche Nachricht-----
Von: sudhir543-dev@... [mailto:sudhir543-dev@...]
Gesendet: Freitag, 6. November 2009 11:29
An: fop-users@...
Betreff: Zero width space is displayed as junk character [â€] in PDF

I am using fop 0.20.4.. I need to wrap content inside a block so I am adding zero width spaces (&#x200B; ) to the long string.. how ever Instead of breaking at zero width space.. it displays &#x200B; as a special character (â€) in PDF..

Here's my xsl code that adds zero width spaces as required


<xsl:template name="hyphenate">
    <xsl:param name="data" />
    <xsl:param name="limit" select="'10'"/>   
    <xsl:choose>
        <xsl:when test="string-length($data) &lt; $limit">
            <xsl:value-of  select="$data"/>
        </xsl:when>
        <xsl:otherwise>
            <xsl:variable name="part" select="substring($data, 1, $limit)"/>
            <xsl:variable name="remaining" select="substring($data, $limit+1)"/>
            <xsl:value-of select='concat($part, "&#x200B;")'/>   
            <xsl:call-template name="hyphenate">
                <xsl:with-param name="data" select="$remaining"/>
                <xsl:with-param name="limit" select="$limit"/>
            </xsl:call-template>                           
        </xsl:otherwise>
    </xsl:choose>   
</xsl:template> 
 

Any ideas why is it happening ?

Thanks
SN



Personally I'm always ready to learn, although I do not always like being taught

 


________________________________

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> .


Try the new Yahoo! India Homepage. Click here.



Add whatever you love to the Yahoo! India homepage. Try now!



Keep up with people you care about with Yahoo! India Mail. Learn how.
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:java="http://xml.apache.org/xslt/java">
<fo:layout-master-set>
<fo:simple-page-master margin-right=".75in" margin-left=".75in" margin-bottom=".4in" margin-top=".5in" page-width="18.5in" page-height="13in" master-name="first">
<fo:region-before region-name="first-header" extent="1.5in"/>
<fo:region-body margin-bottom=".4in" margin-top="1in"/>
<fo:region-after region-name="first-footer" extent=".30in"/>
</fo:simple-page-master>
<fo:simple-page-master margin-right=".75in" margin-left=".75in" margin-bottom=".4in" margin-top=".5in" page-width="18.5in" page-height="13in" master-name="rest">
<fo:region-before region-name="rest-header" extent="0in"/>
<fo:region-body margin-bottom=".4in" margin-top="0in"/>
<fo:region-after region-name="first-footer" extent=".30in"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="contents">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference page-position="first" master-reference="first"/>
<fo:conditional-page-master-reference page-position="rest" master-reference="rest"/>
<fo:conditional-page-master-reference master-reference="rest"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="contents">
<fo:static-content flow-name="first-header">
<fo:block color="black" line-height="14pt" font-family="sans-serif" font-size="10pt" text-align="start">
<fo:external-graphic align="left" src="http://www.solbright.net/images/logos/mtvn_logos.gif"/>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="rest-header"/>
<fo:static-content flow-name="first-footer">
<fo:block text-align="end" color="gray" font-family="sans-serif" font-size="9pt">MTV Networks Insertion Order 14662</fo:block>
<fo:block text-align="end" color="gray" font-family="sans-serif" font-size="9pt">Page <fo:page-number/> of <fo:page-number-citation ref-id="endofdoc"/>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="rest-footer">
<fo:block text-align="end" color="gray" font-family="sans-serif" font-size="9pt">MTV Networks Insertion Order 14662</fo:block>
<fo:block text-align="end" color="gray" font-family="sans-serif" font-size="9pt">Page <fo:page-number/> of <fo:page-number-citation ref-id="endofdoc"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:table>
<fo:table-column column-width="8.25in"/>
<fo:table-column column-width=".5in"/>
<fo:table-column column-width="8.25in"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:table>
<fo:table-column column-width="4in"/>
<fo:table-column column-width="4.25in"/>
<fo:table-body>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="2">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">Publisher</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Publisher Name</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">MTV Networks</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Telephone</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">212.258.6000</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Fax</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">212.846.1779</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Address</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">1515 Broadway   New York, NY 10036 </fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Created Time Stamp</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">11/03/2009</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Date IO Generated</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">11/09/2009</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-cell>
<fo:table-cell/>
<fo:table-cell>
<fo:table>
<fo:table-column column-width="4in"/>
<fo:table-column column-width="4.25in"/>
<fo:table-body>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="2">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">Account Executive</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Name</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Jeremy Delaplane</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Email</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Jeremy.Delaplane@...</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Telephone</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">310-752-8305</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Fax</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">x</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Address</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">2600 Colorado Avenue </fo:block>
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Santa Moncia, CA 90404 US</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:table>
<fo:table-column column-width="4in"/>
<fo:table-column column-width="4.25in"/>
<fo:table-body>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="2">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">Contract Info</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Advertiser</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">LIONS GATE FILMS</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Agency</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Initiative Media/lLA</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Contract</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">MTV_LGF_DAYBREAKERS</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Publisher IO No.</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="yellow" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">14662</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Version No.</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">1</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Customer IO No.</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">NGT-LGT-15​8-01-IWCNG​T-LGT-158-​01-IWCNGT-​LGT-158-01​-IWCNGT-LG​T-158-01-I​WCNGT-LGT-​158-01-IWC​NGT-LGT-15​</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Customer PO No.</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">NGT-LGT-15​8-01-IWCNG​T-LGT-158-​01-IWCNGT-​LGT-158-01​-IWCNGT-LG​T-158-01-I​WCNGT-LGT-​158-01-IWC​NGT-LGT-15​</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Primary Contact</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Andrew Corey </fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Email</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">andrew.corry@...</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Telephone</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left"></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Fax</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left"></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Address</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">5700 Wilshire Blvd Suite 400</fo:block>
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Los Angles , CA 90036 </fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-cell>
<fo:table-cell/>
<fo:table-cell space-before="20pt">
<fo:table>
<fo:table-column column-width="4in"/>
<fo:table-column column-width="4.25in"/>
<fo:table-body>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="2">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">Billing</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Bill To</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Initiative Media/lLA</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Frequency</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Monthly (Weighted)</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Basis</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Performance</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Data Source</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Publisher</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Billing Contact</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">STEFANIE  FREED</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Email</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left"></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Telephone</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">323-370-8129</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Fax</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left"></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-family="serif,Symbol" font-size="11pt" border-width="0pt">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Address</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width="1pt" border-color="white" text-align="center" background-color="#EEEEEE" padding-left="5pt">
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">5700 Wilshire Blvd Suite 400</fo:block>
<fo:block font-size="9pt" padding-left="3pt" font-weight="normal" space-after.optimum="1pt" space-before.optimum="1pt" text-align="left">Los Angeles, CA 90036 USA</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="2">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">MTV Networks Traffic and AdSpec Instructions</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="2">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">
<fo:basic-link external-destination="http://www.mtvi.com">
<fo:inline font-weight="bold">
                      www.mtvi.com
                    </fo:inline>
</fo:basic-link>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table keep-with-previous="always" space-before="2pt" border-style="solid" border-width="0pt">
<fo:table-column column-width="1in"/>
<fo:table-column column-width="1.5in"/>
<fo:table-column column-width="2.5in"/>
<fo:table-column column-width="2in"/>
<fo:table-column column-width="1.5in"/>
<fo:table-column column-width=".75in"/>
<fo:table-column column-width="2.25in"/>
<fo:table-column column-width="0.75in"/>
<fo:table-column column-width="1in"/>
<fo:table-column column-width="1in"/>
<fo:table-column column-width=".75in"/>
<fo:table-column column-width="1.25in"/>
<fo:table-column column-width=".75in"/>
<fo:table-body font-size="9pt">
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="13">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">MTV_LGF_DAYBREAKERS</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-with-previous="always" keep-with-next="always">
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Item#</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Site</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Name</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Section(s)</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Product</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Targeting</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">External Notes</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">MTVN To Make Creative</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Start</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">End</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Quantity</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Rate (Net CPM)</fo:block>
</fo:table-cell>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Net</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-together="always" space-after.optimum="0pt" space-before.optimum="0pt">
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">807</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV.com</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV_Twighlight/New Moon and Valmont Rotation_728x90 (Leaderboard)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">728x90 (Leaderboard)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"/>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">No</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/16/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/23/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">600,000</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">$9.00</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">$5,400.00</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-together="always" space-after.optimum="0pt" space-before.optimum="0pt">
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">821</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV.com</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV_Twighlight/New Moon and Valmont Rotation_300x250 (Rectangle)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">300x250 (Rectangle)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"/>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">No</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/16/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/23/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">317,500</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">$10.00</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">$3,175.00</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-together="always" space-after.optimum="0pt" space-before.optimum="0pt">
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">827</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV.com</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV_Twighlight/New Moon and Valmont Rotation_160x600 (Skyscraper)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">160x600 (Skyscraper)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"/>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">No</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/16/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/23/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">75,000</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">$11.00</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">$825.00</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-together="always" space-after.optimum="0pt" space-before.optimum="0pt">
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">892</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV.com</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV_Twighlight/New Moon and Valmont Rotation_640x480 (Video Unit)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">640x480 (Video Unit)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"/>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">No</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/16/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/23/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">200,000</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">$28.00</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">$5,600.00</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row keep-together="always" space-after.optimum="0pt" space-before.optimum="0pt">
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">897</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV.com</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">MTV_Twighlight/New Moon and Valmont Rotation_2000x300 (Video Companion Unit)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">2000x300 (Video Companion Unit)</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"></fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt"/>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">No</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/16/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">Monday 11/23/09</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">1</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">$0.00</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">$0.00</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid" number-columns-spanned="10">
<fo:block font-size="8pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Campaign Subtotal</fo:block>
</fo:table-cell>
<fo:table-cell border-color="white" background-color="#EEEEEE" border-width="1pt" border-style="solid" number-columns-spanned="3">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">$15,000.00</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table>
<fo:table-column column-width="14.25in"/>
<fo:table-column column-width=".75in"/>
<fo:table-column column-width="1.25in"/>
<fo:table-column column-width=".75in"/>
<fo:table-body>
<fo:table-row keep-together="always">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="9pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Total Guaranteed Impressions/Overall Net CPM/Total Net Investment</fo:block>
</fo:table-cell>
<fo:table-cell border-color="white" border-width=".5pt" background-color="#EEEEEE" border-style="solid">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">1,192,501</fo:block>
</fo:table-cell>
<fo:table-cell border-color="white" border-width=".5pt" background-color="#EEEEEE" border-style="solid">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">$12.58</fo:block>
</fo:table-cell>
<fo:table-cell border-color="white" border-width=".5pt" background-color="#EEEEEE" border-style="solid">
<fo:block font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">$15,000.00</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table>
<fo:table-column column-width="15in"/>
<fo:table-column column-width="2in"/>
<fo:table-body>
<fo:table-row keep-together="always">
<fo:table-cell display-align="center" padding-right="5pt" border-color="white" background-color="lightgray" border-width="1pt" border-style="solid">
<fo:block font-size="8pt" font-weight="bold" space-after.optimum="1pt" space-before.optimum="1pt" text-align="right">Total</fo:block>
</fo:table-cell>
<fo:table-cell border-color="white" border-width=".5pt" background-color="#EEEEEE" border-style="solid">
<fo:block text-align="right" font-size="9pt" space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">$15,000.00</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table>
<fo:table-column column-width="8.25in"/>
<fo:table-column column-width=".5in"/>
<fo:table-column column-width="8.25in"/>
<fo:table-body>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="3">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">Signatures</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-size="9pt">
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Publisher</fo:block>
</fo:table-cell>
<fo:table-cell background-color="white" border-style="solid" border-color="white" border-width="1pt"/>
<fo:table-cell background-color="lightgray" border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block text-align="left" start-indent="5pt" padding-after="1pt" padding-before="1pt" font-weight="bold" font-family="sans-serif" font-size="9pt">Customer</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-size="9pt">
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Print Name ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
<fo:table-cell/>
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Print Name ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-size="9pt">
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Signature ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
<fo:table-cell/>
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Signature ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-size="9pt">
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Date ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
<fo:table-cell/>
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Date ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table>
<fo:table-column column-width="8.25in"/>
<fo:table-column column-width=".5in"/>
<fo:table-column column-width="8.25in"/>
<fo:table-body>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="3">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">Credit Card Information</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-size="9pt">
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Credit Card No. ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
<fo:table-cell background-color="white" border-style="solid" border-color="white" border-width="1pt"/>
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Name on Card ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-size="9pt">
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Expiration Date ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
<fo:table-cell/>
<fo:table-cell line-height="20pt" background-color="#EEEEEE" border-style="solid" border-color="white" border-width=".5pt">
<fo:block space-after="1pt" space-before="10pt" text-align="right" start-indent="5pt">Signature ________________________________________________________________________________________________________</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table>
<fo:table-column column-width="17in"/>
<fo:table-body>
<fo:table-row keep-with-next="always">
<fo:table-cell border-style="solid" border-color="white" border-width="1pt" number-columns-spanned="1">
<fo:block space-before="10pt" text-align="left" color="white" padding-after="1pt" padding-before="1pt" background-color="#003399" start-indent="6pt" padding-left="5pt" font-weight="bold" font-family="sans-serif" font-size="11pt">Terms and Conditions</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row font-size="9pt">
<fo:table-cell border-style="solid" border-width=".5pt" border-color="white" background-color="#EEEEEE" number-columns-spanned="1">
<fo:block space-after.optimum="1pt" space-before.optimum="1pt" start-indent="5pt">See Attachment</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block id="endofdoc"/>
</fo:flow>
</fo:page-sequence>
</fo:root>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

pdf.gif (4K) Download Attachment

Re: AW: Zero width space is displayed as junk character [â€] in PDF

by Oscar Schoof :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
OMEGAM Laboratoria bv




I have added zero width spaces to this line NGT-LGT-15​8-01-IWCNG​T-LGT-158-​01-IWCNGT-​ LGT-158-01​-IWCNGT-LG​T-158-01-I​WCNGT-LGT-​158-01-IWC​NGT-LGT-15


Please look at generated xml file and the portion of resulting PDF which has junk characters


Hi SN,

when i let my fop 0.20.5 version do the rendering i get a lot of warnings but it renders your xml complete.
I see no junk characters, as can be seen in the attached image.
I also attached an image of the font-properties of the pdf, maybe that is of use to you.

Oscar






DISCLAIMER "Deze e-mail inclusief eventuele bijlagen, is vertrouwelijk en alleen bestemd voor geadresseerde. Mocht u dit bericht abusievelijk ontvangen, verzoeken wij u het bericht te vernietigen. Op al onze werkzaamheden zijn de Algemene Voorwaarden van Omegam Laboratoria van toepassing."

Omegam Laboratoria bv - Amsterdam - NL - KvK 34215654





---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

CustomerIOno.jpg (52K) Download Attachment
PDFproperties.jpg (144K) Download Attachment

Re: AW: Zero width space is displayed as junk character [â€] in PDF

by sudhir543-dev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanks you very much...

Then why doesn't it work for me.. When I see document property in Acrobat reader.. it shows me same fonts...
 

This is how I get bytes


        ByteArrayOutputStream stream = new ByteArrayOutputStream();
        StreamResult result = new StreamResult(stream);

       Source xmlSource = new JDOMSource(document);
       transformer.transform(xmlSource, result);

        ByteArrayOutputStream out = new ByteArrayOutputStream();
        Driver driver = new Driver(new InputSource(new StringReader(stream.toString())), out);
        driver.run();
        return out.toByteArray();
 

Thanks
SN

Personally I'm always ready to learn, although I do not always like being taught
 



From: Oscar Schoof <O.Schoof@...>
To: fop-users@...
Sent: Mon, 9 November, 2009 6:19:44 PM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF

OMEGAM Laboratoria bv




I have added zero width spaces to this line NGT-LGT-15​8-01-IWCNG​T-LGT-158-​01-IWCNGT-​ LGT-158-01​-IWCNGT-LG​T-158-01-I​WCNGT-LGT-​158-01-IWC​NGT-LGT-15


Please look at generated xml file and the portion of resulting PDF which has junk characters


Hi SN,

when i let my fop 0.20.5 version do the rendering i get a lot of warnings but it renders your xml complete.
I see no junk characters, as can be seen in the attached image.
I also attached an image of the font-properties of the pdf, maybe that is of use to you.

Oscar






DISCLAIMER "Deze e-mail inclusief eventuele bijlagen, is vertrouwelijk en alleen bestemd voor geadresseerde. Mocht u dit bericht abusievelijk ontvangen, verzoeken wij u het bericht te vernietigen. Op al onze werkzaamheden zijn de Algemene Voorwaarden van Omegam Laboratoria van toepassing."

Omegam Laboratoria bv - Amsterdam - NL - KvK 34215654


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Now, send attachments up to 25MB with Yahoo! India Mail. Learn how.

Re: AW: Zero width space is displayed as junk character [â€] in PDF

by Pascal Sancho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I don't think that using ByteArray is a good pratice for XML stream,
because you loose the codage information:
some characters may be encoded with 2 (or 3) bytes in utf-8, and after
conversion into Bytes, you get 2 (or 3) bytes...
after that, coming back to String conversion, you get a 2 (or 3) chars
length string, expalining what you get in your XML text file.

You should ensure that your XML streaming is not converted into Bytes at
any time.

Pascal

sudhir543-dev@... a écrit :

> Thanks you very much...
>
> Then why doesn't it work for me.. When I see document property in
> Acrobat reader.. it shows me same fonts...
>  
>
> This is how I get bytes
>
>
>         ByteArrayOutputStream stream = new ByteArrayOutputStream();
>         StreamResult result = new StreamResult(stream);
>
>        Source xmlSource = new JDOMSource(document);
>        transformer.transform(xmlSource, result);
>
>         ByteArrayOutputStream out = new ByteArrayOutputStream();
>         Driver driver = new Driver(new InputSource(new
> StringReader(stream.toString())), out);
>         driver.run();
>         return out.toByteArray();
>  
>
> *Thanks
> SN*


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...


Re: AW: Zero width space is displayed as junk character [â€] in PDF

by sudhir543-dev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

 Then what is the solutions in my case..
 

Personally I'm always ready to learn, although I do not always like being taught
 



From: Pascal Sancho <pascal.sancho@...>
To: "fop-users@..." <fop-users@...>
Sent: Mon, 9 November, 2009 9:23:07 PM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Hi,

I don't think that using ByteArray is a good pratice for XML stream, because you loose the codage information:
some characters may be encoded with 2 (or 3) bytes in utf-8, and after conversion into Bytes, you get 2 (or 3) bytes...
after that, coming back to String conversion, you get a 2 (or 3) chars length string, expalining what you get in your XML text file.

You should ensure that your XML streaming is not converted into Bytes at any time.

Pascal

sudhir543-dev@... a écrit :

> Thanks you very much...
>
> Then why doesn't it work for me.. When I see document property in Acrobat reader.. it shows me same fonts...

> This is how I get bytes
>
>
>        ByteArrayOutputStream stream = new ByteArrayOutputStream();
>        StreamResult result = new StreamResult(stream);
>
>        Source xmlSource = new JDOMSource(document);
>        transformer.transform(xmlSource, result);
>
>        ByteArrayOutputStream out = new ByteArrayOutputStream();
>        Driver driver = new Driver(new InputSource(new StringReader(stream.toString())), out);
>        driver.run();
>        return out.toByteArray();

> *Thanks
> SN*


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



From cricket scores to your friends. Try the Yahoo! India Homepage!

Re: AW: Zero width space is displayed as junk character [â€] in PDF

by sudhir543-dev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hurray... It worked for me..
 
I replaced  StringReader with input steam and it worked...
as pascal told.. StringReader was the culprit.. converting bytes to string lost UNICODE information..

Here's what I did


        ByteArrayOutputStream stream = new ByteArrayOutputStream();
        StreamResult result = new StreamResult(stream);
 
        Source xmlSource = new JDOMSource(document);
        transformer.transform(xmlSource, result);
 
         ByteArrayOutputStream out = new ByteArrayOutputStream();
         Driver driver = new Driver(new InputSource(new ByteArrayInputStream(stream.toByteArray()) ), out);
         driver.run();
         return out.toByteArray();
 
              And it worked..

Thanks Pascal, Thank you very much..

SN

Personally I'm always ready to learn, although I do not always like being taught
 



From: "sudhir543-dev@..." <sudhir543-dev@...>
To: fop-users@...
Sent: Tue, 10 November, 2009 11:40:25 AM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF


 Then what is the solutions in my case..
 

Personally I'm always ready to learn, although I do not always like being taught
 



From: Pascal Sancho <pascal.sancho@...>
To: "fop-users@..." <fop-users@...>
Sent: Mon, 9 November, 2009 9:23:07 PM
Subject: Re: AW: Zero width space is displayed as junk character [â€] in PDF

Hi,

I don't think that using ByteArray is a good pratice for XML stream, because you loose the codage information:
some characters may be encoded with 2 (or 3) bytes in utf-8, and after conversion into Bytes, you get 2 (or 3) bytes...
after that, coming back to String conversion, you get a 2 (or 3) chars length string, expalining what you get in your XML text file.

You should ensure that your XML streaming is not converted into Bytes at any time.

Pascal

sudhir543-dev@... a écrit :

> Thanks you very much...
>
> Then why doesn't it work for me.. When I see document property in Acrobat reader.. it shows me same fonts...

> This is how I get bytes
>
>
>        ByteArrayOutputStream stream = new ByteArrayOutputStream();
>        StreamResult result = new StreamResult(stream);
>
>        Source xmlSource = new JDOMSource(document);
>        transformer.transform(xmlSource, result);
>
>        ByteArrayOutputStream out = new ByteArrayOutputStream();
>        Driver driver = new Driver(new InputSource(new StringReader(stream.toString())), out);
>        driver.run();
>        return out.toByteArray();

> *Thanks
> SN*


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...



From cricket scores to your friends. Try the Yahoo! India Homepage!


Try the new Yahoo! India Homepage. Click here.