Bug 59548 - PdfRenderer of Android does not render some fonts present in the PDF document in Android API 23
Summary: PdfRenderer of Android does not render some fonts present in the PDF document...
Status: REOPENED
Alias: None
Product: Android
Classification: Xamarin
Component: General (show other bugs)
Version: 5.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2017-09-18 08:34 UTC by Balasubramanian
Modified: 2018-04-26 12:15 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Reproducing sample (1.32 MB, application/x-zip-compressed)
2018-03-22 15:27 UTC, Balasubramanian
Details
Actual output (169.37 KB, image/jpeg)
2018-03-22 15:32 UTC, Balasubramanian
Details
ExpectedOutput (295.73 KB, image/png)
2018-03-22 15:33 UTC, Balasubramanian
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 59548 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
REOPENED

Description Balasubramanian 2017-09-18 08:34:38 UTC
Hi Support,

PDF document in the following link cannot render the text properly.

http://www.megatrax.co.za/wp-content/uploads/2016/03/Roundup-Turbo-label.pdf

We have used Android.Graphics.Pdf.PdfRenderer Class to render pages from PDF document. It does not render some text present in the PDF document in Android 6.0.

Can you please look in to this issue and provide me the solution?

Regards,
Bala
Comment 1 Jon Douglas [MSFT] 2017-09-18 14:51:42 UTC
Hello there and thank you for your report.

Can you please look over our bugzilla writing guide and provide the appropriate sections?

https://bugzilla.xamarin.com/page.cgi?id=bug-writing.html

Specifically we need the following:

- Overview of the problem
- Steps to reproduce the problem / reproduction project
- Actual Results
- Expected Results
- Version Information

If this is rather asking for support for how code should work, please see our support options guide which will help you ask this on the proper location:

https://developer.xamarin.com/guides/cross-platform/troubleshooting/support-options/
Comment 2 Balasubramanian 2017-10-05 05:35:54 UTC
Hi Jon,

Some text elements are not rendered properly in PdfRenderer while loading the attached PDF document. 


http://www.megatrax.co.za/wp-content/uploads/2016/03/Roundup-Turbo-label.pdf

We could reproduce this issue in Android 6.0 API level 23. Please find the attached screenshots which explains the expected and actual results.


Expected: http://www.syncfusion.com/downloads/support/directtrac/general/ze/Expected-1801219359

Actual:
http://www.syncfusion.com/downloads/support/directtrac/general/ze/Actual1424161120


Kindly look into this issue and let me know the solution for the same.

Thanks,
Bala
Comment 3 Jon Douglas [MSFT] 2017-10-05 14:55:38 UTC
(In reply to Balasubramanian from comment #2)
> Hi Jon,
> 
> Some text elements are not rendered properly in PdfRenderer while loading
> the attached PDF document. 
> 
> 
> http://www.megatrax.co.za/wp-content/uploads/2016/03/Roundup-Turbo-label.pdf
> 
> We could reproduce this issue in Android 6.0 API level 23. Please find the
> attached screenshots which explains the expected and actual results.
> 
> 
> Expected:
> http://www.syncfusion.com/downloads/support/directtrac/general/ze/Expected-
> 1801219359
> 
> Actual:
> http://www.syncfusion.com/downloads/support/directtrac/general/ze/
> Actual1424161120
> 
> 
> Kindly look into this issue and let me know the solution for the same.
> 
> Thanks,
> Bala

As mentioned prior, we need the following information:

- Overview of the problem
- Steps to reproduce the problem / reproduction project
- Actual Results
- Expected Results
- Version Information

Without a reproduction project that demonstrates this issue, we cannot look into this issue further until provided one.

Additionally please include the devices/emulators that you are testing this with.
Comment 4 Balasubramanian 2018-03-22 15:27:33 UTC
Created attachment 26225 [details]
Reproducing sample
Comment 5 Balasubramanian 2018-03-22 15:32:33 UTC
Created attachment 26226 [details]
Actual output
Comment 6 Balasubramanian 2018-03-22 15:33:21 UTC
Created attachment 26227 [details]
ExpectedOutput
Comment 7 Balasubramanian 2018-03-22 15:38:48 UTC
Hi Jon,

Please find the requested details from below,

Steps to reproduce the problem / reproduction projec:

We have attached the reproducing sample named “ReproducingSample.zip” in the attachment. 

Steps to reproduce:

1) Run the attached sample
2) Text contents are not visible.

Actual and Expected Results:

  I have attached the actual and expected output in the attachment for your reference.

Version Information:

Android 6.0 
API level 23
Emulator & Device : Occurs in all the devices. We have tested with Samsung Galaxy tab A, Google Pixel XL, Moto G