Skip to content

Control which PDF objects are rendered (text, images, etc.) and how they are drawn #574

@G705-Ghilan

Description

@G705-Ghilan

Hi, first of all, thank you for the great work on the pdfrx library
it’s amazing PDF viewer

We’re developing an app that uses pdfrx to display PDF pages, and we’ve reached a point where we need more control over what PDF objects are rendered and how they are drawn.

Specifically, we’re looking for answers to the following use cases:

  1. Selective rendering of PDF objects
    For example, is it possible to disable rendering of text objects entirely, while still rendering images and other PDF elements? In other words, we’d like to show the visual content (images, shapes, etc.) but hide all text.

  2. Custom text rendering / interactivity
    Another use case is rendering PDF text as Flutter widgets instead of being flattened into the rendered page image. This will enable more interactivity with text

Are these kinds of customizations supported by pdfrx today?
If not, are they theoretically possible with the current architecture ?

Any guidance, limitations, or recommended approaches would be greatly appreciated

Thanks again for your work on pdfrx :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions