Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User friendly Text Adding #22

Open
jamie-lemon opened this issue Feb 23, 2024 · 1 comment
Open

User friendly Text Adding #22

jamie-lemon opened this issue Feb 23, 2024 · 1 comment

Comments

@jamie-lemon
Copy link
Collaborator

Right now when we add text it is like: "BT /Helv 12 Tf 100 100 Td (MuPDF!)Tj ET" in a content stream

Let's make a higher level API in lib/tasks.js to make this easier for the developer.

Suggest we look at: https://pymupdf.readthedocs.io/en/latest/page.html#Page.insert_text and https://pymupdf.readthedocs.io/en/latest/page.html#Page.insert_textbox and do something similar.

@jamie-lemon
Copy link
Collaborator Author

Depends on Issue #24 being implemented first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant