MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / CheckFontInfo

Function CheckFontInfo

src/__init__.py:22043–22048  ·  view source on GitHub ↗

Return a font info if present in the document.

(doc: Document, xref: int)

Source from the content-addressed store, hash-verified

22041
22042
22043def CheckFontInfo(doc: Document, xref: int) -> list:
22044 """Return a font info if present in the document.
22045 """
22046 for f in doc.FontInfos:
22047 if xref == f[0]:
22048 return f
22049
22050
22051def CheckMarkerArg(quads: typing.Any) -> tuple:

Callers 7

get_char_widthsMethod · 0.85
insert_fontMethod · 0.85
insert_textMethod · 0.85
insert_textboxMethod · 0.85
get_char_widthsFunction · 0.85
insert_textMethod · 0.85
insert_textboxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…