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

Function find_buffer_by_name

src_classic/utils.py:5397–5402  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

5395 return None
5396
5397 def find_buffer_by_name(name):
5398 for buffer in font_buffers.keys():
5399 name_set, _, _ = font_buffers[buffer]
5400 if name in name_set:
5401 return buffer
5402 return None
5403
5404 # -----------------
5405 # main function

Callers 2

subset_fontsMethod · 0.85
subset_fontsFunction · 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…