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

Function append_this

src_classic/utils.py:4342–4345  ·  view source on GitHub ↗
(pos, text)

Source from the content-addressed store, hash-verified

4340 return font.char_lengths(x, fontsize=fontsize, small_caps=small_caps)
4341
4342 def append_this(pos, text):
4343 return writer.append(
4344 pos, text, font=font, fontsize=fontsize, small_caps=small_caps
4345 )
4346
4347 tolerance = fontsize * 0.2 # extra distance to left border
4348 space_len = textlen(" ")

Callers 4

output_justifyMethod · 0.85
fill_textboxMethod · 0.85
output_justifyFunction · 0.85
fill_textboxFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…