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

Add font information to PdfReader instance #153

Closed
tiarno opened this issue Nov 21, 2014 · 4 comments · Fixed by #1083
Closed

Add font information to PdfReader instance #153

tiarno opened this issue Nov 21, 2014 · 4 comments · Fixed by #1083
Labels
is-feature A feature request

Comments

@tiarno
Copy link

tiarno commented Nov 21, 2014

It would be a nice enhancement to include information on what fonts are contained in a pdf and whether or not they are embedded. I believe I have the code that does it, but after looking over the code base, there is probably a smarter way to go about it.

Here is a gist link:
https://gist.github.com/tiarno/8a2995e70cee42f01e79

@LizaKoz
Copy link

LizaKoz commented Dec 10, 2018

Hi, this is a very cool enhancement! is it possible anyhow to get a text which is bold? thank u!

@MartinThoma MartinThoma added the is-feature A feature request label Apr 8, 2022
@MartinThoma MartinThoma changed the title Add font information to PdfFileReader instance Add font information to PdfReader instance Jun 18, 2022
MartinThoma added a commit that referenced this issue Jul 9, 2022
MartinThoma added a commit that referenced this issue Jul 9, 2022
MartinThoma added a commit that referenced this issue Jul 10, 2022
Add possibility to get names of fonts

See #153

Co-authored-by: tiarno <[email protected]>
@MartinThoma
Copy link
Member

I've added PageObject._get_fonts(). I will leave it private (the leading underscore) for the moment as I first want to see if/how people use it.

Please leave a comment / a 👍 if you use it :-)

@vnmabus
Copy link

vnmabus commented Oct 2, 2024

Will this be converted to a public method or function at some point?

@stefan6419846
Copy link
Collaborator

I am not aware of any recent requests for it, thus this probably never changed. You are of course invited to propose a corresponding PR if there is indeed more interest in this being publicly available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-feature A feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants