on 2018 Apr 10 3:33 PM
We are generating 145,112 PDFs using Crystal Reports in a multi-threaded loop.
After generating about 826 PDFs, our application will crash.
We have isolated the issue to a combination of Thai characters being printed into the report and using the PSL Kittithada Pro font.
Is there some sort of Thai multi-language support required when using Crystal Reports?
Request clarification before answering.
I changed the Tag to CR for VS and then CR Designer.
What version of CR for VS are you using? Look in Programs and Feature, version should be something like this: 13.0.22.xxxx
You can get the latest from here:
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
What may help is moving to SP 22, it uses an updated version of usp10.dll which if there are issues in the previous version it may be fixed.
When updating you must read the SP 21 info to update your project references etc.
Second problem/question is CR only supports TTF type font, if your font is not that then test with a ttf version of that font.
Open the report in CR Designer and click on View, Preferred Viewing Locale, and then More.... Scroll down and you should see Thai.
Set that, then right click on one of the fields and select the True Type Font.
Now preview the report multiple times and see it it works consistently.
I believe it's the font causing the memory issue, try a different font and see if it still has a memory issue in your app.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm using CR for VS version 13.0.9.1312.
I've also attached screenshots of the font. It does look like it is a True Type Font, doesn't it?
User | Count |
---|---|
45 | |
9 | |
9 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.