We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem displaying text using PdfTrueTypeFont in PdfLightTable

Thread ID:

Created:

Updated:

Platform:

Replies:

123670 Apr 8,2016 02:18 PM UTC Apr 14,2016 08:58 AM UTC Silverlight 5
loading
Tags: PDF
Kyrill
Asked On April 8, 2016 02:18 PM UTC

Hi,

I'm using a PdfLightTable to display text in a table.
I used PdfStandardFont but I had to change to PdfTrueTypeFont to support unicode characters.

When I used PdfStandardFont, the text fitted nicely in the table cells, but now with PdfTrueTypeFont it goes beyond the bottom of the cells when several lines are displayed, and the last lines of a cell are displayed over the next cell.

Do I have to set each cell's MinimalHeight depending on the text it contains, or is there something else I'm missing ?

Thank you.

Chinnu Muniyappan [Syncfusion]
Replied On April 11, 2016 12:40 PM UTC

Hi Kyrill,

We are not able to reproduce the issue and we have created a simple sample which we have tried in our side. Could you please modified this sample to reproduce the issue, it will be more helpful for us to investigate further in this.

Sample link:
http://www.syncfusion.com/downloads/support/forum/123670/ze/PdfLightTableSample690861602

Regards,
Chinnu

Kyrill
Replied On April 11, 2016 02:06 PM UTC

Hi Chinnu,

Sorry I should have specified that I'm working on a Xamarin.iOS project, and I'm loading fonts from .ttf files.

I made changes to the Form1.cs in the sample project, please tell me if it helps you reproduce the problem. I couldn't test this sample project as I only have Xamarin Studio.

Also, I noticed the problem only happens on device (iPad Air 2, iOS 9) and not in the iOS Simulator (also iPad, iOS 9).

Thanks for your help.

Kyrill

Attachment: PdfLightTableSample_edited_c110778b.zip

Chinnu Muniyappan [Syncfusion]
Replied On April 12, 2016 01:13 PM UTC

Hi Kyrill,
We have created a sample and tested with ipad it was working fine. Can you please check the below sample for your environment and let us know the details; Meanwhile we are trying with different devices.
Sample link;
http://www.syncfusion.com/downloads/support/forum/123670/ze/PdfTableCreation-2045597184

Regards,
Chinnu

Kyrill
Replied On April 13, 2016 09:18 AM UTC

Hi,

I changed your code to reproduce the problem, this time it happens also on the simulator...
Maybe it has something to do with the font used ? I noticed the problem by using Helvetica and Courier.

Thanks for your help.

Kyrill

Attachment: PdfTableCreation_Updated_Code_a4c6037.zip

Chinnu Muniyappan [Syncfusion]
Replied On April 14, 2016 08:58 AM UTC

Hi Kyrill,


We were able to reproduce the problem and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents 


Please let me know if you have any questions.


Regards,
Chinnu


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;