cancel
Showing results for 
Search instead for 
Did you mean: 

CR2008 - Export to pdf, the word "Factura" is converted to "Factiura"

Former Member
0 Kudos

Hello.

I have a report with a label "Factura", when i preview the report all is right but if i try to export to pdf the word "Factura" becomes "Factiura".

If you copy the text "Factiura" and paste it on notepad, you see that the text is right ("Factura").

I think the problem is the creation of the pdf, there is any patch for CR2008 to fix this problem?

I'm using the font Calibri, 8.

Edited by: DCRCarvalho on Mar 10, 2009 6:20 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I'm still at the same issue, problems with exporting to .pdf in the character 't'.

Ok, the dll that i have in the machine were the exportation is faling has the following version: 12.1.0.835. (this machine has the lastest sp1 runtimes installed)

The one i have on my machine with the full version of crystal has the version: 12.1.3.1028.

I tried to replace the older with the newer ones, but that didn't fix it.

So I got tired and replaced the whole folder winx86 from the machine with the error with mine and.... like magic... it worked.

Can you tell me what are the dll's directly involved in the exportation besides the crxf_*.dll?

former_member183750
Active Contributor
0 Kudos

Interesting. The dll of version 12.1.0.835 is from SP1.

A dll of version 12.1.3.1028 looks like a Fix pack (FP 1.3)...

There is an MSI with FP 1.4:

https://smpdl.sap-ag.de/~sapidp/012002523100004610752009E/cr2008_fp14_ri.zip

MSM is here:

https://smpdl.sap-ag.de/~sapidp/012002523100004610922009E/cr2008_fp14_mm.zip

Those should get you a dll of version higher than 12.1.3.1028 and presumably the "fix" is propagated to FP 1.4

To answer your question;

crxf_pdf.dll is the format dll. ExportModeller.dll and crtslv.dll are the export engine. U2d*.dll are the dlls responsible for destination u2ddisk.dll, u2dmapi.dll, u2dapp.dll, etc, etc.

Ludek

Former Member
0 Kudos

Ok, I finally found the problem.

The dll usp10.dll which is being distributed by Microsoft to C:\Windows\System32 is in a higher version than the one used by Crystal and also distributed by Crystal Reports full version (it isn't distributed by the run times).

The version that Windows distributes is 1.626.6001.18000.

The one that is being distributed by Crystal is at the version 1.422.3790.1830.

Hope this helps you guys out.

Former Member
0 Kudos

Hi,

Another possible solution to resolve this issue is to Add the Support For East Asian Languages in Regional and Language Options of The Control Panel .

We were having this error for about two months, and tryng all posible solutions without resolve this issue, until we check this option in Regional and Languages Options and Voilá, Issue Resolved.

I hope this help when the others possible solutions not works.

Regards.

koflako

Answers (2)

Answers (2)

former_member183750
Active Contributor
0 Kudos

Please note:

This forum is dedicated to topics related to custom application development or deployment with Crystal Reports in .Net. This includes full versions of Crystal Reports as well as those versions of Crystal Reports bundled with Microsoft Visual Studio .Net.

Are you seeing the issue in the CR designer or at runtime? If in the designer, please post your query to the Crystal Reports Design forum:

if this is in a runtime application, see the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]

Step 2 Asking Your Question; Provide Enough Information

E.g.; you are not providing enough information. For startes, version of CR used and if any SPs have been applied would be good to have...

Ludek

Former Member
0 Kudos

I'm using Crystal Reports 2008 with SP1. Letter calibri.

The problem: In runtime, some words appear wrong when i preview the report and then i export to pdf (Ex. "Factura" -> "Factiura"; "to" -> "tio").

Question: What can i do to fix this error? There is any patch to fix this problem?

Former Member
0 Kudos

Hi,

I'm also using Crystal Reports 2008 SP1.

My application is developed under VB.NET using Crystal .NET assemblies.

This error only happens in the runtime CRViewer export. Any other export works fine except for pdf.

In designer, it export correctly to pdf with the same letter (if I export the report execution to .rpt and open it with the designer and export from there to pdf it export correctly).

Btw, I also notice that the export wizard from the CRViewer and from the designer are different. In the designer it uses the old export wizard.

former_member183750
Active Contributor
0 Kudos

I'm quite sure the font is not the issue - should not be as the framework supports OT fonts. I'd like to test the issue here, but I need to know;

Are these web or win apps?

Is this in a text field or a database field?

Ludek

Former Member
0 Kudos

It's a windows application.

I tried the to ways, read the field from one database and with a text field, the behavior is the same.

Note: If you copy and past the text to notepad, the text assumes the right format.

former_member183750
Active Contributor
0 Kudos

Ok. Stand by. I should have time to test this later today.

Ludek

former_member183750
Active Contributor
0 Kudos

Ok, guys. I've tested this and I can not reproduce the issue.

here is what I did:

Create a report with only a text field on it. The text is as: Factura, to.

I used CR 2008 SP 0 and SP 1. I used VS .NET 2008. I used Adobe 5 and Adobe 9. I exported to PDF from the win viewer and using code. All's well.

Every time I get the correct string. So, you'll have to help me out. How do I reproduce the issue? What is the exact version of CR you are using (go to Help | About). What version of .NET are you using? Can you send me the exact text string you are using? Any other unusual variables (Remember I am using what is usual for NA...)?

Ludek

Former Member
0 Kudos

I have Crystal Reports 2008 SP1 version (from the crystal designer): 12.1.0.892

From the registry:

- ActiveXViewer version is: 12.1.0.883 (ActiveXPluginType: application/x-crreportviewer-plugin;version=12.0.0.0)

- Crystal Reports version is: 12.1.0.883

I have installed also Crystal Reports for Visual Studio 2008 and Crystal Reports for Visual Studio 2008 SP1.

I vahe also installed Crystal Reports XI .Release 2, NET and RDC SP3

My crystal application is developed under Visual Studio 2008 with the .NET 3.5 SP1 (in Visual Basic).

My CrystalDecisions.Windows.Forms reference version is:

- Runtime version: v2.0.50727

- Version: 12.0.2000.0

Operating system: Windows Vista Business SP1 (altough it also happens under windows XP)

Regional settings: Portugal (Portugal)

Don't know if you need more information.

Thanks for your time Ludek.

former_member183750
Active Contributor
0 Kudos

Can you send me the actual string you are using?

Ludek

Former Member
0 Kudos

Sorry, I forgot that.

Here is a sample string: Viewer: "Toy Story Text" => Export to pdf: "Toy stiory Texti".

Here is a [sample image|http://picasaweb.google.pt/lh/photo/SmlJ0zQIDmHOENGR53kUhw?feat=directlink].

It happens to every string that has a 't'. The letter 't' is exported has a 'ti'.

Former Member
0 Kudos

Hello.

I'm using the same versions for development, but I tried to read the pdf with acrobat reader 5, 8 and 10.

I checked if it was a acrobat problem installing other program to read pdf (eXPert PDF Reader) but the text still wrong.

Tanks for your help Ludek.

Former Member
0 Kudos

Hi,

I tried the same in CR2008 sp1 and VS2005, windows application. The text "Toy Story Text" shows properly when exported from CR2008 designer and application in pdf (v- 7,8,9).

Just to test have you tried creating a blank report with just a text object and the text in it? How does it behave?

Can you try re-registering a fresh font once again?

Thanks.

AG.

Edited by: AG on Mar 13, 2009 8:41 PM

former_member183750
Active Contributor
0 Kudos

Just a clarification on this:

Operating system: Windows Vista Business SP1 (although it also happens under windows XP)

Regional settings: Portugal (Portugal)

Is the OS Portuguese, or is it English with the Region set to Portugal?

Ludek

Former Member
0 Kudos

I've a vista english OS with regional settings to Portugal.

I'm woundering if it can be from the version of calibri I have (maybe it is corrupted).

I'm going to check this now.

former_member183750
Active Contributor
0 Kudos

OK. I've got an XP available right now and I'll test there. I'll have load up Vista and test there, but let me know what you find out too.

Ludek

former_member183750
Active Contributor
0 Kudos

Well, I don't have good news. The report I created with the Calibri font works fine on my XP. I set the XP to Portuguese (Portugal) in Regional and Language settings and the font comes up as expected. Googling "calibri font" I notice there are a number of places the font can be downloaded from and this makes me wonder if the issue is related to that. Note that there is also calibri for Vista and calibri for XP.

OK, maybe we can try these two tests:

1) Open the report in the CR designer, go to the file menu and select Page setup. Enable the "No Printer" option. Save the report and see if that helps.

2) Double check that the exported PDF still has the font as calibri (e.g.; no other font was substituted on export to pdf).

Other than that, I'm not sure what else / how else to test / reproduce this.

Ludek

Former Member
0 Kudos

Hi Ludek,

Sorry for this delay.

In my case, i'm using Vista in English with the Region set to Portugal.

To simulate try this:

1. New report

2. Create a new Formula with the name Test with the string "ti", and add it to the report

3. Add a text field, for example "toy story"

4. Add a new text filed equals last step but in bold

5. Change the font to Calibri 10

6. Preview the report and export for pdf.

7. Change the Formula Test to "t"

8. Preview the report and export for pdf.

Result:

In step 6, the text in bold and regular is "tioy stiory"

In step 8, the text in bold is "tioy stiory", and in regular "toy story"

Sample:

<a href="http://www.dcrcarvalho.com/teste.zip" target="_blank">Download</a>

I hope this help.

former_member183750
Active Contributor
0 Kudos

No luck. Can not reproduce the issue. BTW, the report you sent has only 'T' and 't' for all strings. I assumed you wanted me to finish the strings with 'toy story'(?).

Something worth trying will be to compare the dlls we're loading. Download the modules utility from here:

https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip

and create a log file as follows:

Run your app, export the report, leave the app running. Start modules, go to the File menu and select New List -> Memory modules. Save the file as test.mdl and send that to me as you did the rpt file in the previous post.

I'll compare your log to mine and see if anything jumps out...

Ludek

Former Member
0 Kudos

Hi Ludek,

If you put the formula with "ti" all words that have letter "t" will change to "ti" when exported to pdf.

If formula as "t" all words will be right exported.

<a href="http://www.dcrcarvalho.com/ReportProblem.zip">Download</a>

Edited by: DCRCarvalho on Mar 17, 2009 8:19 PM

former_member183750
Active Contributor
0 Kudos

Nope. I see from the screen shots the issue, but I can not reproduce it here. Modules does show that you are using slightly older CR dlls than I am, so getting those updated should be the 1st thing to do. SP 1 for CR 12008, should give you version 21.1.0.892 of the crw32.exe and crpe32.dll should have version 12.1.0.882 (your crpe32.dll is 12.1.0.835).

Other than that, if you change the localization to EN, do you still see the issue, or is it only after you go to Portuguese localization?

Oh, SP 1 is here:

https://smpdl.sap-ag.de/~sapidp/012002523100010503722008E/cr2008_sp1.exe

There is even a latter fix pack, (FT 1.3) and you can try that too - after you apply SP 1:

https://smpdl.sap-ag.de/~sapidp/012002523100002856442009E/cr2008sp1_fp13.exe

One more thing. Just double checking; is calibri the only font with the issue?

Ludek

Former Member
0 Kudos

Hi Ludek,

Sorry for the long time to reply to this thread but I've been schedule to take care of others matters.

I've installed the latest Fix Pack as you mentioned and now it works great. I can export the same report to pdf without having the annoying "i" after the "t". Probably some error in crystal export engine that was fixed.

Thanks alot for your help and time!

Former Member
0 Kudos

I have one question: How do I deploy this fix patch?

I mean, there was a resdistributable version of CR 2008: Crystal Reports 2008 Service Pack 1 - Redist Install

But I can't install the fix patch on a machine that has only the CR2008 runtimes.

Do I need to find which files i need and deploy them one by one? Or is there a way to deploy this package in a machine with only the runtimes ?

Former Member
0 Kudos

Hi again,

After doing the tests with only the CR Runtimes setup this problem isn't still fixed.

Although, in my machine it is fixed (I have the full CR install), in machines with only the SP1 runtimes it still doesn't work correctly and exports the 't' to 'ti'.

Could you check it over a machine with only the SP1 runtimes if you can reproduce it?

Former Member
0 Kudos

Ludek,

Can you tell me what is the dll that does the exportation to .pdf?

former_member183750
Active Contributor
0 Kudos

All the export type dlls start with crxf. So PDF would be crxf_pdf.dll, XLS would be crxf_XLS.dll, etc.

BTW., if you're working on a new issue, please create a new thread - just an FYI

Ludek

Former Member
0 Kudos

Hi,

I have exactly the same problem with this font while exporting to pdf.

If I print it to a PDF writer printer it prints out correctly.

Is this because the font isn't a TrueType but OpenType?

Is there any solution for this besides changing the font?