Skip to content

Contents of the attached PDF are not rendered using PdfRenderer in Android versions below 8.0 #1485

Closed

Description

@NavaneethS

Steps to Reproduce

  1. Run the attached replication sample in Android versions 6 or 7. The sample uses Android.Graphics.PDF.PdfRenderer to convert the first page of the PDF to image and display it on an ImageView.

  2. Compare the rendering of the contents with the PDF as viewed in Adobe Reader or the same sample in Android 8.

SimplePdfRenderer1.zip

Expected Behavior

The contents of the first page fully rendered. Please refer the below image.

expectedoutput

Actual Behavior

The contents of the first page not fully rendered. Please refer the below image.

actualoutput

Version Information

Correct behavior: Android 8
Incorrect behavior: Android 6 and Android 7
Devices tested in: Samsung Galaxy Tab A (Android 6), Moto G5S(Android 7) and Google Pixel XL(Android 8)

Log File

Activity

  1. atsushieno commented on Mar 28, 2018

    @atsushieno
    Contributor

    Sounds like an upstream issue. https://issuetracker.google.com/issues/37105160

    "If you need to support for < O (and who doesn't?), you have to use a unbundled party pdf library such as pdfium."

  2. ghost locked as resolved and limited conversation to collaborators on Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions