Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion� and appreciate your understanding.

Arab Words in Report export to pdf

hi thank you for your fast answer , I used method that u say yesterday in arabe but when i export to pdf looks like this and i heard you resolve this issue in new version

https://ibb.co/gfkVM9



Attachment: ReportsTest_8b6a6e77.rar

9 Replies

VS Vinoth Srinivasan Syncfusion Team October 15, 2018 05:58 AM UTC

Hi Ahmed, 

We have validated your shared sample and we found that there is a spelling mistake for the textbox “Clientlabel” , you have specified as “Clientlable” in your application. So, the visibility is applied as “True” due to mismatch in textbox name. We have modified your sample based on this and now the report has been exported properly. Please find the modified sample from the below location. 


If this is not your problem then could you please update us with additional information regarding your problem. 

Regards, 
Vinoth S. 



UN Unknown Syncfusion Team October 15, 2018 08:22 AM UTC

Hi My problem is not in Text Visibility my problem is in Arabic export to pdf  report can't export arabe language in pdf As I show you in my image I hope you solve this issue


MM Mageshyadav M Syncfusion Team October 16, 2018 05:22 PM UTC

Hi Ahmed, 
 
In our WPF ReportViewer, we need to embed the Unicode font (TTF) file using PDFOptions.Fonts to apply fonts when exporting to PDF format as shown in below code snippet. 
 
Assembly assembly = typeof(MainWindow).GetTypeInfo().Assembly; 
            var resourceName = "ReportsTest.fonts.font_islamic.ttf"; 
 
            if (this.reportViewer.PDFOptions == null) 
            { 
                this.reportViewer.PDFOptions = new Syncfusion.ReportWriter.PDFOptions(); 
            } 
 
            if (this.reportViewer.PDFOptions.Fonts == null) 
            { 
                this.reportViewer.PDFOptions.Fonts = new Dictionary<string, Stream>(StringComparer.OrdinalIgnoreCase); 
            } 
 
            this.reportViewer.PDFOptions.Fonts.Add("font islamic", Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName)); 
 
 
 
Also TTF file included in your application should be attached with Build Action as Embedded Resource and Copy To Output Directory as Copy Always as shown below 
 
 
 
Please refer the below steps to install the TTF file and set the respective Unicode font for textbox during design. For example we are using the islamic TTF file for exporting the reports to PDF with Arabic value. 
 
  1. Install the below attached font file in your computer.
 
  1. Change the font name for reports using report designer as shown below,
 
 
 
  1. Run the ReportViewer sample.
 
  1. Export to PDF option.
 
  1. Please find the output using the islamic font.
 
 
 
We have prepared the sample and it can be downloaded from below location. 
 
Note: You can use your Font TTF file to load your expected font while exporting to PDF 
 
If your expectation is different, please let us know additional details to assist you further. 
 
Regards, 
Mageshyadav.M 



UN Unknown Syncfusion Team October 16, 2018 09:40 PM UTC

hi thank you , I didn't understand where did you find buid action  I want to use it in textboxe fields like in image and second could I use any font since I make it embed in report designer platform 
https://ibb.co/cWME5f
https://ibb.co/b0cXrL


MM Mageshyadav M Syncfusion Team October 17, 2018 01:19 PM UTC

Hi Ahmed, 
 
Please find the response for your queries. 
 
Query 
Response 
hi thank you , I didn't understand where did you find buid action  
If you open the modified application which we shared in previous update. 
 
You can find the TTF file which we have embedded for your reference. 
 
 
 
Then right click the TTF file to load its properties where you can find the Build Action properties which we mentioned in previous update. 
I want to use it in textboxe fields like in image 
Please follow the steps provided in previous update to install the TTF file in your system to reflect the font in Report Designer and choose the font for textbox fields. 
second could I use any font since I make it embed in report designer platform  
Yes, you can embed any font TTF but the font name should be same which you provide in PDFOptions and font family for textbox while designing which has been highlighted in blue for reference 
 
 
 
Please let us know in case of any further clarifications needed. 
 
Regards, 
Mageshyadav.M 



UN Unknown Syncfusion Team October 17, 2018 04:25 PM UTC


I didd Like you said And I used Arial Fonts is know That font used for both  Arab and English ,add build action and did everything you said in report viewer everything worked well and you can read arab words when export to pdf everything changes pls take look to images below thank you and waiting your help 

https://ibb.co/h2d5D0
https://ibb.co/gjUvD0
https://ibb.co/bB21Lf
https://ibb.co/icXqD0


MM Mageshyadav M Syncfusion Team October 18, 2018 10:37 AM UTC

Hi Ahmed, 
  
We are unable to reproduce the issue on our side hence we would like to have a web meeting to check and resolve the issue on your side. We have created a new incident under your account to share the meeting link. Please log on to our support website to check for further updates. 
  
Regards, 
Mageshyadav.M 



UN Unknown Syncfusion Team October 18, 2018 06:44 PM UTC

Thank you I hope that you find solution in fast time coz I needed in days so I hope you could help me .... it's bad luck that's arab language not supported here since almost users here is in middle east and north africa use syncfusion platform .... thank you and I am waiting 


MM Mageshyadav M Syncfusion Team October 19, 2018 09:34 AM UTC

Hi Ahmed, 
  
We requested your web meeting availability in the incident created under your account to check the problem on your side. Since the TTF file with which we test renders properly hence we need a web session to debug the issue in your machine and provide proper solution. 
  
Regards, 
Mageshyadav.M 


Loader.
Up arrow icon