Disappearing text

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

Disappearing text

by Pranav Thakur :: 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.

Hello there,

 

We are using iText version 2.1.4 and some part (in between) of the text created using a Paragraph object is disappearing when the PDF is generated/shown in the browser. This is happening with all browsers and all resolutions.

 

Please find the attached PDF for reference. In this attachment the text “The Four E's to Effectively Working with Burned-Out Parents

(Module #1)” should be “The Four E's to Effectively Working with Resistant and Burned-Out Parents (Module #1)” (bolded part is missing).

 

Please let me know if there’s anything you need. Also, we are not able to reproduce this on our Staging server. It just occurs on production. We have double checked with the iText versions and java code and they are exactly the same.

 

Thanks in anticipation.

 

Regards,

Pranav Thakur

Extension #: 71189

Software Engineer - II

Cross Country Infotech Pvt. Ltd.

 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: Disappearing text

by Alexis Pigeon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Pranav Thakur

2009/10/20 Pranav Thakur <PThakur@...>

Hello there,

 

We are using iText version 2.1.4 and some part (in between) of the text created using a Paragraph object is disappearing when the PDF is generated/shown in the browser. This is happening with all browsers and all resolutions.

 

Please find the attached PDF for reference. In this attachment the text “The Four E's to Effectively Working with Burned-Out Parents

(Module #1)” should be “The Four E's to Effectively Working with Resistant and Burned-Out Parents (Module #1)” (bolded part is missing).

 

Please let me know if there’s anything you need. Also, we are not able to reproduce this on our Staging server. It just occurs on production. We have double checked with the iText versions and java code and they are exactly the same.

iText is open-source, you might check by yourself that nowhere in the code there's such a funcionality as "delete the string 'Resistant and' when used in production servers".

Since you say you double-checked that the executed java code is the very same in both servers, the only thing I could suggest is that you triple-check such an assertion. There *MUST* be a difference between the executed pieces of code, and that's totally not related to iText.

HTH,
alexis

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: Disappearing text

by Mark Storer-2 :: 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.
Apparently, this "disappearing" problem has expanded to encompass your entire file... ;)
 
The attachment didn't come through.

--Mark Storer
  Senior Software Engineer
  Cardiff.com

#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;

-----Original Message-----
From: Pranav Thakur [mailto:PThakur@...]
Sent: Tuesday, October 20, 2009 7:49 AM
To: itext-questions@...
Subject: [iText-questions] Disappearing text

Hello there,

 

We are using iText version 2.1.4 and some part (in between) of the text created using a Paragraph object is disappearing when the PDF is generated/shown in the browser. This is happening with all browsers and all resolutions.

 

Please find the attached PDF for reference. In this attachment the text “The Four E's to Effectively Working with Burned-Out Parents

(Module #1)” should be “The Four E's to Effectively Working with Resistant and Burned-Out Parents (Module #1)” (bolded part is missing).

 

Please let me know if there’s anything you need. Also, we are not able to reproduce this on our Staging server. It just occurs on production. We have double checked with the iText versions and java code and they are exactly the same.

 

Thanks in anticipation.

 

Regards,

Pranav Thakur

Extension #: 71189

Software Engineer - II

Cross Country Infotech Pvt. Ltd.

 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: Disappearing text

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexis Pigeon wrote:
> iText is open-source, you might check by yourself that nowhere in the
> code there's such a funcionality as "delete the string 'Resistant and'
> when used in production servers".

That would be an interesting feature ;-)
We might want to implement this to generate sales.

> Since you say you double-checked that the executed java code is the very
> same in both servers, the only thing I could suggest is that you
> triple-check such an assertion. There *MUST* be a difference between the
> executed pieces of code, and that's totally not related to iText.

The word "Resistant" comes from somewhere, maybe the data is
retrieved differently on both systems (different encoding of
the database, different data in the database,...).

The word "Resistant" needs some resources: a font program, or
at least a font metrics file. Maybe these resources are different
on both systems.

These are the most trivial guesses. They don't really apply to
a simple String such as "Resistant"; but as Alexis points out:
this doesn't sound as an iText problem. Something IS different.

The only time I experienced this kind of behavior personally,
was when somebody said the database in the production environment
was identical to the database on the development server. When
I checked, I saw that somebody else had been "testing" on the
production database (corrupting the data).
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/