Skip to content

How to know if a font is embedded font or system font? #2602

@moliqingwa

Description

@moliqingwa

Is your feature request related to a problem? Please describe.

doc = fitz.open(filename=file_path, stream=stream, filetype='pdf')

fonts = []
for page_no in range(doc.page_count):
    font_ans = doc.get_page_fonts(page_no, full=True)
    # we need a way to check the font is embedded or system font ???

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
Are there several options for how your request could be met?

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions